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
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.

Reply via email to