Hm, I wasn't looking careful enough your code. As I said in my first answer,
index.php is not meant for any output.
Thus, the code from index.php
- require('modules/header.php');
- require('modules/menu.php');
should go to the same place where you have put
<title>Eshop</title> ...
It doesn't matter if you output directly in the index.php or in its include
files, there is no output before Zend_Session starts. And that is in the
$bootstrap()->run().
That is the point where all the bootstrap process has finished.
Output should happen only in your view script (.phtml).
--
View this message in context:
http://n4.nabble.com/Trying-to-add-some-data-to-database-from-a-form-tp1599560p1599809.html
Sent from the Zend Framework mailing list archive at Nabble.com.