Ben Hesabı denilen bir denetleyici ve çıkış olarak adlandırılan bir eylem var. Bu oldukça basit:
<?php
class AccountController extends CustomControllerAction
{
public function logoutAction()
{
Zend_Auth::getInstance()->clearIdentity();
$this->_redirect('/account/login');
}
Ama nedense ben bir yakalanmamış özel durum alıyorum
Fatal error: Uncaught exception 'Zend_Controller_Dispatcher_Exception' with message 'Invalid controller specified (error)' in /Library/WebServer/Documents/phpweb20/include/Zend/Controller/Dispatcher/Standard.php:248 Stack trace: #0 /Library/WebServer/Documents/phpweb20/include/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #1 /Library/WebServer/Documents/phpweb20/htdocs/index.php(67): Zend_Controller_Front->dispatch() #2 {main} thrown in /Library/WebServer/Documents/phpweb20/include/Zend/Controller/Dispatcher/Standard.php on line 248
Ben başka bir eylem veya kontrolörleri ile bir sorunum yok. Benim LoginAction çalışıyor. Benim registerAction çalışıyor ....
Bu neden oluyor bilen var mı?
Jonesy