Magento Forum

   
Page 2 of 6
Login error after upgrade
 
truckerdeluxe
Jr. Member
 
Avatar
Total Posts:  10
Joined:  2007-08-31
Santa Monica, Ca.
 

I figured it out.

I had type install this extension key:

magento-core/Mage_All_Latest

see attached.

Image Attachments
Picture 2.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
kneemahp
Sr. Member
 
Total Posts:  116
Joined:  2008-08-07
 

so i’m getting this exact error.

when i got to my ssh i go to the directory var/www/html/ which is where my magento is installed.

so i type

[/var/www/html]$ pear install mage-core/Mage_All_Latest-stable

and i get this

Attempting to discover channel "mage-core"...
unknown channel "mage-core" in "mage-core/Mage_All_Latest-stable"
invalid package name/package file "mage-core/Mage_All_Latest-stable"
Cannot initialize 'mage-core/Mage_All_Latest-stable'invalid or missing package file
Package 
"mage-core/Mage_All_Latest-stable" is not valid
install failed

my hosting company told me not to type ./pear because it wasn’t working for me. just typing pear then the command seems to be working for me.

 
Magento Community Magento Community
Magento Community
Magento Community
 
AnneLise
Sr. Member
 
Avatar
Total Posts:  154
Joined:  2008-09-08
Bergen, Norway
 

Remember to select the “settings” tab in Magento Connect, change preferred state to “Stable” and save - before upgrading.

If this is set to beta, or alpha you often get the invalid package error.

----

And also, try to use “magento-core/Mage_All_Latest “ instead of “magento-core/Mage_All_Latest-stable”

 
Magento Community Magento Community
Magento Community
Magento Community
 
Discovery
Enthusiast
 
Total Posts:  767
Joined:  2007-12-29
 

@chadalderson - you need to install some php bits and bobs. I don’t know how you do ‘yum install php-mcrypt’ on a MAc, but that is what you need to do.

I would be tempted to do a reinstall if I were you - you could save time that way.

@David - well done for understanding the instructions better than the rest of us! I had severe login problems and your tips here have helped immensely!

 
Magento Community Magento Community
Magento Community
Magento Community
 
vinai
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2008-04-04
Heidelberg, Germany
 

@kneemahp

kneemahp - 31 March 2009 12:04 AM

so i’m getting this exact error.
my hosting company told me not to type ./pear because it wasn’t working for me. just typing pear then the command seems to be working for me.

You have to use the magento version of pear - the system wide pear wont work.
Try this first:

cd magento
chmod 
+x pear
./pear install -f magento-core/Mage_All_Latest

If the install doesn’t do anything (or only installs one package), try

./pear upgrade-all

HTH,
Vinai

EDIT: note to self: never hit post without rereading!

 
Magento Community Magento Community
Magento Community
Magento Community
 
pouya
Jr. Member
 
Total Posts:  16
Joined:  2008-05-12
 

so i’m getting this Warning :
./pear install -f magento-core/Mage_All_Latest
:/srv/www/vhosts/......../httpdocs # ./pear install -f magento-core/Mage_All_Latest
warning: magento-core/Mage_All_Latest requires package “magento-core/Mage_Core_Modules” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1.2
warning: magento-core/Mage_All_Latest requires package “magento-core/Mage_Core_Adminhtml” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1.1
warning: magento-core/Mage_All_Latest requires package “magento-core/Interface_Adminhtml_Default” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1.2
warning: magento-core/Mage_All_Latest requires package “magento-core/Interface_Frontend_Default” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1
warning: magento-core/Mage_All_Latest requires package “magento-core/Interface_Install_Default” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1
downloading Mage_All_Latest-1.3.0.tgz ...
Starting to download Mage_All_Latest-1.3.0.tgz (998 bytes)
....done: 998 bytes
install ok: channel://connect.magentocommerce.com/core/Mage_All_Latest-1.3.0

Install ok!!!! but still V1.2.1.2 !!
I try to upgrade Magento via Connector (stable)-->(magento-core/Mage_All_Latest) and got this message:magento-core/Mage_All_Latest is already installed and is the same as the released version 1.3.0
PEAR ERROR: install failed

thanks for your help

 
Magento Community Magento Community
Magento Community
Magento Community
 
AnneLise
Sr. Member
 
Avatar
Total Posts:  154
Joined:  2008-09-08
Bergen, Norway
 
pouya - 31 March 2009 02:25 AM

so i’m getting this Warning :
./pear install -f magento-core/Mage_All_Latest
:/srv/www/vhosts/......../httpdocs # ./pear install -f magento-core/Mage_All_Latest
warning: magento-core/Mage_All_Latest requires package “magento-core/Mage_Core_Modules” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1.2
warning: magento-core/Mage_All_Latest requires package “magento-core/Mage_Core_Adminhtml” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1.1
warning: magento-core/Mage_All_Latest requires package “magento-core/Interface_Adminhtml_Default” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1.2
warning: magento-core/Mage_All_Latest requires package “magento-core/Interface_Frontend_Default” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1
warning: magento-core/Mage_All_Latest requires package “magento-core/Interface_Install_Default” (version >= 1.3.0, version <= 1.3.0), installed version is 1.2.1
downloading Mage_All_Latest-1.3.0.tgz ...
Starting to download Mage_All_Latest-1.3.0.tgz (998 bytes)
....done: 998 bytes
install ok: channel://connect.magentocommerce.com/core/Mage_All_Latest-1.3.0

Install ok!!!! but still V1.2.1.2 !!
I try to upgrade Magento via Connector (stable)-->(magento-core/Mage_All_Latest) and got this message:magento-core/Mage_All_Latest is already installed and is the same as the released version 1.3.0
PEAR ERROR: install failed

thanks for your help

Did you clear your cache?

 
Magento Community Magento Community
Magento Community
Magento Community
 
pouya
Jr. Member
 
Total Posts:  16
Joined:  2008-05-12
 

@

 
Magento Community Magento Community
Magento Community
Magento Community
 
pouya
Jr. Member
 
Total Posts:  16
Joined:  2008-05-12
 

@laqua, I have cleared cache befor, but its the same !

 
Magento Community Magento Community
Magento Community
Magento Community
 
John
Sr. Member
 
Avatar
Total Posts:  129
Joined:  2007-12-20
Sheffield, United Kingdom
 

Try the Pear setup first ...

./pear mage-setup .

This is the test system - right?

Regards
John

 
Magento Community Magento Community
Magento Community
Magento Community
 
vinai
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2008-04-04
Heidelberg, Germany
 

@pouya Have you moved the magento installation directory after the initial installation?
If so, try

./pear mage-setup .
Don’t forget the last period.

Then try the install -f

HTH,
Vinai

EDIT: Ha, @John beat me to it smile

 
Magento Community Magento Community
Magento Community
Magento Community
 
pouya
Jr. Member
 
Total Posts:  16
Joined:  2008-05-12
 
John - 31 March 2009 04:13 AM

Try the Pear setup first ...

./pear mage-setup .

This is the test system - right?

Regards
John

@John, I have tried it befor too!, wenn i try to install again via SSH it says that Magento 1.3.0 is installed! 

Thanks

 
Magento Community Magento Community
Magento Community
Magento Community
 
aiva
Jr. Member
 
Total Posts:  17
Joined:  2009-02-04
 

I have 1.2.1.2 installed. Have no SSH access and Magento Connect doesn’t function. Would overwriting current files with the files from 1.3.0 full package do the upgrade or do i need update for database tables as well?

 
Magento Community Magento Community
Magento Community
Magento Community
 
vinai
Sr. Member
 
Avatar
Total Posts:  218
Joined:  2008-04-04
Heidelberg, Germany
 

@alva the database will be updated on the next load of your store, not the upgrade of the files. So you can try overwriting the installation. It might work (Backup...!)

 
Magento Community Magento Community
Magento Community
Magento Community
 
Loaded Expert
Jr. Member
 
Total Posts:  25
Joined:  2008-05-10
Karachi
 

I am having same problem, can’t access admin area our downloader.

I am using 1and1 hosting and have php 5 and 4 both installed. Default it php 4 so how i can use

./pear install magento-core/Mage_All_Latest-stable

i get following errors.

magento-core/Mage_All_Latest requires PHP (version >= 5.2.0version <= 6.0.0excluded versions6.0.0), installed version is 4.4.9
magento
-core/Mage_Core_Adminhtml requires PHP (version >= 5.2.0version <= 6.0.0excluded versions6.0.0), installed version is 4.4.9
magento
-core/Interface_Adminhtml_Default requires PHP (version >= 5.2.0version <= 6.0.0excluded versions6.0.0), installed version is 4.4.9
magento
-core/Interface_Adminhtml_Default requires package "magento-core/Mage_Core_Adminhtml" (version >= 1.3.0version <= 1.3.0)
magento-core/Interface_Install_Default requires PHP (version >= 5.2.0version <= 6.0.0excluded versions6.0.0), installed version is 4.4.9
magento
-core/Mage_Downloader requires PHP (version >= 5.2.0version <= 6.0.0excluded versions6.0.0), installed version is 4.4.9
magento
-core/Lib_Js_Ext requires PHP (version >= 5.2.0version <= 6.0.0excluded versions6.0.0), installed version is 4.4.9
magento
-core/Lib_LinLibertineFont requires PHP (version >= 5.2.0version <= 6.0.0excluded versions6.0.0), installed version is 4.4.9
No valid packages found
install failed

how i can switch to php5 from ssh.

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