
2008-3-25 19:19
zwei19850504
配置zf时出现Fatal error
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in D:\AppServ\www\zf-test\library\Zend\Controller\Dispatcher\Standard.php:249 Stack trace: #0 D:\AppServ\www\zf-test\library\Zend\Controller\Front.php(914): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 D:\AppServ\www\zf-test\index.php(29): Zend_Controller_Front->dispatch() #2 {main} thrown in D:\AppServ\www\zf-test\library\Zend\Controller\Dispatcher\Standard.php on line 249
哪位高手帮帮小弟,非常感谢
[[i] 本帖最后由 zwei19850504 于 2008-3-25 20:48 编辑 [/i]]
2008-3-25 20:48
zwei19850504
自己先顶一个
2008-3-26 16:03
Freebear
建立默认的ErrorController->errorAction,并且在views/script下建立error目录和下面的error.php文件。
当然你也可以在入口文件中去掉默认错误提示方法:
$front->setParam('noErrorHandler', true);
2008-3-30 13:18
zwei19850504
谢谢楼上的好心人,问题我已经解决了,在php.ini中加入
extension=php_pdo.dll
extension=php_pdo_mysql.dll
页:
[1]
Powered by Discuz! Archiver 5.5.0
© 2001-2006 Comsenz Inc.