PDA

View Full Version : Header Warning at index file


Hiroshimator
11-27-2001, 03:00 PM
Warning: Cannot add header information - headers already sent by (output started at /home/win32asm/public_html/index.php:8) in /home/win32asm/public_html/board/admin/functions.php on line 1489

it's because I already gave the server a <head> part but such a warning is so ugly, i searched the online documentation for 'warning' bt nothing surfaced. How do I suppress it?

I looked at the code in question and it's the accept zip header that is sent and stuff

function gzipoutput($text,$level=1){

But I want to sent Header info (you know title and stuff :p)
How do I solve this?? :confused:

Thx again :)

-H-

Goldfinger
11-27-2001, 07:34 PM
In the options in your admin control panel go down to where it says cookie and add your cookie for you domain..

.yourdomain.com

that first dot is important.

Hiroshimator
11-27-2001, 07:45 PM
I did that but it doesn't help :(
also what do cookies have to do with it? :confused:

if you could explain it a bit more, I'd be very grateful

thx

-H-

Hiroshimator
11-27-2001, 11:38 PM
Correction: it does work now :)
but i had to update it a few times before it took on :confused:

I'd still like to understand why this warning/error is shown and why the cookie thing resolves it, thx :)

-H-

slideboxer
12-24-2001, 11:08 PM
I'm running into the same error. You said that you had to update the board a few times. What and how did you do this? Thanks.