SieRobin Posted March 3, 2006 Share Posted March 3, 2006 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 3Warning: 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? Quote Link to comment Share on other sites More sharing options...
ToonMariner Posted March 3, 2006 Share Posted March 3, 2006 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. Quote Link to comment Share on other sites More sharing options...
SieRobin Posted March 3, 2006 Author Share Posted March 3, 2006 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.