m82492 Posted June 4, 2007 Share Posted June 4, 2007 Can someone help out a noob here? I'm trying to load a script onto my new server and all appears to have went well except for the following errors on my page: Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/m82492/public_html/includes/configure.php:68) in /home/m82492/public_html/includes/functions/sessions.php on line 60 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/m82492/public_html/includes/configure.php:68) in /home/m82492/public_html/includes/functions/sessions.php on line 60 From searchin on here and the net these seem to be fairly common errors but I can't seem to find any clear cut instructions for fixing them. Whatever I need to post to fix this I will. Please HELP! Site is www.ebookliquidator.com Thanks in advance! Quote Link to comment https://forums.phpfreaks.com/topic/54156-cannot-send-session-cookie-error-driving-me-nuts/ Share on other sites More sharing options...
m82492 Posted June 4, 2007 Author Share Posted June 4, 2007 I did read that you need to have sessions start prior to html but I haven't been able to find any html prior to the sessions start anywhere. I also tried reloading the script and it still shows these errors. Very frustrating and I'll probably want to scream when I see how simple it is to take care of. Quote Link to comment https://forums.phpfreaks.com/topic/54156-cannot-send-session-cookie-error-driving-me-nuts/#findComment-267748 Share on other sites More sharing options...
m82492 Posted June 4, 2007 Author Share Posted June 4, 2007 Anyone? I'm about ready to blow this is irritating me so bad. Spent all day trying to fix this. Quote Link to comment https://forums.phpfreaks.com/topic/54156-cannot-send-session-cookie-error-driving-me-nuts/#findComment-267807 Share on other sites More sharing options...
per1os Posted June 4, 2007 Share Posted June 4, 2007 Post what is on /includes/configure.php:68 line 68 of that file. Quote Link to comment https://forums.phpfreaks.com/topic/54156-cannot-send-session-cookie-error-driving-me-nuts/#findComment-267815 Share on other sites More sharing options...
m82492 Posted June 4, 2007 Author Share Posted June 4, 2007 Post what is on /includes/configure.php:68 line 68 of that file. Dang it! With one question you fixed my problem along with some reading I did here earlier. I checked Line 68 earlier and thought it was odd because nothing was on it. I read a bit later that blank lines can cause this problem but didn't put 2 and 2 together. After you asked this I went back and found numerous blank lines. I deleted them and it fixed it. I feel like a true moron! Thanks for your help! Matt Quote Link to comment https://forums.phpfreaks.com/topic/54156-cannot-send-session-cookie-error-driving-me-nuts/#findComment-267834 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.