Ah, okie that makes sence.  

-----Original Message-----
From: Matthew Weier O'Phinney [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, December 03, 2008 2:24 PM
To: fw-general@lists.zend.com
Subject: Re: [fw-general] Problems with View Helpers with update 1.5.1
to1.7.1

-- Terre Porter <[EMAIL PROTECTED]> wrote (on Wednesday, 03
December 2008, 02:12 PM -0500):
> Couple of things,
> 
> Would the \ in [/views\helpers/] cause problems in windows path?

No. PHP on Windows is smart enough to figure that out.

> C:/Program Files/Apache Software
> Foundation/Apache2.2/htdocs/mbm/app/modules/config/views\helpers/
> 
> Also, the error doesn't say it is using [library/Zend/View/Helper] as 
> an include path.

The paths printed are plugin paths, not the include_path. Any relative paths
on there will be searched on the include_path.


> -----Original Message-----
> From: kabel2 [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 03, 2008 1:57 PM
> To: fw-general@lists.zend.com
> Subject: Re: [fw-general] Problems with View Helpers with update 1.5.1 
> to
> 1.7.1
> 
> 
> 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:38
> >> 6
> > 
> > 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-&gt;load('Layout')
> >> #1 C:\Program Files\Apache Software
> >> Foundation\Apache2.2\htdocs\mbm\lib\Zend\View\Abstract.php(545):
> >> Zend_View_Abstract-&gt;_getPlugin('helper', 'layout')
> >> #2 C:\Program Files\Apache Software
> >> Foundation\Apache2.2\htdocs\mbm\lib\Zend\View\Abstract.php(312):
> >> Zend_View_Abstract-&gt;getHelper('layout')
> >> #3 [internal function]: Zend_View_Abstract-&gt;__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.
> 
> 

--
Matthew Weier O'Phinney
Software Architect       | [EMAIL PROTECTED]
Zend Framework           | http://framework.zend.com/

Reply via email to