我试图在互联网上放置一个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