ID:               19022
 Comment by:       august24_70 at yahoo dot com
 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:

I was having the problem on OpenBSD 3.2, Apache 1.3.26, PHP 3.2.3 when
running phpBB. I deleted all my cookies and logged back in again and
the problem went.

I don't use cookies for handling sessions, I pass it in the URL. ie
session.use_trans_sid = 1


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

[2004-01-19 21:02:22] haccel at email dot com

I also have been receiving this error since Jan 1st, 2004. Running on
Linux operating system, Apache version 1.3.29 (Unix), PHP version
4.3.3

My error log is full of these errors:

PHP Warning:  Unknown(): Failed to write session data (files). Please
verify that the current setting of session.save_path is correct
(/usr/home/asdwq1/sessions) in Unknown on line 0

PHP Warning:  session_start(): The session id contains invalid
characters, valid characters are only a-z, A-Z and 0-9 in
/usr/home/asdwq1/public_html/index.php on line 2

Line 2 of index.php = session_start();

Strange thing is it only happens some of the time. I use SID throughout
so how can php create a session id and then say on the next page it is
an invalid session id? I don't quite understand how it can be invalid
when php creates this upon the call of the first session_start().

$_SESSION vars are only used and it occurs where-ever I move the
session temp directory to.

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

[2004-01-19 17:01:48] oliver at realnet dot org

I was having the same problem, failed to write session data files,
check your save path error.  Worked fine in Netscape 7.1, but not in IE
6.  I deleted my cookies, cleared history, deleted internet files, and
rebooted.  It worked like a charm after that.  I don't know how that
would affect it, but that's all I did... and like I say, it always
worked, everytime in Netscape 7.1.

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

[2004-01-11 20:19:52] lennaert dot goris at ellips dot ws

I am working on a PII 350 dev machine.  
php 4.3.4/apache 2.0.48 
 
same problem  
used PEAR::Auth module and discoverd this bug. I can't seem to get 
rid of it. Tried all of the solutions presented on this site save from

installing windows on my machine. I'm gonna try to recreate this bug 
on my laptop at work (winxp). See what happens there.

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

[2004-01-04 13:01:04] rajiv at rajivlodha dot cjb dot net

continued from above - 

here is the change i made to php.ini

[Session]
; Handler used to store/retrieve data.
;session.save_handler = files // old
session.save_handler = %TMP%

%TMP% is the default path for temporary storage on windows.

thanks
rajiv

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

[2004-01-04 12:58:29] rajiv at rajivlodha dot cjb dot net

Hello guys,

i was also having the same problem, on a PIII~933Mhz,Windows .NET
Server, i changed my php.ini, and its now working fine.
-- Original/Default --
[Session]
; Handler used to store/retrieve data.
session.save_handler = Files

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

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