nelu / rutorrent-filemanager

Shell file management plugin for ruTorrent webUI
Other
26 stars 11 forks source link

PHP Error #33

Closed TMTYD closed 5 months ago

TMTYD commented 2 years ago

Hi

i have a PHP Error

what´s the problem ?

PHP Fatal error:  Uncaught Error: Class 'FileUtil' not found in /var/www/ru/plugins/filemanager/src/Helper.php:109
\nStacktrace:\n#0 /var/www/ru/plugins/filemanager/init.php(11): Flm\\Helper::getConfig()\n#1 /var/www/ru/php/getplugins.php(495):
require_once('/var/www/ru/plu...')\n#2 {main}\n  thrown in /var/www/ru/plugins/filemanager/src/Helper.php on line 109 
TMTYD commented 2 years ago

here is the line 190-115

eval(FileUtil::getPluginConf('filemanager'));

            if (!isset($config))
            {
                require_once(dirname(__FILE__) . '/../conf.php');
Micdu70 commented 2 years ago

Hello,

It's mandatory to install the latest development version of ruTorrent ( via git clone https://github.com/Novik/ruTorrent.git rutorrent ) -OR- ruTorrent v4.0-beta.1 => https://github.com/Novik/ruTorrent/releases/tag/v4.0-beta.1

TMTYD commented 2 years ago

At the moment I'm using version 3.10, is it recommended to update to 4.0 beta to fix this error?

Micdu70 commented 2 years ago

Recommended and mandatory, yes. ;)

TMTYD commented 2 years ago

Ok thx

AntoineCardon commented 2 years ago

Got the same issue, Work for me with the same docker as you with this : https://github.com/artyuum/filemanager-install-script-for-rutorrent

nelu commented 5 months ago

That install script (https://github.com/artyuum/filemanager-install-script-for-rutorrent) uses the legacy version of filemanager (last updated 7 years ago) which is not supported anymore, for a while now. This repository is standalone for the currently supported filemanager plugin which works with the latest version of ruTorrent.

See https://github.com/nelu/rutorrent-dock/blob/5357bd94bfc026ff0a6645501487ac140d7a92fe/src/build/Dockerfile for guidelines on how to get a seedbox running on debian