session_start() problem
I'm on chapter 11 and trying out the code on P322-323, I get the below error messages:
Warning: session_start(): open(/tmp\sess_c413aed2a8cd48be2f4c8534d4060486, O_RDWR) failed: No such file or directory in "auth.inc.php" on line 2
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at auth.inc.php:2) in auth.inc.php on line 2
I have session_start problem for all php files I've tried and if I remove session_start from the code then everything works fine. What could possibly be the problm? Thanx in advance!
|