note 44671 added to ref.session
| From: | magic_blades3 at hotmail dot com | Date: | Thu, 12 Aug 2004 18:43:39 +0000 |
| Subject: | note 44671 added to ref.session | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74549@lists.php.net to get a copy of this message | ||
OS: WindowsXP
Webserver: Apache 2.0.47
PHP Ver: 4.3.4
MySQL Ver: 3.23.58
PHPMyAdmin: 2.5.6
I installed a project downloaded from a site. Everything went wel, till the installation was
complete. I got the following messages at top of the page:
Warning: session_start(): open(/tmp\sess_733c37d2ce7161364cfbffa5514a9c1e, O_RDWR) failed: No such
file or directory (2) in C:\httpserver\www\webfilesystem\index.php on line 7
Warning: session_start(): Cannot send session cookie - headers already sent by (output started at
C:\httpserver\www\webfilesystem\index.php:7) in C:\httpserver\www\webfilesystem\index.php on line 7
Warning: session_start(): Cannot send session cache limiter - headers already sent (output started
at C:\httpserver\www\webfilesystem\index.php:7) in C:\httpserver\www\webfilesystem\index.php on line
7
Editing the session.safe_path didn't work. I tried it like this:
c:/httpserver/www/tmp
"c:\httpserver\www\tmp"
"c:/httpserver/www/tmp"
and some other things. I found out none was working. Probably did something wrong there? (Could
someone mail me if he/she knows what that is).
I got rid of the error by simply making a folder named "tmp" in the root of c:\. Without
even changing the session.safe_path in the php.ini it worked right away. The errors are gone this
way, but maybe you will be stuck with the problem that you have a "tmp" folder in your c
root that you don't want.
----
Manual Page -- http://www.php.net/manual/en/ref.session.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44671
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44671&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44671&report=yes
Search -- http://master.php.net/manage/user-notes.php