Page 1 of 1

Webauction intro screen

PostPosted: Tue Oct 23, 2007 10:15 am
by Anthony Barber
Hello Steve,
Firstly, may I thank you for your email. I was unable to log in still so I have created a new user name. I was TonyB.

OK. I have made progress. I now see the intro screen with graphic and text.
However, it has a header containing the following three warnings and as far as I can see I have done nothing to have caused them.

Warning: Cannot modify header information - headers already sent by
(output started at C:\xampp\htdocs\webauction-0.2\config.inc.php:19) in
C:\xampp\htdocs\dataface-0.7.1\Dataface\Application.php on line 431

Warning: session_start() [function.session-start]: Cannot send session cookie -
headers already sent by (output started at C:\xampp\htdocs\webauction-0.2\config.inc.php:19)
in C:\xampp\htdocs\dataface-0.7.1\Dataface\Application.php on line 559

Warning: session_start() [function.session-start]: Cannot send session cache limiter -
headers already sent (output started at C:\xampp\htdocs\webauction-0.2\config.inc.php:19)
in C:\xampp\htdocs\dataface-0.7.1\Dataface\Application.php on line 559


What do you think?

Best regards,
Tony

PostPosted: Tue Oct 23, 2007 4:03 pm
by shannah
These errors are basically saying that something has been output from the script before the headers were sent. What you should be looking for is what that is.

Check the HTML source of the output to see if anything is written before the first warning.

If you cannot find the problem, one way to solve this problem is to add the following to the beginning of your index.php file:
Code: Select all
ob_start();


-Steve

That worked fine!

PostPosted: Wed Oct 24, 2007 11:04 am
by Anthony Barber
Hi Steve,
I did what you said and addes ob_start(); to the beginning of my index.php File and that did just what you said. However, as I was unable to find out why I was getting the error as I couldn't see anything, I started again from scratch.
I didn't want to have problems later because I had some duff code hiding somewhere.
I now have the next problem and will start a new thread.
Thanks again,
Tony