shedokan Posted November 20, 2007 Share Posted November 20, 2007 can someone tell me what these errors mean?: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at index.php:1) in include/session.php on line 42 please. Quote Link to comment Share on other sites More sharing options...
Orio Posted November 20, 2007 Share Posted November 20, 2007 You've used session_start() after you already had some output (echo for an example or any other function that outputs, or even regular html). You must call session_start() before there's any output to the user. Orio. Quote Link to comment Share on other sites More sharing options...
shedokan Posted November 20, 2007 Author Share Posted November 20, 2007 but I start the session right at the top of the file Quote Link to comment Share on other sites More sharing options...
revraz Posted November 20, 2007 Share Posted November 20, 2007 What is Line 42? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted November 20, 2007 Share Posted November 20, 2007 Output started at line 1 in a php file either means there is white-space (space, tab, newline...) before the <?php tag or the file has been saved as a UTF-8 or Unicoded file and the language coding characters are being output as content prior to the <?php tag. Make sure there is no white-space before the <?php and make sure the file has been saved as an ANSI/ASCII file. Quote Link to comment Share on other sites More sharing options...
shedokan Posted November 20, 2007 Author Share Posted November 20, 2007 may BOM cause this error? Quote Link to comment Share on other sites More sharing options...
revraz Posted November 20, 2007 Share Posted November 20, 2007 Just post your code, and we can then tell you what caused it. Quote Link to comment Share on other sites More sharing options...
shedokan Posted November 20, 2007 Author Share Posted November 20, 2007 now my page shows a blank page(I'm using utf- Quote Link to comment Share on other sites More sharing options...
trq Posted November 20, 2007 Share Posted November 20, 2007 Post your code if you can't find the issue yourself. 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.