Common Zend Framework Errors
Fatal error: Cannot redeclare class Zend_Loader in /path-to-zend/Loader.php on line
goto your application.ini file , just remove this line
includePaths.library = APPLICATION_PATH "/../library"
Why i did so:
Because ,if you are generating Project using Zend tool , then zen_tool autometically add this line to the ini file ,but it should not be there.Hope it will be solved in future release of ZF.
Fatal error: Uncaught exception ‘Zend_Application_Bootstrap_Exception’ with message ‘Resource matching “view” not found’ in C:xamppphpPEARZendApplicationBootstrapBootstrapAbstract.php:
Add a line as resources.view = “” into the application.ini file.
Generally this error occur when you are handling view from your bootstrap.php page
What it does ,it just make the view as blank and empty and expecting array of view objects as key.
<link rel=”stylesheet” href=”<?php echo $this->baseUrl(); ?>/css/style.css” type=”text/css” media=”screen” />