If you get the Invalid login credentials error when using the Magento Connect Manager, you most likely changed your FTP credentials some time ago and the Connect Manager still uses the old credentials. To get rid of this error, simply…
Fixing Invalid login credentials in Magento Connect Manager
If the Magento Connect Manager displays the error Invalid login credentials , your FTP credentials may have changed while the Connect Manager still has the old ones stored. The simplest workaround is to delete or rename the file connect.cfg im…
Where does Magento Connect Manager store version numbers?
The Magento Connect Manager’s version numbers are stored in serialized form in the file /downloaderinside the directory (which should be renamed for security reasons) cache.cfg . You can read that file using the following code:
|
1 2 3 4 5 6 |
$contents = file_get_contents('cache.cfg'); $uncompressed = gzuncompress($contents); $unserializedData = unserialize($uncompressed); var_dump($unserializedData['channels_by_name']['community']['packages']); var_dump($unserializedData); |
Changing the data stored…