monitor-ninja icon indicating copy to clipboard operation
monitor-ninja copied to clipboard

Cannot find file op5/log.php

Open geekmichael opened this issue 8 years ago • 6 comments

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

geekmichael avatar Jul 07 '17 06:07 geekmichael

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

tslowone avatar Jul 10 '17 14:07 tslowone

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

geekmichael avatar Jul 11 '17 00:07 geekmichael

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

tslowone avatar Jul 11 '17 01:07 tslowone

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 avatar Jul 11 '17 01:07 geekmichael

@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

geekmichael avatar Jul 11 '17 15:07 geekmichael

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

AnthonyLELUYER avatar Dec 03 '18 14:12 AnthonyLELUYER