Reply to Re: error with sessions and headers being sent, yet nothing but headers have been sent
Posted by Gordon Burditt on 06/02/05 23:10
>I'm getting this error:
>
>Warning: session_start(): Cannot send session cache limiter - headers
>already sent in
Don't send ANYTHING before you call session_start().
No blank lines (these are very often difficult to notice).
No debug code.
No DOCTYPE.
No error or warning messages from functions that complain.
(like access to uninitialized variables).
No HTML.