Re: Recently upgraded my Pear::Config, and after all my applications are crashing..
| From: | Louie Miranda | Date: | Mon, 10 Apr 2006 08:14:59 +0000 |
| Subject: | Re: Recently upgraded my Pear::Config, and after all my applications are crashing.. | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-23604@lists.php.net to get a copy of this message | ||
I am sorry, but when i doubled checked on my modules. The config was just
installed after i have tried to upgrade. Isnt this a bug on Config? Since,
thats the last thing i did before everything went wrong.
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.
>
On 4/10/06, Adam Ashley <adam.ashley@ilisys.com.au> wrote:
>
> 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
>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
>
> iD8DBQBEOhDAiQOxIxaQ8/ARAvRbAJ4jZXwG9d7klIQrVAeK7KGiI5kWbACcCsdR
> DK+0oD3kZ8XnSAeHQ7Jd3u8=
> =FkBd
> -----END PGP SIGNATURE-----
>
>
>
--
Louie Miranda (lmiranda@gmail.com)
http://www.axishift.com
//JSM-W