Re: Recently upgraded my Pear::Config, and after all my applications are crashing..

From: Date: Mon, 10 Apr 2006 08:01:04 +0000
Subject: Re: Recently upgraded my Pear::Config, and after all my applications are crashing..
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-23602@lists.php.net to get a copy of this message
On Mon, 2006-04-10 at 15:49 +0800, Louie Miranda wrote: > This is how i upgraded my Config.. > > pear upgrade -a Config > .. > upgrade ok: channel://pear.php.net/Config-1.10.6 > > Then all my pear::db connections got all this errors. > > [Mon Apr 10 15:43:22 2006] [error] PHP Fatal error: Cannot redeclare class > config in /usr/lib/php/Config.php on line 43 > [Mon Apr 10 15:43:23 2006] [error] PHP Fatal error: Cannot redeclare class > config in /usr/lib/php/Config.php on line 43 > [Mon Apr 10 15:43:24 2006] [error] PHP Fatal error: Cannot redeclare class > config in /usr/lib/php/Config.php on line 43 > [Mon Apr 10 15:43:28 2006] [error] PHP Fatal error: Cannot redeclare class > config in /usr/lib/php/Config.php on line 43 > > Good thing i have a copy of the /php/ pear libary last month. And i was able > to get all things working again. But, im shocked that all my pear modules > just stopped working. > > What could be the problem of this? At a guess you are trying to include two copies of the files or you have another object called Config already included within your code. Adam Ashley

Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
« previous php.pear.general (#23602) next »