Jump to content

Archived

This topic is now archived and is closed to further replies.

SieRobin

Database Problem

Recommended Posts

Hey, I just switched my website from a free host to a paid host, and I'm not exactly sure what this means, since I didn't have a problem with the free host doing it.

[!--quoteo--][div class=\'quotetop\']QUOTE[/div][div class=\'quotemain\'][!--quotec--]Warning: session_start(): Cannot send session cookie - headers already sent by (output started at /home/sierobin/public_html/index.php:2) in /home/sierobin/public_html/index.php on line 3

Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /home/sierobin/public_html/index.php:2) in /home/sierobin/public_html/index.php on line 3[/quote]

What exactly does this mean?

Share this post


Link to post
Share on other sites
You have already output some html before you have called the session_start() function.

place it at the very top of your script and all shoudl be well.

Share this post


Link to post
Share on other sites
Well there is HTML and PHP on the page.. does this mean that I need to put the HTML into the the php beginning and ending tabs?

session_start(); is at the top of the page lol, which is kind of weird I guess, but it doesn't work.

Agh, I got it thank you.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.