Magento Forum

   
Pear not working…what am I doing wrong? 
 
NathanJ
Member
 
Total Posts:  44
Joined:  2008-04-07
 

My understanding is that I can login via SSH and use pear to get packages and upgrades without having to set all my file permissions to 777.

So, I tried to use pear to get the Modern Theme. I executed:

./pear install magento-core/Interface_Frontend_Default_Modern

Here’s what happens:

[root@host public_html]# ./pear install magento-core/Interface_Frontend_Default_Modern
Attempting to discover channel “magento-core"…
unknown channel “magento-core” in “magento-core/Interface_Frontend_Default_Modern”
invalid package name/package file “magento-core/Interface_Frontend_Default_Modern”
Cannot initialize ‘magento-core/Interface_Frontend_Default_Modern’, invalid or missing package file
Package “magento-core/Interface_Frontend_Default_Modern” is not valid
install failed

Any ideas? Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
NathanJ
Member
 
Total Posts:  44
Joined:  2008-04-07
 

Really stuck on this...any help is greatly appreciated!  grin

 
Magento Community Magento Community
Magento Community
Magento Community
 
Crucial Web Host
Guru
 
Avatar
Total Posts:  364
Joined:  2007-11-08
Phoenix, AZ
 

Hello,

You likely need to run the PEAR setup first.  Also, make certain you are in the Magento root directory when issuing the commands.

./pear mage-setup .

Then, you should be able to issue the command to install the modern theme.

./pear install magento-core/Interface_Frontend_Default_Modern

As always - have a backup just in case.

Hope this helps.

 
Magento Community Magento Community
Magento Community
Magento Community
 
NathanJ
Member
 
Total Posts:  44
Joined:  2008-04-07
 

Thanks, worked like a charm.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tagtech
Jr. Member
 
Total Posts:  14
Joined:  2008-05-01
 

I want to thank Crucial Web Hosting for their assistance on this post.

I have been screwing with PEAR for most of the day.

I finally found out how to add a channel but I could NOT find the actual name of the channel.

The lack of documentation is very painful.

Then I could not get all the channels.

Since you cannot cross search forums, I can imagine the frustration of many others such as myself in trying to get PEAR working.

I refuse to run any installation as wide open 777 so I see PEAR as the only option at this time that is valid.

If I had been able to search the entire forum, I would have been done with this in 10 minutes instead of all day.

Thank you Crucial Web Hosting

- TagTech

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

Edit: Ah, I didn’t realize the other Crucial posted the solution, just saw the same avatar and figured it was me wink Well, I’ll say thank you for him, it’s always nice to hear! Glad you got it working.

 
Magento Community Magento Community
Magento Community
Magento Community
 
lakikeanu
Jr. Member
 
Total Posts:  24
Joined:  2008-06-16
 

"Hello,

You likely need to run the PEAR setup first.  Also, make certain you are in the Magento root directory when issuing the commands.

./pear mage-setup .

Then, you should be able to issue the command to install the modern theme.

./pear install magento-core/Interface_Frontend_Default_Modern

As always - have a backup just in case.

Hope this helps. “

How to do these things in windows.. with XAMPP.... ?

how to run the pear set up ?

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