Error Display

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
abbey4biz
Forum Commoner
Posts: 32
Joined: Wed Nov 23, 2011 12:25 pm

Error Display

Post by abbey4biz »

Pls can smone help out?

I got this error code each time i try to login through my site:

Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/wwwalaba/public_html/index2.php:1) in /home/wwwalaba/public_html/clients/dbc.php on line 63
User avatar
califdon
Jack of Zircons
Posts: 4484
Joined: Thu Nov 09, 2006 8:30 pm
Location: California, USA

Re: Error Display

Post by califdon »

Headers can be sent to a browser ONLY if absolutely nothing has previously been sent to the browser, even a blank line, because once the browser has received anything other than headers, it no longer can process them. So this error message tells you that your PHP script has sent something to the browser before it encountered the header for session cache limiter. It could be something as trivial as there being a blank line at the beginning of your script.
Post Reply