要访问Cake中的一些新缓存功能,我一直在尝试从2.2升级到2.3。按照建议,我用升级后的平台替换了lib / Cake文件夹。然而,它引发了一堆关于无法找到的核心控制器的错误。
2012-12-19 19:55:11 Error: [MissingControllerException] Controller class ThemeController could not be found.
例如:
#0 /Users/work/Dropbox/Websites/cake-cart/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
2012-12-19 19:55:11 Error: [MissingControllerException] Controller class ThemeController could not be found.
#0 /Users/work/Dropbox/Websites/cake-cart/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
2012-12-19 19:55:11 Error: [MissingControllerException] Controller class JsController could not be found.
#0 /Users/work/Dropbox/Websites/cake-cart/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
2012-12-19 19:55:12 Error: [MissingControllerException] Controller class CssController could not be found.
#0 /Users/work/Dropbox/Websites/cake-cart/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
2012-12-19 19:55:12 Error: [MissingControllerException] Controller class ImgController could not be found.
#0 /Users/work/Dropbox/Websites/cake-cart/app/webroot/index.php(92): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
我无法弄清楚这一点。这就是错误日志中的所有内容。谷歌和/或堆栈搜索显示没有其他人有这个问题。我知道它应该是直截了当的,没有API问题。
有人说明我可以从哪里开始解决这个问题吗?
提前致谢....
答案 0 :(得分:1)
没关系....对于任何体验过这种情况的人,请先查看你的蛋糕版本。我以为我是2.2因为我想我从2.1成功升级,但它不是2.1仍然,所以我不得不经历从2.1到2.2的迁移步骤然后2.3工作完美(关闭浏览器后 - 即使缓存已关闭,我想在浏览器中缓存某些内容)