Bug Tracker

User-to-User support and questions to the Developers and DM team.
Locked
User avatar
trent
Newbie Helper
Posts: 285
Joined: Wed Jun 16, 2004 3:15 pm
Location: Canada :(

Bug Tracker

Post by trent »

I can never get this thing to work right ..... what does this mean anyway?

Bug Report

Warning: Cannot modify header information - headers already sent by (output started at /home/nsrea71/public_html/bugs/core/html_api.php:139) in /home/nsrea71/public_html/bugs/core/gpc_api.php on line 220

Warning: Cannot modify header information - headers already sent by (output started at /home/nsrea71/public_html/bugs/core/html_api.php:139) in /home/nsrea71/public_html/bugs/core/print_api.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/nsrea71/public_html/bugs/core/html_api.php:139) in /home/nsrea71/public_html/bugs/core/print_api.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/nsrea71/public_html/bugs/core/html_api.php:139) in /home/nsrea71/public_html/bugs/core/print_api.php on line 44

I have tried it a number of times and made a few accounts .

VagaStorm
Developer
Posts: 987
Joined: Sat Feb 12, 2005 3:10 pm
Location: Arendal, Norway

Post by VagaStorm »

After a php script has sent any output, you can not alter header information. One of the most common and inoying reasons for this is if you have a space before or after you php tags in an included file.

I have never tried this(it is better to remove the problem than the symptms), but I think it should work:
You should be able to remove the error by using ob_start() at the start of you script, and ob_flush(); at the end. This will caus your script to not actualy output anythin before ob_flush();

Locked

Return to “NS4 Help and Support”