PDA

View Full Version : Help With An Error!


Gio~Logist
02-26-2005, 07:12 PM
Warning: Cannot modify header information - headers already sent by (output
started at /home/urbandy/public_html/forums/cleader/index.php:3) in
/home/urbandy/public_html/forums/admin/functions.php on line 1847



I have no idea what that means.... And it only happens when i try to acess cleaner/index.php from two different windows. The error seems to be coming from this part of functions.php:


}
header($cookieheader, false); // force multiple headers of same type
} else {
setcookie($name, $value, $expire, $cookiepath, $cookiedomain, $secure);
}

}


Is this even necessary? Why would this harm anything?

filburt1
02-26-2005, 07:49 PM
The most common cause is having whitespace after the closing ?> in a PHP file. If that's not the problem, then you're echoing or sending other output to the browser before sending a cookie/header, which is not allowed.

Gio~Logist
02-26-2005, 07:56 PM
You always could manage to make me feel stupid and still be happy about it :-D Thanks alot, if i have any problems then i'll let you know.