Cakephp 2.1.1應用程序正在創建大量內部服務器錯誤。每當我重新啓動apache時,它會再次開始工作,但稍後會停止工作。Cakephp 2.1.1發生內部服務器錯誤經常發生
下面是我所得到的錯誤日誌。
2012-04-13 13:13:52 Error: [MissingControllerException] Controller class GController could not be found.
#0 /home/commstrat2_web/html/roadconference/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
任何人都可以找出原因嗎?
更新:下面是從網站的錯誤,這是非常相似的,並已通過,但不同的錯誤,從日誌
2012-04-13 12:57:27 Error: [MissingControllerException] Controller class AssetsController could not be found.
#0 /home/commstrat2_web/html/nbnsummit/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
2012-04-13 12:57:27 Error: [MissingControllerException] Controller class ImagesController could not be found.
#0 /home/commstrat2_web/html/nbnsummit/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#1 {main}
*該控制器是否應該存在?你只是在日誌中看到這些錯誤,或者在導航到URL時第一手? – deceze 2012-04-13 03:24:04
Hey Deceze!很高興再次交談。此錯誤來自日誌。還有另外兩個來自同一臺服務器上的另一個Cake站點的錯誤,它們的設置非常相似,因爲我經常複製它們。該網站使用烘焙工具 – 2012-04-13 03:44:51
構建。然後,它可能只是有人試圖訪問不存在的URL,可能是一個搜索引擎。 – deceze 2012-04-13 03:45:40