xwmario / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

Create plugin won't "load" #788

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. install rutorrent
2. install plugins
3. all plugins except Create work fine

What is the expected output? What do you see instead?

I have multiple servers, all setup with the same script and template files, 
with only usernames changed.  This server technically has slightly newer 
versions of programs as it was installed most recently.  Create works fine on 
other servers, and other plugins work fine on this one.  Under the plugins tab, 
Create is listed as "not loaded" and "enabled".  Logger shows no errors.  
Permissions are set properly on all related directories (which is the most 
common error when plugins don't work).  User is confirmed to be able to access 
createtorrent from shell.  Lighttpd error.log shows nothing relevant.

What environment are you using?
1. My ruTorrent version is... 3.4
2. My rTorrent version is... rTorrent 0.8.9/0.12.9
3. I use web-server... lighttpd it version is... lighttpd/1.4.31 on OS... Gentoo
4. I use browser... chrome/opera/firefox it version is... Canary/Next/Nightly 
on OS... Windows 8 x64

Are some errors present in the web-server log?
2012-12-02 19:02:35: (mod_fastcgi.c.2676) FastCGI-stderr: PHP Notice:  Use of 
undefined constant mktorrent - assumed 'mktorrent' in  
var/www/rutorrent/plugins/create/conf.php on line 6
PHP Notice:  Use of undefined constant mktorrent - assumed 'mktorrent' in 
/var/www/rutorrent/plugins/create/conf.php on line 6

-- same error is present in working servers

Are some errors present in the browser error console?
no

Please provide any additional information below.

Please advise if additional information is needed.  Root access can be provided 
if it is helpful (server is non-mission critical and contains no sensitive 
data).

Original issue reported on code.google.com by EricShan...@gmail.com on 2 Dec 2012 at 6:34

GoogleCodeExporter commented 8 years ago
Forgot to mention, have restarted rtorrent/lighttpd and rebooted.  Also, when 
right clicking on the plugin in the plugin tab, the option to Unload appears 
but is greyed out.  There is no option to Load.

Original comment by EricShan...@gmail.com on 2 Dec 2012 at 6:36

GoogleCodeExporter commented 8 years ago
>PHP Notice:  Use of undefined constant mktorrent - assumed 'mktorrent' in  
var/www/rutorrent/plugins/create/conf.php on line 6

Set variable $useExternal in the create/conf.php by the normal way. With a 
quotas.

Original comment by novik65 on 3 Dec 2012 at 8:28

GoogleCodeExporter commented 8 years ago
fixed.

i'm confused as to how it works with the exact same config file on 4 other 
servers -- in fact, I simply copy the plugin directory (in fact all of 
rtorrent, then rename the user folder) from one server to another, so it's the 
exact same config, the exact same error in lighttpd's error.log, and doesn't 
have a problem.

but either way, it's fixed so set to resolved.

much thanks!

Original comment by EricShan...@gmail.com on 3 Dec 2012 at 8:46

GoogleCodeExporter commented 8 years ago

Original comment by novik65 on 3 Dec 2012 at 9:44