|
|
help me, the code is eating my face!
Posted under Development by esoteric on Tuesday May 29 2001 @ 09:51PM EDT
|
please explain to me why I am getting these errors! THANKS FOR ANY HELP
Warning: Cannot add header information - headers already sent by (output started at /include/layout.inc.php:357) in /admin/auth.inc.php on line 29
Warning: Cannot add header information - headers already sent by (output started at /include/layout.inc.php:357) in /admin/index.php on line 26
the only thing I edited was the layout.inc.php, when I did that it was just to change the navigation menu.... Would the problem be in layout.inc.php?
line 357 in layout.inc.php is: ?>
line 29 in auth.inc.php: setcookie(md5($name),md5(rot13($CONF["SiteKey"])),0,"/index.html","",0);
line 26 in index.php: header("/LocationG_URL/admin/moderate.html");
HELP! I can't see why I have an error@!#
|
|
|
|
jason writes on Tuesday May 29 2001 @ 11:29PM EDT: [ reply | parent ]
My best guess is that there is some whitespace being printed from layout.inc.php. In fact, that's the only thing it can be from what you've described. Make sure there are no spaces or extra lines after the ?> tag in layout.inc.php.
|
|
Dylan writes on Tuesday May 29 2001 @ 11:30PM EDT: [ reply | parent ]
Have a look at the source and you may be able to find out more - something is being sent before the cookie, which shouldn't really happen.
|
|
esoteric writes on Wednesday May 30 2001 @ 12:30PM EDT: [ reply | parent ]
I looked at the code lastnight, a few minutes after posting this and saw that there were three while spaces behind the ?>, thanks for all feedback on this post.... this problem was really pissing me off.
you guys are great.
________ esoteric
|
|
Nekrataal writes on Tuesday June 05 2001 @ 05:17AM EDT: [ reply | parent ]
MMMh I have to doublecheck our code, because I get the error from time to time, too. Up to now I thought it was some provider problem ... well I will have a look at the code ...
|
|
|
|
|