ZF-8588: Fatal error: Cannot redeclare class Zend_Loader in /path-to-zend/Loader.php on line 31
While following Rob Allen's "Getting Started with Zend Framework for version 1.9.0" tutorial, section "Setting up the Controller", he instructs the user to perform the following tasks:
zf create action add index zf create action edit index zf create action delete index
After inputting the first line, the CLI returns: Fatal error: Cannot redeclare class Zend_Loader in /path-to-zend/Loader.php on line 31
Scouring the online forums for dozens of hours, I finally stumbled upon this link http://forums.zend.com/viewtopic.php/…. Commenting out the include_path line in the DEFAULT applications.ini solved the problem.
The folks on IRC @ zftalk said that line should never be included in applications.ini. I suggest that Zend Tool be fixed so that it doesn't do that anymore.