If there's a module called "login" then you shouldn't be forwarding to a
module called "default". Usually the error controller is called
automatically when a request can't be routed, which is often caused by, for
example, a mis-routed module reference.

You should check the manual about adding an ErrorController...

Best regards,
Paddy


Juan Felipe Alavarez Saldarriaga wrote:
> 
> Hey :).
> 
> I'm doing this: $this->_forward( "index", "index", "default" ); into
> another module named "login", but I got an exception when I try to forward
> to the "default" module:
> 
> Fatal error:  Uncaught exception 'Zend_Controller_Dispatcher_Exception'
> with message 'Invalid controller specified (error)' in
> /usr/local/lib/zfw/ZendFramework-1.0.3/library/Zend/Controller/Dispatcher/Standard.php:198
> Stack trace:
> #0
> /usr/local/lib/zfw/ZendFramework-1.0.3/library/Zend/Controller/Front.php(929):
> Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
> Object(Zend_Controller_Response_Http))
> #1 /var/www/html/index.php(49): Zend_Controller_Front->dispatch()
> #2 {main}
>   thrown in
> /usr/local/lib/zfw/ZendFramework-1.0.3/library/Zend/Controller/Dispatcher/Standard.php
> on line 198
> 
> Why I'cant forward ?
> 
> Thx for any help.
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Exception-using-_forward%28%29-method-tp14924861s16154p14953526.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to