I read and download from Zend Framework integration with PHPTAL:
http://taat.pl/article/zend_framework_tutorial/step2/ . I added
NewsController.php file with NewsController class, then folder news in
views/templates with index.tpl.html, and when I typed
framework.estender.net/news, there was:


*Fatal error*: Uncaught exception 'Zend_Controller_Response_Exception' with
message 'Cannot send headers; headers already sent in /home/szymon/domains/
estender.net/public_html/framework/application/modules/default/controllers/NewsController.php,
line 1' in /home/szymon/domains/
estender.net/public_html/framework/library/Zend/Controller/Response/Abstract.php:281Stack
trace: #0 /home/szymon/domains/
estender.net/public_html/framework/library/Zend/Controller/Response/Abstract.php(114):
Zend_Controller_Response_Abstract->canSendHeaders(true) #1
/home/szymon/domains/
estender.net/public_html/framework/application/Bootstrap.php(115):
Zend_Controller_Response_Abstract->setHeader('Content-Type', 'text/html;
char...') #2 /home/szymon/domains/
estender.net/public_html/framework/application/Bootstrap.php(39):
Bootstrap::sendResponse(Object(Zend_Controller_Response_Http)) #3
/home/szymon/domains/estender.net/public_html/framework/www/index.php(4):
Bootstrap::run() #4 {main} thrown in */home/szymon/domains/
estender.net/public_html/framework/library/Zend/Controller/Response/Abstract.php
* on line *281
*
Where I did a mistake?


cheers!
szymek
_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to