Magento Forum

   
Fatal error: Cannot redeclare class PEAR_PackageFile_v2 ?!? 
 
Carumba
Jr. Member
 
Total Posts:  18
Joined:  2009-02-27
California
 

I am getting this when I try to click on the Magento Connect Manager. Is anyone else seeing this or has a suggestion on how to fix this?

The complete error message is

Fatal error: Cannot redeclare class PEAR_PackageFile_v2 in /usr/share/php/PEAR/PackageFile/v2.php on line 37

 
Magento Community Magento Community
Magento Community
Magento Community
 
XIII_73
Jr. Member
 
Total Posts:  6
Joined:  2009-06-23
 

hello,

I have the same problem, and I do not understand all work.

Have you found a solution?

 
Magento Community Magento Community
Magento Community
Magento Community
 
XIII_73
Jr. Member
 
Total Posts:  6
Joined:  2009-06-23
 

I think I have found.
the problem comes from eAccelerator and APC. When I look at my logs, when I called Magento Connect I have several errors of Fast-CGI.
when I remove Fast-CGI Magento Connect works perfectly.

I want a solution with eAccelerator and APC. If I have a solution I’ll post.

PS: sorry for my English

 
Magento Community Magento Community
Magento Community
Magento Community
 
MDG-IT
Member
 
Avatar
Total Posts:  31
Joined:  2010-06-18
Melbourne, Australia
 

Yep, APC caused this too. I think it should be enough to turn it off for the updates / package extensions, then back on.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top