Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find file op5/log.php #7

Open
geekmichael opened this issue Jul 7, 2017 · 6 comments
Open

Cannot find file op5/log.php #7

geekmichael opened this issue Jul 7, 2017 · 6 comments

Comments

@geekmichael
Copy link

geekmichael commented Jul 7, 2017

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 geekmichael changed the title Cannot find file ninja/system/core/Event.php Problem with ninja/system/core/Event.php Jul 7, 2017
@geekmichael geekmichael changed the title Problem with ninja/system/core/Event.php Cannot find file op5/log.php Jul 7, 2017
@tom-github-com
Copy link

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

@geekmichael
Copy link
Author

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

@tom-github-com
Copy link

tom-github-com commented Jul 11, 2017

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
Copy link
Author

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
Copy link
Author

geekmichael commented Jul 11, 2017

@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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants