What does it mean????

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
I've sent all my PHP sites to the server and when calling it I receive
this message:

Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at /home/coaster/public_html/index.php:7) in
/home/coaster/public_html/index.php on line 18

Help will be welcome!

Re: What does it mean????

This is just a guess but I had a similar "output started" error one
time. Try adding  ob_start(); like this at the very start of your


Re: What does it mean????

It still doesn't work...

Re: What does it mean????

bettina@coaster.ch wrote:
Quoted text here. Click to load it

It means your index.php sent some output to the browser on line 18.  This could  
be a blank line or anything else which sends info to the browser.  
session_start() must be called before ANY output (including a DOCTYPE or  
anything else) is sent.

What's on this line?

P.S. obstart() just hides the real problem.  Rather, you should figure out what  
the problem is and fix it.

Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.

Re: What does it mean????

Thank you! It functions!

Site Timeline