-- Michael Depetrillo <[EMAIL PROTECTED]> wrote
(on Monday, 28 July 2008, 12:10 AM -0700):
> Here is the problem.
>
> http://www.domain.com/account_ad
>
> Calls the method index in class Account_AdController location within
> controllers/Account/AdController.php
>
> Any helpers used in the view file for this method try to render
> Account_View_Helper_BodyNav instead of Zend_View_Helper_BodyNav or whichever
> prefix I set using $view->setBasePath($path, $prefix).
I need details on your bootstrap -- how are you adding controller
directories, how are you setting up your view, what is your directory
layout. I cannot speculate on the issue or attempt to reproduce it until
I know these details.
> On Wed, Jul 23, 2008 at 8:48 PM, Matthew Weier O'Phinney <[EMAIL PROTECTED]>
> wrote:
>
> -- Endijs Lisovskis <[EMAIL PROTECTED]> wrote
> (on Wednesday, 23 July 2008, 03:25 PM -0700):
> >
> > If I just switch Zend Framework 1.5 library files to Zend Framework 1.6
> RC1
> > library files I receive error:
> >
> > Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception'
> with
> > message 'File LoggedInUser.php was loaded but class named
> > Rn_View_Helper_LoggedInUser was not found within it.' in
> > [full_path_removed]/library/Zend/Loader/PluginLoader.php:351 Stack
> trace:
> #0
> > [full_path_removed]/library/Zend/View/Abstract.php(1114):
> > Zend_Loader_PluginLoader->load('LoggedInUser') #1
> > [full_path_removed]/library/Zend/View/Abstract.php(545):
> > Zend_View_Abstract->_getPlugin('helper', 'loggedInUser') #2
> > [full_path_removed]/library/Zend/View/Abstract.php(312):
> > Zend_View_Abstract->getHelper('loggedInUser') #3 [internal function]:
> > Zend_View_Abstract->__call('loggedInUser', Array) #4
> > [full_path_removed]/application/views/layouts/index.phtml(33):
> > Zend_View->loggedInUser() #5 [full_path_removed]/library/Zend/V in
> > [full_path_removed]/library/Zend/Loader/PluginLoader.php on line 351
> >
> > If I use ZF 1.5 everything is OK.
> >
> > Any ideas?
>
> First off, in 1.6, we refactored the code in Zend_View to utilize the
> PluginLoader -- no reason to have code duplication. :)
>
> Most likely, what's happening is that you've got an invalid helper
> prefix registered; why it was not throwing an error before is the new
> question.
>
> Several qustions:
>
> * How are you setting up your views?
> * How are you adding the Rn_View_Helper prefix to the view object?
> * Is 'Rn' a module? or a private library namespace?
> * Can you confirm that the file LoggedInuser.php exists on the helper
> path? If so, what class is in it?
>
> Answer those questions, and I may have a better idea of how to fix the
> issue.
>
> --
> Matthew Weier O'Phinney
> Software Architect | [EMAIL PROTECTED]
> Zend Framework | http://framework.zend.com/
>
>
--
Matthew Weier O'Phinney
Software Architect | [EMAIL PROTECTED]
Zend Framework | http://framework.zend.com/