Hi,

I have the following code to redirect from a class extending
Zend_Controller_Plugin_Abstract 
in the routeStartup(Zend_Controller_Request_Abstract $request) method :

$redirector =
Zend_Controller_Action_HelperBroker::getStaticHelper('redirector');
return $redirector->gotoSimple('index', 'search', 'agenda', array('term' =>
$parts[0]));

I get the following error:
Fatal error: Uncaught exception 'Zend_Controller_Router_Exception' with
message 'Route default is not defined' in
C:\Data\websites\dokagenda\library\Zend\Controller\Router\Rewrite.php on
line 318

I didn't define any custom route.

Anyone has an idea ? 
Thank you for any help
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Zend-Controller-Router-Exception-with-message-Route-default-is-not-defined-tp3021199p3021199.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to