Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.0.3
-
Fix Version/s: 1.5.2
-
Component/s: Zend_Loader
-
Labels:None
Description
When using something like
$this->view = new Zend_View();
$this->view->addHelperPath('application/views/helpers/', 'My_View_Helper');
Then whenever the autoloader looks for a Zend_View_Helper_* it will throw an E_WARNING
Warning: fopen(application/views/helpers/Url.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory
This happens because Zend_View_Abstract::_loadClass() goes over all helper paths, starting with the user defined ones, and for each calls Zend_Loader::isReadable(), which tries to open the non-existing helper in the user defined helper path
Please evaluate and assign as necessary.