Cakephp: CakePHP ErrorHandler error

Created on 15 Feb 2016  路  2Comments  路  Source: cakephp/cakephp

I changue the cakePhp aplication to other server, and when I open the aplication in a browser set me a 500 error.

This in the log file

[Sun Feb 14 13:21:03.163058 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(/var/www/html/orangescrum/lib/Cake/Error/ErrorHandler.php): failed to open stream: No such file or directory in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.163643 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(): Failed opening '/var/www/html/orangescrum/lib/Cake/Error/ErrorHandler.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.164255 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  set_error_handler() expects the argument (ErrorHandler::handleError) to be a valid callback in /var/www/html/scrum/lib/Cake/Core/Configure.php on line 441
[Sun Feb 14 13:21:03.165066 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(/var/www/html/orangescrum/lib/Cake/Error/ErrorHandler.php): failed to open stream: No such file or directory in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.165575 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(): Failed opening '/var/www/html/orangescrum/lib/Cake/Error/ErrorHandler.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.168452 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  set_exception_handler() expects the argument (ErrorHandler::handleException) to be a valid callback in /var/www/html/scrum/lib/Cake/Core/Configure.php on line 444
[Sun Feb 14 13:21:03.169506 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(/var/www/html/orangescrum/lib/Cake/Log/CakeLog.php): failed to open stream: No such file or directory in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.169994 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(): Failed opening '/var/www/html/orangescrum/lib/Cake/Log/CakeLog.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.170466 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Fatal error:  Class 'CakeLog' not found in /var/www/html/scrum/app/Config/bootstrap.php on line 184
[Sun Feb 14 13:21:03.171738 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(/var/www/html/orangescrum/lib/Cake/Error/ErrorHandler.php): failed to open stream: No such file or directory in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.172466 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Warning:  include(): Failed opening '/var/www/html/orangescrum/lib/Cake/Error/ErrorHandler.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/scrum/lib/Cake/Core/App.php on line 545
[Sun Feb 14 13:21:03.172844 2016] [:error] [pid 29544] [client 201.242.221.40:28717] PHP Fatal error:  Class 'ErrorHandler' not found in /var/www/html/scrum/lib/Cake/Core/App.php on line 916
The actual folder is scrum, and the aplication call a libraries in a folder orangescrum.

Any idea where I can change the name of folder?

Thanks.

support

Most helpful comment

My guess is you need to clear the files in APP/tmp/*.

All 2 comments

My guess is you need to clear the files in APP/tmp/*.

This is not a help forum. The ticket tracker is reserved for possible
bugs and feature enhancements to the CakePHP framework. If you are
looking for help on how to implement a feature or to better understand
how to use the framework correctly, please visit one of the following:

The CakePHP Manual
The CakePHP online API
Stackoverflow

or the #cakephp channel on irc.freenode.net, where we will be more than
happy to help answer your questions.

Thanks!

Was this page helpful?
0 / 5 - 0 ratings