-- Fouzia Usman <[EMAIL PROTECTED]> wrote (on Sunday, 26 November 2006, 04:55 PM -0800): > Hi, > My laptop crashed when I was working in the middle. After a while, when I > rebooted my lapop, I get errors on the controllers > which was working fine before. > > Fatal error: Uncaught exception 'Zend_Controller_Action_Exception' with > message > 'EntityController::adminAction() does not exist and was not trapped in __call > ().' in C:\ZF\trunk\library\Zend\Controller\Action.php > > My controller does have admin action, and all these were working fine before > my > laptop crashed. > > I dont know how to get rid of the error as I dont see anything wrong in my > code.
Two things going on here. First, there was an error in the Zend_Controller_Action shipped in the incubator of 0.2.0, where it referenced Zend_Controller_Action_Exception (which doesn't exist) instead of simply Zend_Controller_Exception (which does). As for your error, it looks like EntityController::adminAction() is being called, but doesn't exist, which is the root of the problem. Is this the case? If not, are you using the rewrite router, and, if so, can you forward on your routing rules? -- Matthew Weier O'Phinney PHP Developer | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
