On Mar 19, 2010, at 14:56, stelios wrote:
> ok i figured out the problem with your help, thanks for giving me to
> understand how it works. i moved my .php files here
> application\custom\modules and my images at application\custom\art so i have
> to change the image links in my php files can
I think you should study in more depth the framework. It is very a powerful
framework, and "unfortunately" very, very flexible framework and therefore
not so easy to start from scratch.
I think the best way would be to install and get the working demo app from
http://framework.zend.com/manual/e
ok i figured out the problem with your help, thanks for giving me to
understand how it works. i moved my .php files here
application\custom\modules and my images at application\custom\art so i have
to change the image links in my php files can you help me ? first it is
wrong to put my php code
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
Eshop ...
It doesn't matter if y
1- Well, check your modules\header.php, line 3, as the message states.
Someone is outputting on line 3 or before. Maybe an include file.
2- Check that there are no spaces/anything before "" in php files. Spaces after can/will cause
outputting.
4- Check if any file has UTF BOM chars at the beginn
- Well, check your modules\header.php, line 3, as the message states. Someone
is outputting on line 3 or before. Maybe an include file.
- Check that there are no spaces/anything before "" in php files. Spaces after can/will cause
outputting.
- Check if any file has UTF BOM chars at the beginning
ok thanks, i managed to figure it out a while after i first posted and i
corrected. but now i have another issue...
Fatal error: Uncaught exception 'Zend_Controller_Response_Exception' with
message 'Cannot send headers; headers already sent in
C:\xampp\htdocs\eshop\public\modules\header.php, line
In ZF, index.php is not meant for outputting any characters and definitely
not the HTML code. It is the entry point to you app. It makes first
initializations, like include_path.
The HTML code (Eshop ... ) should go into your process.phtml
(or in your .phtml layout script, if you're using it, e.g