Session error?

salukigirl

New Member
Messages
78
Reaction score
0
Points
0
I'm not quite sure what could have caused this error. I could show you the code I'm using if you want...


Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/star/public_html/user.php:8) in /home/star/public_html/user.php on line 10
 

Slothie

New Member
Messages
1,429
Reaction score
0
Points
0
That means you've already sent some data before trying to start your session. PLease ensure there are no white spaces before your <?PHP code starts.
 

YamiKaitou

Member
Messages
636
Reaction score
0
Points
16
session_start() must be the FIRST thing in your code. You can not output any HTML code before it
 
Top