php - 将 CAKE PHP 项目转移到新的 Hoisting ..getting this error Cake/Error/ExceptionRenderer.php
问题描述
我已将项目文件夹从一个提升复制到另一个,创建所需的数据库。Cake PHP 应用程序未运行。当调试打开时,它会给出以下错误。在早期的吊装中,它工作正常。请帮忙
Fatal error: Uncaught Error: Class 'Controller' not found in /home3/frenzo/public_html/frenzo/lib/Cake/Error/ExceptionRenderer.php:174
Stack trace:
#0 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ExceptionRenderer.php(92): ExceptionRenderer->_getController(Object(FatalErrorException))
#1 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ErrorHandler.php(126): ExceptionRenderer->__construct(Object(FatalErrorException))
#2 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ErrorHandler.php(284): ErrorHandler::handleException(Object(FatalErrorException))
#3 /home3/frenzo/public_html/frenzo/lib/Cake/Error/ErrorHandler.php(213): ErrorHandler::handleFatalError(64, 'Cannot use 'Obj...', '/home3/frenzo/p...', 30)
#4 /home3/frenzo/public_html/frenzo/lib/Cake/Core/App.php(970): ErrorHandler::handleError(64, 'Cannot use 'Obj...', '/home3/frenzo/p...', 30, Array)
#5 /home3/frenzo/public_html/frenzo/lib/Cake/Core/App.php(943): App::_checkFatalError()
#6 [internal function]: App::shutdown()
#7 {main}
thrown in /home3/frenzo/public_html/frenzo/lib/Cake/Error/ExceptionRenderer.php on line 174
解决方案
推荐阅读
- django - Mac 上的 Psycopg2 安装错误:命令“clang”失败,状态为 1
- ruby - 如何在不了解 ruby 的情况下修复 Fastlane (ruby) 文件
- node.js - 正则表达式在逗号前停止
- excel - Microsoft ACE OLEDB 12.0 是 Microsoft Excel 365 的正确连接字符串吗?
- javascript - 有没有办法在没有事件处理程序的情况下编写这个面包屑函数,以便我可以将它附加到我的 ng-click 事件
- node.js - NodeJS Fetch Return 总是返回 undefined
- javascript - 使用搜索类型制作搜索栏
- apollo - 如何从 SubscriptionClient 中提取 maxConnectTimeGenerator?
- c++ - 从模板参数到构造函数参数
- r - 更改 grid.arrange 文本中的字体类型