Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/260.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
CakePHP错误处理程序错误_Php_Cakephp - Fatal编程技术网

CakePHP错误处理程序错误

CakePHP错误处理程序错误,php,cakephp,Php,Cakephp,我将cakePhp应用程序更改为其他服务器,当我在浏览器中打开该应用程序时,设置为500错误 这将在日志文件中显示 [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

我将cakePhp应用程序更改为其他服务器,当我在浏览器中打开该应用程序时,设置为500错误

这将在日志文件中显示

[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
实际的文件夹是scrum,应用程序调用orangescrum文件夹中的库

知道我可以在哪里更改文件夹的名称吗


谢谢。

您可以在/var/www/html/scrum/lib/Cake/Core/App.php中找到该文件

消息告诉我们,文件丢失了



未能打开流:第545行的/var/www/html/scrum/lib/Cake/Core/App.php中没有这样的文件或目录

检查
Cake\u Core\u INCLUDE\u PATH
常量,在
App/webroot/index.php
(和
test.php
)文件中,烘焙时可能会被硬编码的特定于环境的路径覆盖


您是否也更改了登录名和密码以连接到数据库?如果不更改,则会解决问题