Cannot find file op5/log.php
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
Hi Michael, did you solve the issue and have completed the installation? thanks.
Not yet. It seems Ninja requires additional component regarding OP5 which is unavailable for free.
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
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.
@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
Same issue, did you find a solution ? I also have several mon command not found in the logs.