Jump to content
MakeWebGames

Warning: Cannot modify header information??


corruption
 Share

Recommended Posts

Re: Warning: Cannot modify header information??

here is the ending of the code

die("<h3>Error</h3>
Invalid username or password!

<a href=login.php>> Back</a>");
}
else
{
$_SESSION['loggedin']=1;
$mem=mysql_fetch_array($uq);
$_SESSION['userid']=$mem['userid'];
header("Location: loggedin.php");
}

?>

 

line 24 is

header("Location: loggedin.php");

i dont understand why all of a sudden this error pops up? iv never changed anything in the authenticate.php

Link to comment
Share on other sites

Re: Warning: Cannot modify header information??

I've sometimes had a error like that pop up after making a change, and not nessacarily to the page reported in the error. If you made any changes before this error poped up, undo the change and see if the error still occurs.

Link to comment
Share on other sites

Re: Warning: Cannot modify header information??

some plugins/proxies can block it, i can block meta redirection with my firefox toolbar

also, it stops loading at the header tag, so none of the page is loaded. if you put the meta thing in, it'll load all up until it, then re-direct. also even with 0 as the value its kinda slow :s

Link to comment
Share on other sites

Re: Warning: Cannot modify header information??

ok yesterday i reinstalled all the pages and it worked ok untill just a few minutes ago, im not sure exactly what the last thing i changed was besides the login page but i went back to the login page and i still got the same error lol

is there any other pages or anything that connects or uses the login page that might have been effected?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...