Fatal error: Cannot redeclare class Zend_Loader in C:\xampp\htdocs\shoppingCart\
library\Zend\Loader.php on line 31
zf create action add Index
When i try to create an Action in my Controller开发者_如何学编程, I get this error. When I commented out my
;includePaths.library = APPLICATION_PATH "/../library"
in my application.ini I get this error now.
Fatal error: Call to a member function search() on a non-object in C:\xampp\php\
PEAR\Zend\Tool\Project\Provider\Action.php on line 92
Remove or comment on this line from application.ini
includePaths.library = APPLICATION_PATH "/../library"
and then
zf create action add
Note: I have removed the Index Controller, the action would created in Index Controller.
精彩评论