ID: 37111 Comment by: pnoster at mail dot ru Reported By: haakonsk at gmail dot com Status: Open Bug Type: Session related Operating System: Windows XP PHP Version: 5.1.2 New Comment:
Same problem with PHP 5.1.4/Apache 2.0.58! I cannot generate a backtrace right now, but the error can be reproduced with osCommerce 2.2-MS2 (www.oscommerce.com) with 'Store Database Queries' set to 'true' in Admin panel. strftime() that causes the error resides in catalog\admin\includes\classes\logger.php (line 50). The crach happens almost everytime on the main admin page. Thank you for fixing this bug in advance. Previous Comments: ------------------------------------------------------------------------ [2006-05-10 10:58:50] haakonsk at gmail dot com Same problem with PHP5.1.2/Apache1.3.35. ------------------------------------------------------------------------ [2006-05-04 19:48:27] haakonsk at gmail dot com Apache version is 1.3.33 ------------------------------------------------------------------------ [2006-05-04 19:43:56] [EMAIL PROTECTED] Please clarify Apache version. ------------------------------------------------------------------------ [2006-05-04 07:02:14] haakonsk at gmail dot com I haven't been able to generate the backtrace (need help/directions). This problem is also present with PHP5.1.3. Complete code example (result: apache crashes): <?php session_set_save_handler('sess_open', 'sess_close', 'sess_read', 'sess_write', 'sess_destroy', 'sess_gc'); session_start(); print_r($_SESSION); $_SESSION['test'] = 2; function sess_open($sess_path, $sess_name) { return true; } function sess_close() { return true; } function sess_read($id) { return true; } function sess_write($id, $sess_data) { $year = strftime("%Y"); return true; } function sess_destroy($id) { return true; } function sess_gc($max_lifetime) { return true; } ?> ------------------------------------------------------------------------ [2006-05-01 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ 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/37111 -- Edit this bug report at http://bugs.php.net/?id=37111&edit=1