(on Tuesday, 09 September 2008, 04:19 PM -0700):
> I just upgraded from v1.5 to v1.6 and got following error:
>
> PHP Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception'
> with message 'Plugin by name _ was not found in the registry.'
>
> I have custom helper with name _ and directory structure like:
It was a fluke that this ever worked. '_' in class names maps to the
directory separator when doing class file resolution, even when using
plugin systems. Changes in 1.6.0 close the loophole that allowed this.
> public/
> index.php
> ...
> Core/
> ...
> /Views/
> Helpers/
> _.php
> ...
> ...
> applications/
> ...
>
> I am setting paths with:
> $this->view->setScriptPath('../Core/Views');
> $this->view->setHelperPath('../Core/Views/Helpers', 'myapp_Helper_');
>
> Does anyone knows what I am doing wrong?
--
Matthew Weier O'Phinney
Software Architect | matthew@zend.com
Zend Framework | http://framework.zend.com/
没有评论:
发表评论