So, anything on this ?

agatone wrote:
> 
> I have same problem and I'll try to explain it a bit more
> 
> Exception: File ActionUri.php was loaded but class named
> Admin_View_Helper_ActionUri was not found within it.
> 
> I setup my view in controller plugin in dispatchLoopStartup() and I add
> Helper path and prefix of my class -
> $viewRenderer->view->addHelperPath('../application/views/helpers',
> 'Dhi_View_Helper');
> 
> However when I use it in any module it will load right file but it will
> try to look for class prefix : $moduleName . 'View_Helper". So in a way
> all my "global" view helpers are useless in modules , unless I extend each
> of them with module named class form (like Admin_View_Helper_ActionUri).
> 
> I was checking what classes did zf loader look for and there were three
> class names. One was default ZF naming, second was the one I added with
> addHelperPath() and the thrid was this MODULE based. It starts looking
> first for module named class and since it loaded right file but could find
> the class it stopped there.
> 
> Hope this helps.
> 
> 
> 
> 
> 
> Matthew Weier O'Phinney-3 wrote:
>> 
>> -- Endijs Lisovskis <[EMAIL PROTECTED]> wrote
>> (on Wednesday, 23 July 2008, 03:25 PM -0700):
>> 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/
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Error-in-Zend-Framework-1.6-RC1---tp18621418p18684720.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to