PHP 4.0 Bug #4707: Cannot redeclare class ...

From: Date: Tue, 30 May 2000 20:24:41 +0000
Subject: PHP 4.0 Bug #4707: Cannot redeclare class ...
Groups: php.dev 
Request: Send a blank email to php-dev+get-19806@lists.php.net to get a copy of this message
From: crm0922@rocketmail.com Operating system: WinNT 4.0 SP6 IIS4 PHP version: 4.0.0 Release PHP Bug Type: Scripting Engine problem Bug description: Cannot redeclare class ... Apparently the release version of PHP4 under Windows suffers from the same old "Cannot redeclare class ... in whatever.php" problem seen elsewhere in this database. Adding the the define('CLASS', 1) stuff doesn't help, then the error just becomes one about the function not existing in file whatever2.php. It only happens after 1-2 reloads on the page, and is REALLY annoying when a refresh via javascript makes the error occur. I am going to have to add error handlers to continually reload the page as a temporary fix I guess. Any news on this? Chris

« previous php.dev (#19806) next »