Re: Headers Sent Message
| From: | CPT John W. Holmes | Date: | Fri, 14 Nov 2003 16:30:13 +0000 |
| Subject: | Re: Headers Sent Message | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-169645@lists.php.net to get a copy of this message | ||
From: "Mark Roberts" <phplist@robertscomputing.com>
> Could someone help me out with this. I had this problem about a year ago
> with another site and I can't for the life of me remember what I had to do
> to fix it. I am in a oscommerce application, however I think it is really
a
> php problem. I get this message when ever I try to update the admin
portion
> of the site:
>
> Warning: Cannot modify header information - headers already sent by
(output
> started at
>
/home/virtual/site1/fst/var/www/html/admin3/includes/application_top.php:267
> ) in
> /home/virtual/site1/fst/var/www/html/admin3/includes/functions/general.php
> on line 18
I always get yelled at for answering these questions and doing the whole
"take my hand and follow along as we read this together"... but oh well...
"output started at .../application_top.php:267" means that
application_top.php has output on line 267. You cannot send any header
information (header(), setcookie(), session_start(), etc) after there is
output. "general.php" is trying to send header information on line 18, after
application_top.php has been included and already caused output.
---John Holmes...