我試圖在互聯網上放置一個ZF網站,該網站在我的本地計算機(WAMP)上運行良好。Zend Framework:服務器上發生致命錯誤
但是在Linux服務器上,只有主頁面才能正常顯示。對於其他頁面,我有一個致命錯誤:
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in /var/www/staging/library/Zend/Controller/Dispatcher/Standard.php:248 Stack trace: #0 /var/www/staging/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 /var/www/staging/library/Zend/Application/Bootstrap/Bootstrap.php(97): Zend_Controller_Front->dispatch() #2 /var/www/staging/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run() #3 /var/www/staging/public/index.php(26): Zend_Application->run() #4 {main} Next exception 'Zend_Controller_Exception' with message 'Invalid controller specified (error)#0 /var/www/staging/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Contr in /var/www/staging/library/Zend/Controller/Plugin/Broker.php on line 336.
我激活了URL重寫。我正在使用模塊。 index.php和application.ini是非常基本的,我們沒有定製它。
我想配置有問題......謝謝。
你可以粘貼沒有'library /'目錄的'tree [path/to/src]'(linux命令)的結果嗎? – Florent 2012-08-06 14:34:26