How to fix the error “Failed opening required […] PEAR.php” when accessing the Magento 1.4.2.0 Connect Manager?

This error happened, in this case, during the update process from Magento 1.4.1.1 to Magento 1.4.2.0, because Magento compilation was still enabled while cleaning the Magento cache on the command line. There is a report of a similar case.

Deactivating Magento compilation solves the issue only temporarily. It re-appears when re-enabling it, with or without re-compiling all the files in between. So it appears that this is a bug in Magento core. Until it is finally solved by the Magento folks, the simplest and most permanent solution is doing this via ssh:

cd <your-magento-root>/includes/;
ln -s ../downloader/ downloader;

This solution and its further discussion can be found in this magento forum message.


Posted

in

,

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.