#35076 [Bgs]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com Status: Bogus Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5CVS-2005-11-05 (snap) New Comment: Hi Sniper, Compared the httpd access log file with the error times, from this bug-post. There are not so much entries on those times and nothing looks weird. If your sure this is not a bug, could you point out a page where this problem is explained ? Thanks, Vince Previous Comments: [2005-11-06 04:02:38] [EMAIL PROTECTED] Please ask your administrator to check the httpd access log and compare the times there with the error time here. This is not a PHP bug. [2005-11-06 00:14:14] vincent_f40 at hotmail dot com Hi Sniper, Thank you for your reply. I have no idea what IS passed to the server(what can be passed?). I am just somehow getting these errors appearing arround 2-3 times a hour. Nothing more it says...(just as I copy and pasted the error down here) Also nothing about the session_id... As you can see in the error I copy and pasted. We use cookies for the sessions(we do not use session id in the link)...dont know if there is a way to hack our service in this way...with some random session_id...but then I should see these errors appear a lot more I guess... Any clue ? Do I need to switch to a more verbose error logging... Thanks, Vince [2005-11-05 23:29:55] [EMAIL PROTECTED] So what IS passed to server when this happens? What is the session id? Are you sure someone just isn't trying to hack your service with some random generated ID's and just doesn't know that some chars are not allowed? [2005-11-05 21:58:26] vincent_f40 at hotmail dot com file: config.inc file: session_init.inc file: index.php I am not able to reproduce the error. The error just appears sometimes in the log files...But basicly this is the setup. Some pages we use frames...but I guess that should not be a problem. Thanks, Vince [2005-11-05 19:23:23] vincent_f40 at hotmail dot com Hi Sniper, Downloaded the latest PHP from your link. Installed it with the option: --without-pear. Everything installed Ok. But the errors keep appearing...any ideas? Thanks, Vince 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/35076 -- Edit this bug report at http://bugs.php.net/?id=35076&edit=1
#35076 [Fbk->Opn]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com -Status: Feedback +Status: Open Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5CVS-2005-11-05 (snap) New Comment: Hi Sniper, Thank you for your reply. I have no idea what IS passed to the server(what can be passed?). I am just somehow getting these errors appearing arround 2-3 times a hour. Nothing more it says...(just as I copy and pasted the error down here) Also nothing about the session_id... As you can see in the error I copy and pasted. We use cookies for the sessions(we do not use session id in the link)...dont know if there is a way to hack our service in this way...with some random session_id...but then I should see these errors appear a lot more I guess... Any clue ? Do I need to switch to a more verbose error logging... Thanks, Vince Previous Comments: [2005-11-05 23:29:55] [EMAIL PROTECTED] So what IS passed to server when this happens? What is the session id? Are you sure someone just isn't trying to hack your service with some random generated ID's and just doesn't know that some chars are not allowed? [2005-11-05 21:58:26] vincent_f40 at hotmail dot com file: config.inc file: session_init.inc file: index.php I am not able to reproduce the error. The error just appears sometimes in the log files...But basicly this is the setup. Some pages we use frames...but I guess that should not be a problem. Thanks, Vince [2005-11-05 19:23:23] vincent_f40 at hotmail dot com Hi Sniper, Downloaded the latest PHP from your link. Installed it with the option: --without-pear. Everything installed Ok. But the errors keep appearing...any ideas? Thanks, Vince [2005-11-05 12:42:41] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip And ignore the PEAR errors. (just add --without-pear to your configure line) [2005-11-05 01:00:13] vincent_f40 at hotmail dot com Hi Sniper, Oki...and what about my initial error. The error down here: Is this then a know issue and will be solved in the latest php release ? Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 Thanks, Vince. 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/35076 -- Edit this bug report at http://bugs.php.net/?id=35076&edit=1
#35076 [Fbk->Opn]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com -Status: Feedback +Status: Open Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5CVS-2005-11-05 (snap) New Comment: file: config.inc file: session_init.inc file: index.php I am not able to reproduce the error. The error just appears sometimes in the log files...But basicly this is the setup. Some pages we use frames...but I guess that should not be a problem. Thanks, Vince Previous Comments: [2005-11-05 19:59:51] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with , is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. [2005-11-05 19:23:23] vincent_f40 at hotmail dot com Hi Sniper, Downloaded the latest PHP from your link. Installed it with the option: --without-pear. Everything installed Ok. But the errors keep appearing...any ideas? Thanks, Vince [2005-11-05 12:42:41] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip And ignore the PEAR errors. (just add --without-pear to your configure line) [2005-11-05 01:00:13] vincent_f40 at hotmail dot com Hi Sniper, Oki...and what about my initial error. The error down here: Is this then a know issue and will be solved in the latest php release ? Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 Thanks, Vince. [2005-11-03 02:27:52] vincent_f40 at hotmail dot com Description: [Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 1) Cant reproduce the errors. As the site works fine, only sometimes the above error appears in the log files. 2) session_write_close() is being used. 3) session_name() uses only the characters [a-z]. 4) As the site works /tmp is oke as well.(perms, etc.) 5) There is enough free disk space in /tmp as well. a) using apache 1.3.34, php compiled as module(apxs) b) Kernel: 2.6.9-11.ELsmp (double processor) Is this a bug or a php programming error ? As it happens not always, just random/sometimes. Search the net for hours...no luck in finding the explanation. Hope to find some clue here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=35076&edit=1
#35076 [Fbk->Opn]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com -Status: Feedback +Status: Open Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5.0.5 New Comment: Hi Sniper, Downloaded the latest PHP from your link. Installed it with the option: --without-pear. Everything installed Ok. But the errors keep appearing...any ideas? Thanks, Vince Previous Comments: [2005-11-05 12:42:41] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip And ignore the PEAR errors. (just add --without-pear to your configure line) [2005-11-05 01:00:13] vincent_f40 at hotmail dot com Hi Sniper, Oki...and what about my initial error. The error down here: Is this then a know issue and will be solved in the latest php release ? Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 Thanks, Vince. [2005-11-03 02:27:52] vincent_f40 at hotmail dot com Description: [Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 1) Cant reproduce the errors. As the site works fine, only sometimes the above error appears in the log files. 2) session_write_close() is being used. 3) session_name() uses only the characters [a-z]. 4) As the site works /tmp is oke as well.(perms, etc.) 5) There is enough free disk space in /tmp as well. a) using apache 1.3.34, php compiled as module(apxs) b) Kernel: 2.6.9-11.ELsmp (double processor) Is this a bug or a php programming error ? As it happens not always, just random/sometimes. Search the net for hours...no luck in finding the explanation. Hope to find some clue here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=35076&edit=1
#35076 [Asn]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com Status: Assigned Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5.0.5 Assigned To: cellog New Comment: Hi Sniper, Oki...and what about my initial error. The error down here: Is this then a know issue and will be solved in the latest php release ? Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 Thanks, Vince. Previous Comments: [2005-11-05 00:57:49] [EMAIL PROTECTED] this has nothing to do with sessions, please open separate bugs for separate issues. I'll look into the problem. [2005-11-05 00:54:23] [EMAIL PROTECTED] Assigning temporarily to Greg who needs to get the PEAR act together soon. Please fix the above mentioned errors. ---- [2005-11-05 00:04:54] vincent_f40 at hotmail dot com Sorry for the late reply. I got a part of the info here...if you need the rest as it was quit long...I can send it by email.(hope posting such a long info is not bad) Also this might be something easy to solve...but did not look into this issue myself yet...normally php always installs without problems for me. This down I got from: php5-200511031930 Installing PHP SAPI module: apache Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/lib/php/ Warning: call_user_func(PEAR_Installer_Role_Data::getInfo): First argument is expected to be a valid callback in phar://insta ll-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Doc::getInfo): First argument is expected to be a valid callback in phar://instal l-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Php::getInfo): First argument is expected to be a valid callback in phar://instal l-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Script::getInfo): First argument is expected to be a valid callback in phar://ins tall-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Test::getInfo): First argument is expected to be a valid callback in phar://insta ll-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 165 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 136 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 191 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: call_user_func(PEAR_Installer_Role_Data::getSupportingConfigVars): First argument is expected to be a valid callback in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1018 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1022 Warning: call_user_func(PEAR_Installer_Role_Doc::getSupportingConfigVars): First argument is expected to be a valid callback in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1018 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.pha
#35076 [Fbk->Opn]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com -Status: Feedback +Status: Open Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5.0.5 New Comment: Sorry for the late reply. I got a part of the info here...if you need the rest as it was quit long...I can send it by email.(hope posting such a long info is not bad) Also this might be something easy to solve...but did not look into this issue myself yet...normally php always installs without problems for me. This down I got from: php5-200511031930 Installing PHP SAPI module: apache Installing PHP CLI binary:/usr/local/bin/ Installing PHP CLI man page: /usr/local/man/man1/ Installing build environment: /usr/local/lib/php/build/ Installing header files: /usr/local/include/php/ Installing helper programs: /usr/local/bin/ program: phpize program: php-config Installing man pages: /usr/local/man/man1/ page: phpize.1 page: php-config.1 Installing PEAR environment: /usr/local/lib/php/ Warning: call_user_func(PEAR_Installer_Role_Data::getInfo): First argument is expected to be a valid callback in phar://insta ll-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Doc::getInfo): First argument is expected to be a valid callback in phar://instal l-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Php::getInfo): First argument is expected to be a valid callback in phar://instal l-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Script::getInfo): First argument is expected to be a valid callback in phar://ins tall-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Warning: call_user_func(PEAR_Installer_Role_Test::getInfo): First argument is expected to be a valid callback in phar://insta ll-pear-nozlib.phar/PEAR/Installer/Role.php on line 225 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 165 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 136 Notice: Undefined variable: ret in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 191 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: call_user_func(PEAR_Installer_Role_Data::getSupportingConfigVars): First argument is expected to be a valid callback in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1018 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1022 Warning: call_user_func(PEAR_Installer_Role_Doc::getSupportingConfigVars): First argument is expected to be a valid callback in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1018 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1022 Warning: call_user_func(PEAR_Installer_Role_Php::getSupportingConfigVars): First argument is expected to be a valid callback in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1018 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1022 Warning: call_user_func(PEAR_Installer_Role_Script::getSupportingConfigVars): First argument is expected to be a valid callba ck in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1018 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1022 Warning: call_user_func(PEAR_Installer_Role_Test::getSupportingConfigVars): First argument is expected to be a valid callback in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1018 Warning: Invalid argument supplied for foreach() in phar://install-pear-nozlib.phar/PEAR/Config.php on line 1022 [PEAR] Archive_Tar- already installed: 1.3.1 [PEAR] Console_Getopt - already installed: 1.2 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar/PEAR/Installer/Role.php on line 10 3 Warning: in_array(): Wrong datatype for second argument in phar://install-pear-nozlib.phar
#35076 [Fbk->Opn]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com -Status: Feedback +Status: Open Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5.0.5 New Comment: ./configure --enable-sysvmem --enable-sysvshm --enable-sockets --with-mhash=/usr --with-mysql=/usr --with-apxs=/usr/local/apache/bin/apxs The error just re-appeared with: php5-STABLE-200511031742 I am not sure what more you would like to know...just let me know and I can provide it. Thanks Vince. Previous Comments: [2005-11-03 23:25:54] [EMAIL PROTECTED] Could you help us out a bit and actually let us know what the errors where you got? And with what configure line did you get them? We're about to release PHP 5.1 and we'd like to fix this kind of issues before the release.. [2005-11-03 23:12:36] vincent_f40 at hotmail dot com Hi Sniper, I have tried to install the link you provided: http://snaps.php.net/php5-latest.tar.gz But this at the "make install" command outputted a lot of errors, about phar lib and call back functions... I downloaded therefor the: php5-STABLE-200511031742 This installed ok. Only I cant reproduce the error, so I will have to wait if the error will re-appear. I will keep you posted if it helped or not. Thanks, Vince [2005-11-03 15:49:58] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip [2005-11-03 02:27:52] vincent_f40 at hotmail dot com Description: [Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 1) Cant reproduce the errors. As the site works fine, only sometimes the above error appears in the log files. 2) session_write_close() is being used. 3) session_name() uses only the characters [a-z]. 4) As the site works /tmp is oke as well.(perms, etc.) 5) There is enough free disk space in /tmp as well. a) using apache 1.3.34, php compiled as module(apxs) b) Kernel: 2.6.9-11.ELsmp (double processor) Is this a bug or a php programming error ? As it happens not always, just random/sometimes. Search the net for hours...no luck in finding the explanation. Hope to find some clue here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=35076&edit=1
#35076 [Fbk->Opn]: Sometimes the log file shows: The session id contains illegal characters, ..etc
ID: 35076 User updated by: vincent_f40 at hotmail dot com Reported By: vincent_f40 at hotmail dot com -Status: Feedback +Status: Open Bug Type: Session related Operating System: Linux RHEL4, 2.6.9-11.ELsmp PHP Version: 5.0.5 New Comment: Hi Sniper, I have tried to install the link you provided: http://snaps.php.net/php5-latest.tar.gz But this at the "make install" command outputted a lot of errors, about phar lib and call back functions... I downloaded therefor the: php5-STABLE-200511031742 This installed ok. Only I cant reproduce the error, so I will have to wait if the error will re-appear. I will keep you posted if it helped or not. Thanks, Vince Previous Comments: [2005-11-03 15:49:58] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php5-latest.tar.gz For Windows: http://snaps.php.net/win32/php5-win32-latest.zip [2005-11-03 02:27:52] vincent_f40 at hotmail dot com Description: [Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 1) Cant reproduce the errors. As the site works fine, only sometimes the above error appears in the log files. 2) session_write_close() is being used. 3) session_name() uses only the characters [a-z]. 4) As the site works /tmp is oke as well.(perms, etc.) 5) There is enough free disk space in /tmp as well. a) using apache 1.3.34, php compiled as module(apxs) b) Kernel: 2.6.9-11.ELsmp (double processor) Is this a bug or a php programming error ? As it happens not always, just random/sometimes. Search the net for hours...no luck in finding the explanation. Hope to find some clue here. Thanks. -- Edit this bug report at http://bugs.php.net/?id=35076&edit=1
#35076 [NEW]: Sometimes the log file shows: The session id contains illegal characters, ..etc
From: vincent_f40 at hotmail dot com Operating system: Linux RHEL4, 2.6.9-11.ELsmp PHP version: 5.0.5 PHP Bug Type: Session related Bug description: Sometimes the log file shows: The session id contains illegal characters, ..etc Description: [Thu Nov 3 00:49:10 2005] [error] PHP Warning: session_start() [function.session-start]: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in /home/httpd/html/includes/session_init.inc on line 70 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: The session id contains illegal characters, valid characters are a-z, A-Z, 0-9 and '-,' in Unknown on line 0 [Thu Nov 3 00:49:11 2005] [error] PHP Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct () in Unknown on line 0 1) Cant reproduce the errors. As the site works fine, only sometimes the above error appears in the log files. 2) session_write_close() is being used. 3) session_name() uses only the characters [a-z]. 4) As the site works /tmp is oke as well.(perms, etc.) 5) There is enough free disk space in /tmp as well. a) using apache 1.3.34, php compiled as module(apxs) b) Kernel: 2.6.9-11.ELsmp (double processor) Is this a bug or a php programming error ? As it happens not always, just random/sometimes. Search the net for hours...no luck in finding the explanation. Hope to find some clue here. Thanks. -- Edit bug report at http://bugs.php.net/?id=35076&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=35076&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=35076&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=35076&r=trysnapshot51 Fixed in CVS:http://bugs.php.net/fix.php?id=35076&r=fixedcvs Fixed in release:http://bugs.php.net/fix.php?id=35076&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35076&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35076&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35076&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35076&r=support Expected behavior: http://bugs.php.net/fix.php?id=35076&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35076&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35076&r=submittedtwice register_globals:http://bugs.php.net/fix.php?id=35076&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35076&r=php3 Daylight Savings:http://bugs.php.net/fix.php?id=35076&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35076&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35076&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35076&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35076&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35076&r=mysqlcfg