#31849 [Fbk->Opn]: get_current_user() still crashes on page refresh
| From: | info at cpgnuke dot com | Date: | Sat, 05 Feb 2005 17:46:50 +0000 |
| Subject: | #31849 [Fbk->Opn]: get_current_user() still crashes on page refresh | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-73525@lists.php.net to get a copy of this message | ||
ID: 31849
User updated by: info at cpgnuke dot com
Reported By: info at cpgnuke dot com
-Status: Feedback
+Status: Open
Bug Type: Reproducible crash
Operating System: Windows xp sp2
PHP Version: 4.3.10
New Comment:
The issue still exists
Previous Comments:
------------------------------------------------------------------------
[2005-02-05 02:07:46] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
------------------------------------------------------------------------
[2005-02-04 23:16:25] info at cpgnuke dot com
the class function is called like:
Cache::array_load('MAIN_CFG');
As seen in cmsinit.inc line 155
------------------------------------------------------------------------
[2005-02-04 22:54:16] info at cpgnuke dot com
Description:
------------
A similar bug was reported and marked as fixed
http://bugs.php.net/bug.php?id=30133 and
http://bugs.php.net/bug.php?id=31421
But the bug still exists in a deeper level of PHP (running Apache
2.0.52)
We have our system using this function deeper inside and then it still
crashes on a page reload.
So in other words:
- go to index.php (no crash)
- refresh the page (apache crashes)
Somehow it only crashes on a reload
Reproduce code:
---------------
admin.php or index.php is called and includes the file
"includes/cmsinit.inc"
http://cpgnuke.com/cvs/html/admin.php?v=9.3#19
line 19
http://cpgnuke.com/cvs/html/index.php?v=9.1#47
line 47
cmsinit.inc includes a file "includes/classes/cpg_cache.php"
which contains the call to get_current_user() inside a class function
http://cpgnuke.com/cvs/html/includes/cmsinit.inc?v=9.7#147
line 147
http://cpgnuke.com/cvs/html/includes/classes/cpg_cache.php?v=9.3#56
line 56
Expected result:
----------------
set the define()
Actual result:
--------------
Apache crashes
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=31849&edit=1