ID:               19022
 Updated by:       [EMAIL PROTECTED]
 Reported By:      phpbugs at mx4k dot com
 Status:           No Feedback
 Bug Type:         Session related
 Operating System: linux (rh7.3), apache 1.3.26
 PHP Version:      4.2.2
 New Comment:

session.save_path = "0;\tmp"

??  What is 0;\tmp supposed to mean?


Previous Comments:
------------------------------------------------------------------------

[2008-02-28 12:04:47] m1ckx at hotmail dot com

I too am getting similar messages - essentially where the session file
is failing to create.  Unfortunately I am getting it all the time, which
is a problem as I am trying to teach myself PHP at home.

What is different for me is that I am running a Windows 2K server,
using IIS, and PHP 5.2.2.

The initial error I get at the first session_start() call is:
The description for Event ID ( 2 ) in Source ( PHP-5.2.2 ) cannot be
found. The local computer may not have the necessary registry
information or message DLL files to display messages from a remote
computer. The following information is part of the event: php[352], PHP
Warning:  session_start() [<a
href='function.session-start'>function.session-start</a>]:
open(\tmp\sess_8t6afg6omu4au9ofqnru80l6r5, O_RDWR) failed: No such file
or directory (2) in F:\MixWeb\mdroot\php_sandpit\ch10\login.php on line
60.

The extract of my php.ini is:
[Session]

session.save_handler = files

session.save_path = "0;\tmp"

session.use_cookies = 1
session.name = PHPSESSID
session.auto_start = 0
session.cookie_lifetime = 0
session.cookie_path = /

Having been trying to search down answers for this but so far no luck.

------------------------------------------------------------------------

[2008-01-19 22:07:24] ozdemir_e at yahoo dot com

I have been getting the same error...

in php.ini file i have set the session.save_path to
public_html/cgi-bin/session

And the chmod of the session folder is 777

Everything looks fine technically but even if that... i get this
error.

I really need help to figure out this issue and fix it. And the hosting
company that i work with they insist on saying that it is not a server
error. But I do not understand that even if the chomod of the
session.save_path pointing to the correct folder and chmod 777, I am
getting this error.

PHP Warning:  session_start() [<a
href='function.session-start'>function.session-staPHP Warning: 
session_start() [<a
href='function.session-start'>function.session-start</a>]:
open(/home/users/web/b469/as.xxxxx/sess_164a72ebe9813cc1b0341ad6f6edbc8a,
O_RDWR) failed: Read-only file system (30) in
/hermes/web03/b469/as.xxxx/public_html/admin/index.php on line 31
PHP Warning:  Unknown(): Failed to write session data (files). Please
verify that the current setting of session.save_path is correct
(/home/users/web/b469/as.yuvamemlak/public_html/cgi-bin/session) in
Unknown on line 0


thank you in advance

------------------------------------------------------------------------

[2007-12-28 23:45:50] allan at emeraldforest dot com

I have been experiencing the same (or very similar) problem. One
interesting thing that I found is that sometimes I can reload page A and
see the session data happily sitting there, but on page B the data is
not there. I have both pages open in tabs in Firefox and I can go back
and forth reloading the pages. Page A always has the data, page B never
does. Both pages require the same init.php script to start the session.

------------------------------------------------------------------------

[2007-01-03 21:49:22] stranger at teuton dot org

I just started encountering this problem today, after having upgraded
to PHP5 from a PHP4 app. As with some of the other reports I have some
users reporting constant problems, while others have no problems at
all.

I using Linux, with session files written to /tmp. I can see that many
session files are being written, but at the same time some session calls
produce errors. I do not use any session function in my code other than
session_start()

------------------------------------------------------------------------

[2004-07-12 03:02:26] oliver at veryhip dot com

i have the same bug, however, it seems my windows xp box with ie6.0
handles it well, possibly because of the double cookie values being
handled properly?  i was using my site for a few months, wandering why
people weren't signing up, then i used my site on my living room
computer and got errors.  i have windows 2k and ie5 on it.  i get no
errors with netscape 7.0 or mozilla or firefox either.  so, if you ask
me: i don't use the php pear rep for the same reason that I'm about to
code my own class for handling sessions.  i hate managing a large code
repository of my own, but the only thing that annoys me more is not
understanding what is wrong because of some strange error.

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/19022

-- 
Edit this bug report at http://bugs.php.net/?id=19022&edit=1

Reply via email to