Webauction intro screen

A place to discuss and receive support for the Web Auction application.

Webauction intro screen

Postby Anthony Barber » Tue Oct 23, 2007 10:15 am

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
Anthony Barber
 
Posts: 29
Joined: Tue Oct 23, 2007 9:58 am

Postby shannah » Tue Oct 23, 2007 4:03 pm

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
shannah
 
Posts: 4457
Joined: Wed Dec 31, 1969 5:00 pm

That worked fine!

Postby Anthony Barber » Wed Oct 24, 2007 11:04 am

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
Anthony Barber
 
Posts: 29
Joined: Tue Oct 23, 2007 9:58 am


Return to Web Auction Discussion

Who is online

Users browsing this forum: No registered users and 12 guests

Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved