Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: There are no blank lines in the script. The first line is ?php Anyway - with the release of 4.2.1, this problem no longer occurs on my system. The problem appears to be fixed and this bug can be closed. Previous Comments: [2002-05-15 05:10:47] [EMAIL PROTECTED] I think the following should help. before the statement ?php, is there any blank line above it?If yes, delete the blank line and I think the problem will be solved. Hope this help!! [2002-05-06 20:31:05] [EMAIL PROTECTED] Please check following: I hade the same error because of spaces (or CR or TAB) *befor* the first use of ?php ! Did you check that? [2002-05-05 18:23:00] [EMAIL PROTECTED] The error I receive (again, 4.2.0, IIS, and Win 2k) is that it is unable to open the session folder. May or may not be related, but I'm also experiencing problems with POST variables. David [2002-05-03 23:53:28] [EMAIL PROTECTED] [EMAIL PROTECTED]/other mail addresses who comment on this/ [2002-05-03 23:52:02] [EMAIL PROTECTED] [EMAIL PROTECTED] report is not about register globals issue. Please do not add any more comments about register globals... 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: Please check following: I hade the same error because of spaces (or CR or TAB) *befor* the first use of ?php ! Did you check that? Previous Comments: [2002-05-05 18:23:00] [EMAIL PROTECTED] The error I receive (again, 4.2.0, IIS, and Win 2k) is that it is unable to open the session folder. May or may not be related, but I'm also experiencing problems with POST variables. David [2002-05-03 23:53:28] [EMAIL PROTECTED] [EMAIL PROTECTED]/other mail addresses who comment on this/ [2002-05-03 23:52:02] [EMAIL PROTECTED] [EMAIL PROTECTED] report is not about register globals issue. Please do not add any more comments about register globals... [2002-05-01 20:24:11] [EMAIL PROTECTED] I'm having a similar issue - every since switching to PHP 4.2 I've got sh#tloads of viewers reporting login problems to our forums (vBulletin), they keep getting prompted to login. Weird part is it's not everyone, I and others have no problems at all. Reverting back to PHP 4.1.x solves it, upgrading to PHP 4.2 brings it back. register_globals is ON [2002-04-30 16:45:24] [EMAIL PROTECTED] The 'solution' above is not valid for this case. PHP should not generate the 'headers already sent' message at all in this case. 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: The error I receive (again, 4.2.0, IIS, and Win 2k) is that it is unable to open the session folder. May or may not be related, but I'm also experiencing problems with POST variables. David Previous Comments: [2002-05-03 23:53:28] [EMAIL PROTECTED] [EMAIL PROTECTED]/other mail addresses who comment on this/ [2002-05-03 23:52:02] [EMAIL PROTECTED] [EMAIL PROTECTED] report is not about register globals issue. Please do not add any more comments about register globals... [2002-05-01 20:24:11] [EMAIL PROTECTED] I'm having a similar issue - every since switching to PHP 4.2 I've got sh#tloads of viewers reporting login problems to our forums (vBulletin), they keep getting prompted to login. Weird part is it's not everyone, I and others have no problems at all. Reverting back to PHP 4.1.x solves it, upgrading to PHP 4.2 brings it back. register_globals is ON [2002-04-30 16:45:24] [EMAIL PROTECTED] The 'solution' above is not valid for this case. PHP should not generate the 'headers already sent' message at all in this case. [2002-04-30 14:27:10] [EMAIL PROTECTED] Can someone please fix this, since it is not a configuration problem. 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: [EMAIL PROTECTED] report is not about register globals issue. Please do not add any more comments about register globals... Previous Comments: [2002-05-01 20:24:11] [EMAIL PROTECTED] I'm having a similar issue - every since switching to PHP 4.2 I've got sh#tloads of viewers reporting login problems to our forums (vBulletin), they keep getting prompted to login. Weird part is it's not everyone, I and others have no problems at all. Reverting back to PHP 4.1.x solves it, upgrading to PHP 4.2 brings it back. register_globals is ON [2002-04-30 16:45:24] [EMAIL PROTECTED] The 'solution' above is not valid for this case. PHP should not generate the 'headers already sent' message at all in this case. [2002-04-30 14:27:10] [EMAIL PROTECTED] Can someone please fix this, since it is not a configuration problem. [2002-04-30 05:29:02] [EMAIL PROTECTED] Found solution here: http://bugs.php.net/bug.php?id=16839 Thx Renato [2002-04-30 04:48:41] [EMAIL PROTECTED] I'v got the same problem here. Same configuration W2K SP2 IIS5 same recomended php.ini file. When a script calls for: session_start or setcookie like Jelsoft vBulletin nothing happen. The same things for all my scripts. 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: [EMAIL PROTECTED]/other mail addresses who comment on this/ Previous Comments: [2002-05-03 23:52:02] [EMAIL PROTECTED] [EMAIL PROTECTED] report is not about register globals issue. Please do not add any more comments about register globals... [2002-05-01 20:24:11] [EMAIL PROTECTED] I'm having a similar issue - every since switching to PHP 4.2 I've got sh#tloads of viewers reporting login problems to our forums (vBulletin), they keep getting prompted to login. Weird part is it's not everyone, I and others have no problems at all. Reverting back to PHP 4.1.x solves it, upgrading to PHP 4.2 brings it back. register_globals is ON [2002-04-30 16:45:24] [EMAIL PROTECTED] The 'solution' above is not valid for this case. PHP should not generate the 'headers already sent' message at all in this case. [2002-04-30 14:27:10] [EMAIL PROTECTED] Can someone please fix this, since it is not a configuration problem. [2002-04-30 05:29:02] [EMAIL PROTECTED] Found solution here: http://bugs.php.net/bug.php?id=16839 Thx Renato 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: I'm having a similar issue - every since switching to PHP 4.2 I've got sh#tloads of viewers reporting login problems to our forums (vBulletin), they keep getting prompted to login. Weird part is it's not everyone, I and others have no problems at all. Reverting back to PHP 4.1.x solves it, upgrading to PHP 4.2 brings it back. register_globals is ON Previous Comments: [2002-04-30 16:45:24] [EMAIL PROTECTED] The 'solution' above is not valid for this case. PHP should not generate the 'headers already sent' message at all in this case. [2002-04-30 14:27:10] [EMAIL PROTECTED] Can someone please fix this, since it is not a configuration problem. [2002-04-30 05:29:02] [EMAIL PROTECTED] Found solution here: http://bugs.php.net/bug.php?id=16839 Thx Renato [2002-04-30 04:48:41] [EMAIL PROTECTED] I'v got the same problem here. Same configuration W2K SP2 IIS5 same recomended php.ini file. When a script calls for: session_start or setcookie like Jelsoft vBulletin nothing happen. The same things for all my scripts. [2002-04-25 04:00:49] [EMAIL PROTECTED] My ini file is the php.ini-recommended The session stuff is: session.save_handler = files session.save_path = c:\winnt\temp (tried c:/winnt/temp too) session.use.cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session_cookie_domain = session.serialize_handler = php session_gc_probability = 1 session.gc_maxfiletime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 1 output_buffering = 4096 output_handler = zlib.output_compression = Off auto_prepend_file = auto_append_file = I hope this is enough info. As I say, it is the recommended ini file with a few minor changes. 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: I'v got the same problem here. Same configuration W2K SP2 IIS5 same recomended php.ini file. When a script calls for: session_start or setcookie like Jelsoft vBulletin nothing happen. The same things for all my scripts. Previous Comments: [2002-04-25 04:00:49] [EMAIL PROTECTED] My ini file is the php.ini-recommended The session stuff is: session.save_handler = files session.save_path = c:\winnt\temp (tried c:/winnt/temp too) session.use.cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session_cookie_domain = session.serialize_handler = php session_gc_probability = 1 session.gc_maxfiletime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 1 output_buffering = 4096 output_handler = zlib.output_compression = Off auto_prepend_file = auto_append_file = I hope this is enough info. As I say, it is the recommended ini file with a few minor changes. [2002-04-25 03:39:36] [EMAIL PROTECTED] And you do not have any auto_prepend stuff in your ini file, anything which might do output before your script gets actually executed (also no whitespaces) ? [2002-04-25 03:27:27] [EMAIL PROTECTED] And output bufferring setting? (zlib.output_compression and output_buffer) [2002-04-25 03:26:11] [EMAIL PROTECTED] Ok. You really have 3 line script that causes this error message. What is your session ini setting? [2002-04-25 02:04:13] [EMAIL PROTECTED] I wasn't aware that this was a support question. The session_start function used to work fine. Now I get the warnings as stated above. I have looked at the support and the only things I could see was about not putting anything before the session_start. In this case, I have tried the following: ?php session_start(); ? and I still get the warnings. These three lines are the only things in the script. There is no HTML above it. Since this used to work, I disagree that it is a bogus issue and feel that it should still be a bug. 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: Found solution here: http://bugs.php.net/bug.php?id=16839 Thx Renato Previous Comments: [2002-04-30 04:48:41] [EMAIL PROTECTED] I'v got the same problem here. Same configuration W2K SP2 IIS5 same recomended php.ini file. When a script calls for: session_start or setcookie like Jelsoft vBulletin nothing happen. The same things for all my scripts. [2002-04-25 04:00:49] [EMAIL PROTECTED] My ini file is the php.ini-recommended The session stuff is: session.save_handler = files session.save_path = c:\winnt\temp (tried c:/winnt/temp too) session.use.cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session_cookie_domain = session.serialize_handler = php session_gc_probability = 1 session.gc_maxfiletime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 1 output_buffering = 4096 output_handler = zlib.output_compression = Off auto_prepend_file = auto_append_file = I hope this is enough info. As I say, it is the recommended ini file with a few minor changes. [2002-04-25 03:39:36] [EMAIL PROTECTED] And you do not have any auto_prepend stuff in your ini file, anything which might do output before your script gets actually executed (also no whitespaces) ? [2002-04-25 03:27:27] [EMAIL PROTECTED] And output bufferring setting? (zlib.output_compression and output_buffer) [2002-04-25 03:26:11] [EMAIL PROTECTED] Ok. You really have 3 line script that causes this error message. What is your session ini setting? 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Feedback +Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: Can someone please fix this, since it is not a configuration problem. Previous Comments: [2002-04-30 05:29:02] [EMAIL PROTECTED] Found solution here: http://bugs.php.net/bug.php?id=16839 Thx Renato [2002-04-30 04:48:41] [EMAIL PROTECTED] I'v got the same problem here. Same configuration W2K SP2 IIS5 same recomended php.ini file. When a script calls for: session_start or setcookie like Jelsoft vBulletin nothing happen. The same things for all my scripts. [2002-04-25 04:00:49] [EMAIL PROTECTED] My ini file is the php.ini-recommended The session stuff is: session.save_handler = files session.save_path = c:\winnt\temp (tried c:/winnt/temp too) session.use.cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session_cookie_domain = session.serialize_handler = php session_gc_probability = 1 session.gc_maxfiletime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 1 output_buffering = 4096 output_handler = zlib.output_compression = Off auto_prepend_file = auto_append_file = I hope this is enough info. As I say, it is the recommended ini file with a few minor changes. [2002-04-25 03:39:36] [EMAIL PROTECTED] And you do not have any auto_prepend stuff in your ini file, anything which might do output before your script gets actually executed (also no whitespaces) ? [2002-04-25 03:27:27] [EMAIL PROTECTED] And output bufferring setting? (zlib.output_compression and output_buffer) 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: The 'solution' above is not valid for this case. PHP should not generate the 'headers already sent' message at all in this case. Previous Comments: [2002-04-30 14:27:10] [EMAIL PROTECTED] Can someone please fix this, since it is not a configuration problem. [2002-04-30 05:29:02] [EMAIL PROTECTED] Found solution here: http://bugs.php.net/bug.php?id=16839 Thx Renato [2002-04-30 04:48:41] [EMAIL PROTECTED] I'v got the same problem here. Same configuration W2K SP2 IIS5 same recomended php.ini file. When a script calls for: session_start or setcookie like Jelsoft vBulletin nothing happen. The same things for all my scripts. [2002-04-25 04:00:49] [EMAIL PROTECTED] My ini file is the php.ini-recommended The session stuff is: session.save_handler = files session.save_path = c:\winnt\temp (tried c:/winnt/temp too) session.use.cookies = 1 session.name = PHPSESSID session.auto_start = 0 session.cookie_lifetime = 0 session.cookie_path = / session_cookie_domain = session.serialize_handler = php session_gc_probability = 1 session.gc_maxfiletime = 1440 session.referer_check = session.entropy_length = 0 session.entropy_file = session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 1 output_buffering = 4096 output_handler = zlib.output_compression = Off auto_prepend_file = auto_append_file = I hope this is enough info. As I say, it is the recommended ini file with a few minor changes. [2002-04-25 03:39:36] [EMAIL PROTECTED] And you do not have any auto_prepend stuff in your ini file, anything which might do output before your script gets actually executed (also no whitespaces) ? 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/16807 -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] -Status: Bogus +Status: Feedback Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: Ok. You really have 3 line script that causes this error message. What is your session ini setting? Previous Comments: [2002-04-25 02:04:13] [EMAIL PROTECTED] I wasn't aware that this was a support question. The session_start function used to work fine. Now I get the warnings as stated above. I have looked at the support and the only things I could see was about not putting anything before the session_start. In this case, I have tried the following: ?php session_start(); ? and I still get the warnings. These three lines are the only things in the script. There is no HTML above it. Since this used to work, I disagree that it is a bogus issue and feel that it should still be a bug. [2002-04-24 19:15:10] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php [2002-04-24 16:21:41] [EMAIL PROTECTED] When running PHP 4.2.0 on Windows 2000, IIS 5, the following code causes problems: ?php session_start(); ? I get the message: Warning: Cannot send session cache limiter - headers already sent in D:\Development\test.php on line 2 PHP Warning: Cannot send session cookie - headers already sent in D:\Development\test.php on line 2 PHP Warning: Cannot send session cache limiter - headers already sent in D:\Development\test.php on line 2 It appears that sessions are still not working (they weren't working in 4.1.2 either) -- Martin -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: And you do not have any auto_prepend stuff in your ini file, anything which might do output before your script gets actually executed (also no whitespaces) ? Previous Comments: [2002-04-25 03:27:27] [EMAIL PROTECTED] And output bufferring setting? (zlib.output_compression and output_buffer) [2002-04-25 03:26:11] [EMAIL PROTECTED] Ok. You really have 3 line script that causes this error message. What is your session ini setting? [2002-04-25 02:04:13] [EMAIL PROTECTED] I wasn't aware that this was a support question. The session_start function used to work fine. Now I get the warnings as stated above. I have looked at the support and the only things I could see was about not putting anything before the session_start. In this case, I have tried the following: ?php session_start(); ? and I still get the warnings. These three lines are the only things in the script. There is no HTML above it. Since this used to work, I disagree that it is a bogus issue and feel that it should still be a bug. [2002-04-24 19:15:10] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php [2002-04-24 16:21:41] [EMAIL PROTECTED] When running PHP 4.2.0 on Windows 2000, IIS 5, the following code causes problems: ?php session_start(); ? I get the message: Warning: Cannot send session cache limiter - headers already sent in D:\Development\test.php on line 2 PHP Warning: Cannot send session cookie - headers already sent in D:\Development\test.php on line 2 PHP Warning: Cannot send session cache limiter - headers already sent in D:\Development\test.php on line 2 It appears that sessions are still not working (they weren't working in 4.1.2 either) -- Martin -- Edit this bug report at http://bugs.php.net/?id=16807edit=1
Bug #16807 Updated: Sessions not working
ID: 16807 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Bogus Bug Type: Session related Operating System: Windows 2000 SP2 PHP Version: 4.2.0 New Comment: I wasn't aware that this was a support question. The session_start function used to work fine. Now I get the warnings as stated above. I have looked at the support and the only things I could see was about not putting anything before the session_start. In this case, I have tried the following: ?php session_start(); ? and I still get the warnings. These three lines are the only things in the script. There is no HTML above it. Since this used to work, I disagree that it is a bogus issue and feel that it should still be a bug. Previous Comments: [2002-04-24 19:15:10] [EMAIL PROTECTED] The bug system is not the appropriate forum for asking support questions. For a list of a range of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php [2002-04-24 16:21:41] [EMAIL PROTECTED] When running PHP 4.2.0 on Windows 2000, IIS 5, the following code causes problems: ?php session_start(); ? I get the message: Warning: Cannot send session cache limiter - headers already sent in D:\Development\test.php on line 2 PHP Warning: Cannot send session cookie - headers already sent in D:\Development\test.php on line 2 PHP Warning: Cannot send session cache limiter - headers already sent in D:\Development\test.php on line 2 It appears that sessions are still not working (they weren't working in 4.1.2 either) -- Martin -- Edit this bug report at http://bugs.php.net/?id=16807edit=1