ZF-8092: Fatal error:
Description
please i try run zend but show this error!!
Notice: Undefined index: es in /home/tejas2/public_html/w-e-b.cl/Zend/Translate/Adapter.php on line 398
Fatal error: Uncaught exception 'Zend_Controller_Response_Exception' with message 'Cannot send headers; headers already sent in /home/tejas2/public_html/w-e-b.cl/Zend/Translate/Adapter.php, line 398' in /home/tejas2/public_html/w-e-b.cl/Zend/Controller/Response/Abstract.php:281 Stack trace: #0 /home/tejas2/public_html/w-e-b.cl/Zend/Controller/Response/Abstract.php(299): Zend_Controller_Response_Abstract->canSendHeaders(true) #1 /home/tejas2/public_html/w-e-b.cl/Zend/Controller/Response/Abstract.php(727): Zend_Controller_Response_Abstract->sendHeaders() #2 /home/tejas2/public_html/w-e-b.cl/Zend/Controller/Front.php(980): Zend_Controller_Response_Abstract->sendResponse() #3 /home/tejas2/public_html/w-e-b.cl/index.php(39): Zend_Controller_Front->dispatch() #4 {main} thrown in /home/tejas2/public_html/w-e-b.cl/Zend/Controller/Response/Abstract.php on line 281
Comments
Posted by Thomas Weidner (thomas) on 2009-10-18T08:37:46.000+0000
Please note that Zend_Translate does not send output. There is no way how it could send headers.
Check your code.
Posted by Thomas Weidner (thomas) on 2009-10-18T08:38:36.000+0000
Additionally the exception is thrown by Zend_Controller and not by Zend_Translate.