Bug #14125 Updated: Intermittent failed class wrapper to DB

From: Date: Thu, 13 Dec 2001 11:29:30 +0000
Subject: Bug #14125 Updated: Intermittent failed class wrapper to DB
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-73534@lists.php.net to get a copy of this message
ID: 14125 Updated by: sander Reported By: neil.munro@catalyse.net Old Status: Feedback Status: Closed Bug Type: MySQL related Operating System: Suse Linux 6.2/MySQL 3.22.25 PHP Version: 4.0.6 New Comment: No feedback. Closing. Previous Comments: ------------------------------------------------------------------------ [2001-11-20 18:39:55] mfischer@php.net For a start, can you try if this still happens with the latest RC ? http://www.php.net/~zeev/php-4.1.0RC3.tar.gz Feedback. ------------------------------------------------------------------------ [2001-11-19 17:49:12] neil.munro@catalyse.net "Fatal: Cannot instantiate non-existent class DB_Sql in ... common.php line 23" and the program aborts. ----common.php: include("./db_mysql.inc"); $db = new DB_Sql(); <--line 23 $db->Database = DATABASE_NAME; etc. ---- ----db_mysql.inc: class DB_Sql { /* public: connection parameters */ var $Host = ""; var $Database = ""; var $User = ""; var $Password = ""; etc. ---- ./configure --with-mysql --with-apache=../apache_1.3.19 --enable-track-vars ---- The error happens unpredictably, i.e. the application works fine for say 30 mins and then this message appears on one or more clients. Hitting Refresh allows recovery so it is a temporary failure. I am putting this here in case it relates to MySQL - could this be a result of connection problems? Or, if not, what would trigger this sort of message given that the code must be OK as it works most of the time - common.php is included in all pages. Thanks, Neil Munro. ------------------------------------------------------------------------ Edit this bug report at http://bugs.php.net/?id=14125&edit=1

« previous php.dev (#73534) next »