#31849 [Opn]: get_current_user() still crashes on page refresh

From: Date: Fri, 04 Feb 2005 22:16:25 +0000
Subject: #31849 [Opn]: get_current_user() still crashes on page refresh
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73488@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: Open Bug Type: Reproducible crash Operating System: Windows xp sp2 PHP Version: 4.3.10 New Comment: the class function is called like: Cache::array_load('MAIN_CFG'); As seen in cmsinit.inc line 155 Previous Comments: ------------------------------------------------------------------------ [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

« previous php.bugs (#73488) next »