-- Ian Warner <[EMAIL PROTECTED]> wrote
(on Wednesday, 30 May 2007, 01:59 PM +0100):
> I get the following error since the upgrade to version 1
> 
> Zend_Controller_Action_Exception: ViewRenderer cannot locate module 
> directory in 
> D:\AWebEnvironment\ZendFramework-1.0.0RC1\library\Zend\Controller\Action\Helper\ViewRenderer.php
>  
> on line 649In the

This is likely being called by initView(), which is being called from
init(), which is being called by your controller's constructor. The only
way to disable the ViewRenderer early in such a situation is to disable
it from the bootstrap by using something like
$front->setParam('noViewRenderer', true) or, as you tried, removing the
helper from the helper broker. But that would mean it's disabled
throughout the system.

The error message indicates that, when trying to automatically determine
the base view path, the ViewRenderer was unable to find the module
directory. This can basically only happen if no controller directory
matching the current module is found, or if you have overridden the
default module name in the dispatcher to be an empty string.

Could you send your bootstrap? I'd like to see how you're populating the
controller directory to see if I can recreate the issue.

-- 
Matthew Weier O'Phinney
PHP Developer            | [EMAIL PROTECTED]
Zend - The PHP Company   | http://www.zend.com/

Reply via email to