|
|
 |
Re: FN-FORUM: Error message - PHP
date posted 25th May 2007 23:58
This is it:
etc etc
So...
I've now taken out every bit of extra white space and it works, but why
did it work on the original site?
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Kathy
http://www.vendetta.co.uk
+44(0)7005 982 261
DNRC Minister for Useful but Irritating Information and Trivia
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
----- Original Message -----
From: "Anthony Cartmell" [EMAIL REMOVED]
To: [EMAIL REMOVED]
Sent: Friday, May 25, 2007 11:24 PM
Subject: Re: FN-FORUM: Error message - PHP
>
> > It means that you've already sent some content data, so it can't
send
> > out any more header data. Look for anything that's printed or
echoed,
> > or an error message which occurs above the session one. Fix that
and
> > the session headers will go away.
>
> A common problem is spaces after the final ?> in an included file
before
> session_start(). A trick I've heard used is to leave out the last ?>
in
> include files, so you can't have any spaces after it.
>
> You're outputting something in header.php at line 2, which is called
> before the session_start() call?
>
> Anthony
> --
> www.fonant.com - Quality web sites
>
> --
> Freelancers, contractors earn more with Prosperity4
> Call 0870 870 4414 or visit www.prosperity4.com
> and benefit from Inland Revenue approved expenses today.
>
> To advertise here: http://www.freelancers.net/advertising.html
>
> |
 |
|