标题: Zend Loader 在windows 2003 server下无效?
wps2000
新手上路
Rank: 1



UID 34
精华 0
积分 0
帖子 73
翻译 0
原创 0
阅读权限 10
注册 2007-5-20
状态 离线
发表于 2007-8-25 11:25  资料  短消息  加为好友 
Zend Loader 在windows 2003 server下无效?

开始部署到服务器上测试了,不过居然出现:

exception 'Zend_Controller_Dispatcher_Exception' with message 'Cannot load controller class "IndexController" from file "IndexController.php" in directory "../Application/Default/Controllers"' in D:\Lib\Zend\Controller\Dispatcher\Standard.php:284 Stack trace: #0 D:\Lib\Zend\Controller\Dispatcher\Standard.php(207): Zend_Controller_Dispatcher_Standard->loadClass('IndexController') #1 D:\Lib\Zend\Controller\Front.php(911): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #2 D:\www\index.php(93): Zend_Controller_Front->dispatch() #3 {main}

而直接采用  require '../Application/Default/Controllers/IndexController.php' 则可以正确的加载文件,在我这里的Windows XP 上则运行一切良好





顶部
 


PHPEye开源社区


当前时区 GMT+8, 现在时间是 2009-1-9 06:23

    Powered by Discuz! 5.5.0  © 2001-2007 Comsenz Inc.
Processed in 0.018569 second(s), 6 queries , Gzip enabled

清除 Cookies - 联系我们 - PHPEye开源社区 - Archiver