Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Can not install any extension after move site to new server. 
 
gsmalarms
Jr. Member
 
Total Posts:  10
Joined:  2010-07-12
 

I need help.

The website is using Magento 1.4.1, After we move the site to a new server, everything is fine, except the magento connect.

We can not install any extensions via magento connect, either upgrade or reinstall the exist installed extension.
When install new extension, magento connect shows:

No releases available for package “connect.magentocommerce.com/core/Lib_PEAR”
PEAR ERROR: install failed

Then, we using the SSH
[root@XXXXX]# ./pear install -f magento-core/Mage_All_Latest-stable

Notice: Undefined variable: errno in PEAR/REST.php on line 386
PHP Notice:  Undefined variable: errno in /home/xxxxx/public_html/test/downloader/pearlib/php/PEAR/RES
T.php on line 386

How to solve this ?, please help !!!

 
Magento Community Magento Community
Magento Community
Magento Community
 
parkerhains
Jr. Member
 
Total Posts:  1
Joined:  2011-11-28
 

Remove all the files and reinstall them. It might work.

 
Magento Community Magento Community
Magento Community
Magento Community
 
gsmalarms
Jr. Member
 
Total Posts:  10
Joined:  2010-07-12
 

Thanks for your advice.

But I don’t want to install a new magento.  The installed magento with some of modifications already.

Anybody in here can help me ?

 
Magento Community Magento Community
Magento Community
Magento Community
 
gsmalarms
Jr. Member
 
Total Posts:  10
Joined:  2010-07-12
 

/pearlib/php/PEAR/RES
T.php on line 386

$fp = @fsockopen($host$port$errno$errstr);
            if (!
$fp{
                
return PEAR::raiseError("Connection to `$host:$port' failed: $errstr"$errno);
            
}
        }
 
Magento Community Magento Community
Magento Community
Magento Community
 
gsmalarms
Jr. Member
 
Total Posts:  10
Joined:  2010-07-12
 

Need help !

[root@meida3g groupbuy]# ./pear upgrade-all

NoticeUndefined variableerrstr in PEAR/REST.php on line 386
PHP Notice
:  Undefined variableerrstr in /home/xxxxx/public_html/groupbuy/downloader/pearlib/php/PEA
R
/REST.php on line 386

Notice
Undefined variableerrno in PEAR/REST.php on line 386
PHP Notice
:  Undefined variableerrno in /home/xxxxx/public_html/groupbuy/downloader/pearlib/php/PEAR
/REST.php on line 386
Error getting channel info from connect
.magentocommerce.com/communityConnection to `connect.magentocom
merce.com:80' failed:
 
Magento Community Magento Community
Magento Community
Magento Community
 
Template fans
Guru
 
Total Posts:  446
Joined:  2009-11-02
 

There are 2 methods to resolve this problem.

1. Go to Downloader > config.ini and change:

use_custom_permissions_mode=1

to

use_custom_permissions_mode=0

2. Creat the dir through terminal and gave it 777 permissions and then install using magento-connect.

 
Magento Community Magento Community
Magento Community
Magento Community
 
gsmalarms
Jr. Member
 
Total Posts:  10
Joined:  2010-07-12
 

Template fans;

Thanks for your reply. I will have a try.
After we failed to install extensions via magento connect, we find the method to install the extension manually.

 
Magento Community Magento Community
Magento Community
Magento Community
 
gsmalarms
Jr. Member
 
Total Posts:  10
Joined:  2010-07-12
 

Tried above solution, but it still don’t works.

Also it’s not related to the file permission. We already changed the file permission to 777.

When install any extension, it shows:
No releases available for package “connect.magentocommerce.com/community/Cosmo_Community_99BillPaymentGateway”
PEAR ERROR: install failed

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