You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm just update my ruTorrent 3.x to the 4.3.4, I try to add logoff plugin and I have 2 issues in init.php :
line 2 : eval(getPluginConf("logoff"));
Error in Apache log : AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function getPluginConf() in <directory>/plugins/logoff/init.php:2\nStack trace:\n#0 <directory>/php/getplugins.php(521): require_once()\n#1 {main}\n thrown in <directory>/plugins/logoff/init.php on line 2',
I replaced it by eval(FileUtil::getPluginConf($plugin["name"]));
I'm not sure if name is the correct value ? but it work and $plugin["logoff"]) don't work
line 4 : $me = getUser();
Error in Apache log : AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function getUser() in <directory>/plugins/logoff/init.php:4\nStack trace:\n#0 <directory>/php/getplugins.php(521): require_once()\n#1 {main}\n thrown in <directory>/plugins/logoff/init.php on line 4'
I replaced by $me = $_SERVER['REMOTE_USER'];
It work well, and the logout popup show my login name !
Is it the best patch ?
Could you update the plugin ?
Thanks in advance
David
The text was updated successfully, but these errors were encountered:
DavidFirefox
changed the title
Bug after upgrade ruTorrent 4.3.4 probably > 4.x - RESOLVED - It is the best idea ?
Bug after upgrade ruTorrent 4.3.4 (probably > 4.x) - RESOLVED - It is the best idea ?
Jun 22, 2024
Hello,
Thanks for your work and plugin 🥇
(I not a programmer)
I have logoff 1.3
I'm just update my ruTorrent 3.x to the 4.3.4, I try to add logoff plugin and I have 2 issues in init.php :
line 2 :
eval(getPluginConf("logoff"));
Error in Apache log :
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function getPluginConf() in <directory>/plugins/logoff/init.php:2\nStack trace:\n#0 <directory>/php/getplugins.php(521): require_once()\n#1 {main}\n thrown in <directory>/plugins/logoff/init.php on line 2',
I replaced it by
eval(FileUtil::getPluginConf($plugin["name"]));
I'm not sure if name is the correct value ? but it work and $plugin["logoff"]) don't work
line 4 :
$me = getUser();
Error in Apache log :
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to undefined function getUser() in <directory>/plugins/logoff/init.php:4\nStack trace:\n#0 <directory>/php/getplugins.php(521): require_once()\n#1 {main}\n thrown in <directory>/plugins/logoff/init.php on line 4'
I replaced by
$me = $_SERVER['REMOTE_USER'];
It work well, and the logout popup show my login name !
Is it the best patch ?
Could you update the plugin ?
Thanks in advance
David
The text was updated successfully, but these errors were encountered: