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......................... 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). 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
Archived
This topic is now archived and is closed to further replies.