Warning: Cannot modify header information...
Posted: Thu Aug 30, 2007 7:54 am
Hi Folks,
My computer recently crashed and I had restored my code from a backup that I had confirmed worked. Now I get the following message:
Warning: Cannot modify header information - headers already sent by (output started at C:\Project\Current\portal\content_root\includes\header.php:6) in C:\Project\Current\portal\content_root\login.php on line 50
The culprit is on this line:
...
<title><?php echo $ALLPAGES[$THISPAGE]['Title']; ?></title>
...
I've looked for a solution and found most people get this problem when they leave trailing whitespace when they close their PHP tag. I've confirmed that this is not my problem.
Can anyone suggest something else that might help? If you want more code I'll provide.
Thanks!
My computer recently crashed and I had restored my code from a backup that I had confirmed worked. Now I get the following message:
Warning: Cannot modify header information - headers already sent by (output started at C:\Project\Current\portal\content_root\includes\header.php:6) in C:\Project\Current\portal\content_root\login.php on line 50
The culprit is on this line:
...
<title><?php echo $ALLPAGES[$THISPAGE]['Title']; ?></title>
...
I've looked for a solution and found most people get this problem when they leave trailing whitespace when they close their PHP tag. I've confirmed that this is not my problem.
Can anyone suggest something else that might help? If you want more code I'll provide.
Thanks!