ITRS-Group / monitor-ninja

Ninja is Now Just Awesome - a modern web GUI for Naemon
Other
32 stars 16 forks source link

Cannot find file op5/log.php #7

Open geekmichael opened 7 years ago

geekmichael commented 7 years ago

Hi, After 'make && make install', I copied ninja folder to /var/www/html by following the READ.ME file. I got HTTP500 error. In the httpd error_log:

PHP Warning: require_once(op5/log.php): failed to open stream: No such file or directory in /var/www/html/ninja/system/core/Event.php on line 3

PHP Fatal error: require_once(): Failed opening required 'op5/log.php' (include_path='.:/usr/share/pear:/usr/share/php') in /var/www/html/ninja/system/core/Event.php on line 3

tslowone commented 7 years ago

Hi Michael, did you solve the issue and have completed the installation? thanks.

geekmichael commented 7 years ago

Not yet. It seems Ninja requires additional component regarding OP5 which is unavailable for free.

tslowone commented 7 years ago

I moved "ninja-2017.j.1/src/op5/*" to the direction per the error logs. have solved two errors, but after that the third came, I don't how to solve it. PHP Fatal error: Cannot redeclare class ConfigException in /usr/share/thruk/ninja/application/hooks/op5/config.php on line 13

geekmichael commented 7 years ago

That's a good workaround, thanks for sharing. Regarding the error you mentioned, perhaps to disable declare the class ConfigException in config.php will help. I will try.

geekmichael commented 7 years ago

@tom-github-com

cp -a src/op5/ /usr/share/php/

It will fix this issue, yet causes another problem while access the webpage http://localhost/ninja, you will see:

system/core/Kohana.php [288]: Undefined variable: controller

AnthonyLELUYER commented 5 years ago

Same issue, did you find a solution ? I also have several mon command not found in the logs.