PDA

View Full Version : Header Warning at index file


Hiroshimator
27 Nov 2001, 17:00
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
27 Nov 2001, 21:34
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
27 Nov 2001, 21:45
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
28 Nov 2001, 01:38
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
25 Dec 2001, 01:08
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.