ID: 26005 Updated by: [EMAIL PROTECTED] Reported By: parsnip11 at hotmail dot com -Status: Feedback +Status: No Feedback Bug Type: Session related Operating System: windows 2000 iis 5 PHP Version: 4CVS-2003-10-31 New Comment:
No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-11-21 21:19:07] [EMAIL PROTECTED] No, it's absolutely useless to us. If possible, try disabling ALL extensions in your php.ini. ------------------------------------------------------------------------ [2003-11-20 15:50:34] parsnip11 at hotmail dot com I just got the error again. I wish I could post the code that makes this happen but I really dont know what it is. I've been running fine for two weeks and it just happened again. I get the following message: "PHP has encountered an Access Violation at 01210969" I realize it's hard for you troubleshoot this issue if I cant give you exact code but short of submitting my entire application I can't isolate what's happening. All I know is it started happening after a php upgrade. The code has not changed. Does the above access violation provide any clues as to what the problem could be? ------------------------------------------------------------------------ [2003-11-06 15:18:22] [EMAIL PROTECTED] You have to provide a short but complete example before we can do anything about this. ------------------------------------------------------------------------ [2003-10-31 09:52:16] parsnip11 at hotmail dot com I have updated to the latest version of php and have also added and session_write_close() before all of my "exit" statements as some people have mentioned this helped. No go... Just checked the logs this morning and this error has popped up again ------------------------------------------------------------------------ [2003-10-27 10:52:27] parsnip11 at hotmail dot com Description: ------------ I am recently upgraded to php 4.3.3 from 4.2.9 and am using the php4isapi.dll on iis. My application has been working w/o any problems for quite awhile and after the upgrade, without rhyme or reason I am getting the following error every few days: PHP Warning: Unknown(): A session is active. You cannot change the session module's ini settings at this time. in Unknown on line 0 I have no ini_set statement in my application and have even set my php.ini to read only in the event that it was somehow being modified. My application is EXTREMELY simple... it's basically just consists of a few html forms submitting to a sql db. Authentication happens via IIS and I'm using $AUTH_USER to get the user id. Since this error is extremely intermittent and only happens 2 or 3 times a week, I cant seem to figure out what line seems or even what function is causing this error. I know that bugs cannot be solved w/o a code example that generates the error but I canAll I know is that the version of PHP is all that's changed so I'm inclined to think it's a bug. Php.ini is set up as follows: session.save_handler = files session.save_path = C:\PHP\sessiondata ; argument passed to save_handler 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_maxlifetime = 50400 session.referer_check = session.entropy_length = session.entropy_file = ;session.entropy_length = 16 ;session.entropy_file = /dev/urandom session.cache_limiter = ;session.cache_limiter = nocache session.cache_expire = 180 session.use_trans_sid = 1 Reproduce code: --------------- As stated above, I'm really not sure WHAT is causing this error. No filename is mentioned in the error. My login.php included in every page is pretty simple: session_start(); if(!isset($logged_in) || $logged_in != "!authenticated!") { header("Location: http://myurl.com"); exit; } else { $user_id= str_replace("windows_domain\\\\", "", strtolower($AUTH_USER)); } Actual result: -------------- Generic 500 error page in IE for the user... On one occasion when this happened I had to restart IIS before PHP would work again.... ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26005&edit=1