Confirmed: There is only one instance of ZF referenced in include_path and Layout.php does exist in library/Zend/View/Helper.
Has anyone else experienced issues with the PluginLoader? Was there a drastic change from 1.5.1 to it that would cause this error? Matthew Weier O'Phinney-3 wrote: > > -- kabel2 <[EMAIL PROTECTED]> wrote > (on Tuesday, 02 December 2008, 11:06 PM -0800): >> >> I had a stable application put together using a layout and view setup in >> Zend Framework 1.5.1. I noticed some improvements to the a particular >> view >> helper in ZF 1.7.1, so I thought I would be a simple transition just to >> update the library directory with the new Zend. With the updated version >> of >> ZF I now get the following exception: >> >> Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' >> with >> message 'Plugin by name 'Layout' was not found in the registry; used >> paths: >> Config_View_Helper_: C:/Program Files/Apache Software >> Foundation/Apache2.2/htdocs/mbm/app/modules/config/views\helpers/ >> Zend_View_Helper_: Zend/View/Helper/' in C:\Program Files\Apache Software >> Foundation\Apache2.2\htdocs\mbm\lib\Zend\Loader\PluginLoader.php:386 > > Can you double-check and make sure that you don't (a) have two ZF > installs on your include_path, and (b) that Layout.php exists in > library/Zend/View/Helper ? > >> Stack trace: >> #0 C:\Program Files\Apache Software >> Foundation\Apache2.2\htdocs\mbm\lib\Zend\View\Abstract.php(1067): >> Zend_Loader_PluginLoader->load('Layout') >> #1 C:\Program Files\Apache Software >> Foundation\Apache2.2\htdocs\mbm\lib\Zend\View\Abstract.php(545): >> Zend_View_Abstract->_getPlugin('helper', 'layout') >> #2 C:\Program Files\Apache Software >> Foundation\Apache2.2\htdocs\mbm\lib\Zend\View\Abstract.php(312): >> Zend_View_Abstract->getHelper('layout') >> #3 [internal function]: Zend_View_Abstract->__call('layout', Array) >> #4 C:\Program Files\Apache Software >> Foundation\Apache2.2\htdocs\mbm\skin\layouts\fixed.phtml(44): Zend_View >> in >> C:\Program Files\Apache Software >> Foundation\Apache2.2\htdocs\mbm\lib\Zend\Loader\PluginLoader.php on line >> 386<br /> >> >> I have no idea why I'm getting this error, as the Layout helper does >> exist >> and, yes, it is in my include path. >> >> The call that is causing this error starts in my default layout file: >> echo $this->layout()->content >> That was taken right from the documentation wiki, so I'm lost. >> >> Please help! >> -- >> View this message in context: >> http://www.nabble.com/Problems-with-View-Helpers-with-update-1.5.1-to-1.7.1-tp20807841p20807841.html >> Sent from the Zend Framework mailing list archive at Nabble.com. >> > > -- > Matthew Weier O'Phinney > Software Architect | [EMAIL PROTECTED] > Zend Framework | http://framework.zend.com/ > > -- View this message in context: http://www.nabble.com/Problems-with-View-Helpers-with-update-1.5.1-to-1.7.1-tp20807841p20819279.html Sent from the Zend Framework mailing list archive at Nabble.com.