When I try to create module:
zf.sh cre开发者_C百科ate module user
It shows the following error:
Fatal error: Cannot redeclare class Zend_Loader in /var/www/myproject/library/Zend/Loader.php on line 31
How to avoid this error ?
Thanks
Found it. I commented out the following line in application.ini and everything is working..
;includePaths.library = APPLICATION_PATH "/../library"
Help Source:
- http://forums.zend.com/viewtopic.php?f=69&t=813
精彩评论