phpjayx Posted February 19, 2013 Share Posted February 19, 2013 I haven't updated my code on this page in a little while and now I'm getting this error at the top of my page.... Any tips on whats going on? I may just try a restart of my server -------------------------- Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at......................... Quote Link to comment https://forums.phpfreaks.com/topic/274658-getting-error-with-session_start/ Share on other sites More sharing options...
greenbman Posted February 19, 2013 Share Posted February 19, 2013 "Headers already sent" means that your PHP script already sent the HTTP headers, and as such it can't make modifications to them now. Check that you don't send ANY content before calling session_start. Better yet, just make session_start the first thing you do in your PHP file (so put it at the absolute beginning, before all HTML etc). Quote Link to comment https://forums.phpfreaks.com/topic/274658-getting-error-with-session_start/#findComment-1413252 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.