Ok to elobarate on this it seems I get this error when:

I forward from one module to anothers underconstruction page:

        // Currently simply forwarding to the Under Constuction page.
        $this->_forward('index', 'construction', 'page');

gives me:

Zend_Controller_Dispatcher_Exception: Invalid controller specified (construction) in D:\AWebEnvironment\ZendFramework-1.0.0RC1\library\Zend\Controller\Dispatcher\Standard.php on line 189

whereas

        // Currently simply forwarding to the Under Constuction page.
        $this->_forward('index', 'construction');

would work if and only if the user called page and the under construction page were in the same module.

Hope this make sense

Cheers

Ian

Matthew Weier O'Phinney wrote:
-- 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.

Reply via email to