note 32881 added to function.session-start

From: Date: Mon, 09 Jun 2003 23:15:08 +0000
Subject: note 32881 added to function.session-start
Groups: php.notes 
Request: Send a blank email to php-notes+get-50065@lists.php.net to get a copy of this message
I have no idea why my php engine says so, but this is what i'm doing: This is my code: " <? session_start(); session_register("test"); $test = "1"; ?> " and this is my result:" Warning: session_start() [function.session-start]: open(/tmp\sess_a6d28eafa55f48005233467c10454cfc, O_RDWR) failed: No such file or directory (2) in d:\webbie\server\apache\htdocs\guestbook\1.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at d:\webbie\server\apache\htdocs\guestbook\1.php:2) in d:\webbie\server\apache\htdocs\guestbook\1.php on line 2 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at d:\webbie\server\apache\htdocs\guestbook\1.php:2) in d:\webbie\server\apache\htdocs\guestbook\1.php on line 2 Warning: Unknown(): Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively. in Unknown on line 0 Warning: Unknown(): open(/tmp\sess_a6d28eafa55f48005233467c10454cfc, O_RDWR) failed: No such file or directory (2) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/tmp) in Unknown on line 0 " Can anybody tell me why this happens? (and please don't delete this note.) ---- Manual Page -- http://www.php.net/manual/en/function.session-start.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32881 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32881&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32881&report=yes

« previous php.notes (#50065) next »