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

Reply via email to