Magento Forum

   
PEAR.php fatal error
 
sharkufc
Jr. Member
 
Total Posts:  19
Joined:  2008-10-15
 

Hi guys, i’m trying to upgrade magento. I’ve downloaded the latest release from official site and i’m uploaded the files on my server.
All things works except magento connnect.
When I try to go in magento connect, I have this error:

Fatal error: require_once() [function.require]: Failed opening required ‘/home/sito/public_html/downloader/pearlib/php/PEAR.php’ (include_path=’/home/sito/public_html/downloader/pearlib/php:/home/sito/public_html/app/code/local:/home/sito/public_html/app/code/community:/home/sito/public_html/app/code/core:/home/sito/public_html/lib:.:/usr/lib/php:/usr/local/lib/php’) in /home/sito/public_html/lib/Varien/Pear.php on line 60

In downloader folder there isn’t pearlib folder, as in the zip downloaded from the official site. How can I fix this?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial
Enthusiast
 
Avatar
Total Posts:  770
Joined:  2007-11-07
Phoenix, AZ
 

So you tried to upgrade Magento by downloading the latest version and then uploading those files? If so, that’s not the correct way to do this. By default, the directory you’ve mentioned doesn’t exist in 1.5.x. I would suggest using Magento Connect or SSH to upgrade instead of just copying over the updated files.

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