My layout file starts thus: <?php echo $this->doctype() ?><html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script src="libajax/scriptaculous-js-1.8.1/prototype.js" type="text/javascript"></script> <script src="libajax/scriptaculous-js-1.8.1/scriptaculous.js" type="text/javascript"></script>
This is giving me a 'missing ; before statement' error in Firebug - on clicking the link there I get this strange error (ZF seems to think the libajax directory should be the name of an action!?): <br /> 2Fatal error: Uncaught exception 'Zend_Controller_Action_Exception' with message 'Action "libajax" does not exist and was not trapped in __call()' in C:\wampserver\www\library\Zend\Controller\Action.php:477 3Stack trace: 4#0 C:\wampserver\www\library\Zend\Controller\Action.php(504): Zend_Controller_Action->__call('libajaxAction', Array) 5#1 C:\wampserver\www\library\Zend\Controller\Dispatcher\Standard.php(293): Zend_Controller_Action->dispatch('libajaxAction') 6#2 C:\wampserver\www\library\Zend\Controller\Front.php(914): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) 7#3 C:\wampserver\www\life\index.php(58): Zend_Controller_Front->dispatch() 8#4 {main} 9 thrown in C:\wampserver\www\library\Zend\Controller\Action.php on line 477<br /> And the libs are not loaded. It's got me flumuxed - any ideas? I'm fully up to date with zf 1.5.3 and the latest prototype and scriptaculous. -- View this message in context: http://www.nabble.com/Weird-error-using-Prototype-for-Ajax-in-ZF---action-does-not-exist%21-tp18766753p18766753.html Sent from the Zend Framework mailing list archive at Nabble.com.