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

Page 2 of 3
PEAR error when installing Magento
 
smoke-ING.
Jr. Member
 
Total Posts:  1
Joined:  2010-11-15
 

same for me ,

theres no magento install via downloader possible

 
Magento Community Magento Community
Magento Community
Magento Community
 
pictura4
Jr. Member
 
Total Posts:  2
Joined:  2010-09-20
 

I found solution is not beautiful but it’s working smile

Download this file: dl.dropbox.com/u/10472597/php.zip

Replace content of this catalog: downloader/pearlib/php

It’seems that magento can have to copies of PEAR - one is updated, the second one is old, but the updater is using old one.

I just updated files “by hand” and created package with recent version of pear.

regards Slavomir

[url=http://www.spidersoft.com.au]http://www.spidersoft.com.au [/url]

 
Magento Community Magento Community
Magento Community
Magento Community
 
opener45
Jr. Member
 
Total Posts:  5
Joined:  2010-11-15
 

Thanks a lot, pictura4

your solution worked for me very well

I think, there must be a bugfix for this problem soon

I’ll report the bug in the butracker

 
Magento Community Magento Community
Magento Community
Magento Community
 
odi_um
Sr. Member
 
Avatar
Total Posts:  168
Joined:  2008-04-02
Ukraine
 

Hi Guys,

There is a local copy of PEAR in your downloader folder. And you are upgrading with

pear upgrade --force PEAR

as you can see you are using system PEAR but you need to use local copy

./pear channel-update pear.php.net
./pear upgrade --force PEAR

Hope this will help you.

 
Magento Community Magento Community
Magento Community
Magento Community
 
hups
Jr. Member
 
Total Posts:  21
Joined:  2010-10-18
 

So if I can’t update pear using ssh or any commands like that I have to manually make some file changes?

Can someone please explain?

 
Magento Community Magento Community
Magento Community
Magento Community
 
opener45
Jr. Member
 
Total Posts:  5
Joined:  2010-11-15
 

Hi odi-um,

that was the deciding hint:
- update PEAR in the Magento folder, so the local pear in the downloader-folder is being updated

Thanks a lot - that worked for me wink

 
Magento Community Magento Community
Magento Community
Magento Community
 
kayb
Jr. Member
 
Total Posts:  19
Joined:  2010-05-22
 

I did this: (in root folder of magento install?)

./pear channel-update pear.php.net
Updating channel “pear.php.net”
Channel “pear.php.net” is up to date
server# ./pear upgrade --force PEAR
warning: pear/Console_Getopt requires PEAR Installer (version >= 1.9.1), installed version is 1.7.1
downloading PEAR-1.9.1.tgz ...
Starting to download PEAR-1.9.1.tgz (293,587 bytes)
.............................................................done: 293,587 bytes
downloading Console_Getopt-1.3.0.tgz ...
Starting to download Console_Getopt-1.3.0.tgz (4,408 bytes)
...done: 4,408 bytes
Validation Error: This package.xml requires PEAR version 1.9.1 to parse properly, we are version 1.7.1
Parsing of package.xml from file “/tmp/pear/download/package.xml” failed
Download of “pear/Console_Getopt” succeeded, but it is not a valid package archive
Error: cannot download “pear/Console_Getopt”

upgrade ok: channel://pear.php.net/PEAR-1.9.1
PEAR: Optional feature webinstaller available (PEAR’s web-based installer)
PEAR: Optional feature gtkinstaller available (PEAR’s PHP-GTK-based installer)
PEAR: Optional feature gtk2installer available (PEAR’s PHP-GTK2-based installer)
PEAR: To install optional features use “pear install pear/PEAR#featurename”

Someone the same problem? (and maybe a solution?)

 
Magento Community Magento Community
Magento Community
Magento Community
 
kayb
Jr. Member
 
Total Posts:  19
Joined:  2010-05-22
 
opener45 - 15 December 2010 04:28 AM

Hi odi-um,

that was the deciding hint:
- update PEAR in the Magento folder, so the local pear in the downloader-folder is being updated


Thanks a lot - that worked for me wink

How did you update the PEAR in the Magento folder?

 
Magento Community Magento Community
Magento Community
Magento Community
 
opener45
Jr. Member
 
Total Posts:  5
Joined:  2010-11-15
 
kayb - 15 December 2010 05:56 AM

opener45 - 15 December 2010 04:28 AM
Hi odi-um,

that was the deciding hint:
- update PEAR in the Magento folder, so the local pear in the downloader-folder is being updated


Thanks a lot - that worked for me wink

How did you update the PEAR in the Magento folder?

I don’t really know what you mean, perhaps:
- change in the magento root folder
- then there you start (see post form odi-um) the commands:

./pear channel-update pear.php.net 
./pear upgrade --force PEAR

@kayb
I had the same erros the first time, I started the two commands - start it a second time - no errors any more

 
Magento Community Magento Community
Magento Community
Magento Community
 
Rhonda_Rondeau
Enthusiast
 
Total Posts:  924
Joined:  2010-08-03
Culver City
 

Hi Guys,

There is some additional information here: http://www.magentocommerce.com/bug-tracking/issue?issue=10495

Rhonda

 
Magento Community Magento Community
Magento Community
Magento Community
 
Oonix Media
Jr. Member
 
Total Posts:  5
Joined:  2010-04-29
 

For all how have the same problem you need to update your local magento pear in the right order…

1. Initialise PEAR registry…

./pear mage-setup .


2. Update PEAR registry first time…
./pear channel-update pear.php.net
./pear upgrade --force PEAR

3. If that fails start the update again…
./pear channel-update pear.php.net
./pear upgrade --force PEAR

After that you can install magento without any error message…
./pear install magento-core/Mage_All_Latest-stable

Hope that helps....

Greets
Stefan

 
Magento Community Magento Community
Magento Community
Magento Community
 
jlf
Jr. Member
 
Total Posts:  8
Joined:  2008-01-06
 

Hello everybody:

As pertaining to the problems that have been reported on this topic:

I did have the same problems as reported above:

“pear/Console_Getopt requires PEAR Installer (version >= 1.9.1), installed version is 1.7.1
pear/PEAR requires package “pear/Console_Getopt” (recommended version 1.2.3)
magento-core/Mage_Pear_Helpers requires package “pear/PEAR” (version >= 1.6.2)
magento-core/Lib_Google_Checkout requires package “magento-core/Mage_Pear_Helpers” (version >= 1.0.18800)
magento-core/Mage_Core_Modules requires package “magento-core/Lib_Google_Checkout” (version >= 1.4.2.0, version <= 1.4.3, excluded versions: 1.4.3)
magento-core/Mage_All_Latest requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.2.0)
magento-core/Mage_Core_Adminhtml requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.2.0)
magento-core/Interface_Adminhtml_Default requires package “magento-core/Mage_Core_Adminhtml” (version >= 1.4.2.0, version <= 1.4.3.0, excluded versions: 1.4.3.0)
magento-core/Interface_Frontend_Default requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.3, excluded versions: 1.4.3)
magento-core/Interface_Install_Default requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.3, excluded versions: 1.4.3)
magento-core/Mage_Centinel requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.3, excluded versions: 1.4.3)
magento-core/Interface_Frontend_Base_Default requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.3, excluded versions: 1.4.3)
magento-core/Phoenix_Moneybookers requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.3, excluded versions: 1.4.3)
magento-core/Find_Feed requires package “magento-core/Mage_Core_Modules” (version >= 1.4.2.0, version <= 1.4.3)
magento-core/Lib_Js_Calendar requires package “magento-core/Mage_Pear_Helpers” (version >= 1.0.18800)
magento-core/Lib_Js_Prototype requires package “magento-core/Mage_Pear_Helpers” (version >= 1.0.18800)
magento-core/Mage_Downloader requires package “magento-core/Lib_Js_Prototype” (version >= 1.6.0.3.0, version <= 1.6.1, excluded versions: 1.6.1)
magento-core/Lib_Js_Mage requires package “magento-core/Lib_Js_Prototype” (version >= 1.6.0.3.3, version <= 1.6.1, excluded versions: 1.6.1)
magento-core/Lib_Js_Ext requires package “magento-core/Mage_Pear_Helpers” (version >= 1.0.18800, version <= 1.0.18800)
magento-core/Lib_Js_TinyMCE requires package “magento-core/Mage_Pear_Helpers” (version >= 1.0.18800)
magento-core/Lib_ZF requires package “magento-core/Mage_Pear_Helpers” (version >= 1.0.18800)
magento-core/Lib_Varien requires package “magento-core/Lib_ZF” (version >= 1.10.8.0, version <= 1.10.9.0, excluded versions: 1.10.9.0)
magento-core/Lib_ZF_Locale requires package “magento-core/Mage_Pear_Helpers” (version >= 1.0.18800)
Install Errors
No valid packages found
PEAR ERROR: install failed”

I did the recommended fix from here:

http://www.magentocommerce.com/bug-tracking/issue?issue=10495

Now:

I am having persistent problems with the pear 1.9.1 downloader web installer.

When I start the web installer and press"Start the download process” the iframe window appears and I get the msg “Please wait, preparing for updates...” and then after a minute more or less I get a 504 Gateway Time-out error in the iframe window itself.

I can’t seem to get past this point so any help would be really appreciated.

Thanks,

John

 
Magento Community Magento Community
Magento Community
Magento Community
 
valarok
Jr. Member
 
Total Posts:  4
Joined:  2009-03-09
 

The new install sucks… Here are the steps i followed to successfully install version 1.4.2.0.

First issue was the Pear version 1.7.1 and it should be 1.9.1

after following some posts and upgrading PEAR version to 1.9.1 leaded to more internal 500 errors.. even setting files to 644 and folders to 755.. i still had errors.

So i started from scratch again… sometimes this is the only option… here are the steps that worked for me..

delete all files on the server. you can run the following command in your public_html folder or in your magento folder.

rm -rf *

FTP the downloader and run the wizard. If you get a PEAR version error you will need to force the upgrade. Magento uses a local version of PEAR 1.9.1 that is not compatible with the downloader version 1.7.1 (bug) eventhou my server has 1.9.1 installed.

use Putty to connect via SSH to run commands (Im a microsoft developer so this “linux stuff isnt my thing") use “cd..” commands to navigate to public_html folder and use “ls” command to list directory info. when you find your home/user/public_html folder run the following commands. When you upgrade PEAR and you get access denied run:

chmod 550 pear

then try again to force upgrade. if error go to cpanel > PHP Pear packages and it will run set config.. then rerun:

./pear channel-update pear.php.net

./pear upgrade --force PEAR

After upgrade go back to install wizard and run again. once complete you will probably get Internal 500 error again.. go back to Putty and set permissions. Some FTP programs can also set permissions. Folders = 755 and files =644. This will fix most Internal 500 errors and prevent hacking.

find . -type f -exec chmod 644 {} ‘;’
find . -type d -exec chmod 755 {} ‘;’

Then go back to install and continue…

 
Magento Community Magento Community
Magento Community
Magento Community
 
jlf
Jr. Member
 
Total Posts:  8
Joined:  2008-01-06
 

Thank you for the detailed instructions.

After completing all the steps I still am getting a 504 Gateway Time-out error.

I have uploaded a screen shot of my installation wizard screen.

Image Attachments
mage.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
Mrs_Byte
Jr. Member
 
Total Posts:  18
Joined:  2010-09-07
Dresden Germany
 
pictura4 - 14 December 2010 07:50 PM

I found solution is not beautiful but it’s working smile

Download this file: dl.dropbox.com/u/10472597/php.zip

Replace content of this catalog: downloader/pearlib/php

It’seems that magento can have to copies of PEAR - one is updated, the second one is old, but the updater is using old one.

I just updated files “by hand” and created package with recent version of pear.

regards Slavomir

[url=http://www.spidersoft.com.au]http://www.spidersoft.com.au [/url]

Thank You so much, it seem that it works, all core-Extensions are installed,
other problems were not solved.
I´ll hope, that comes soon.
regards Mrs_Byte

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top
Page 2 of 3