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

magento 1.6..2.0 admin cannot login
 
metak3
Jr. Member
 
Total Posts:  4
Joined:  2012-02-01
 

I installed magento 1.6.2.0 on my WAMP version 2.2 local server. When i want to login admin it says that password or login is invalid. I tryed many soulution that worked for other people in older versions but i cant make it work.

Anyone have/had same problem? How to fix this?

thx, metak3

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

resetting the password doesnt help?

try to reset manually:

Here is how to manually change magento admin password.

Magento uses pretty simple password hashing algorithm:

UPDATE admin_user 
 SET password
=CONCAT(md5('<salt><pass>'),':<salt>')
 
WHERE user_id=<your id>

where <salt> - any string, <pass> - your new password.
Don’t forget the semicolon.

 
Magento Community Magento Community
Magento Community
Magento Community
 
metak3
Jr. Member
 
Total Posts:  4
Joined:  2012-02-01
 

no lost password did not help

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

what do you mean you lost your password? you cant access mysql console? just change it manually from your phpAdmin or what have you

 
Magento Community Magento Community
Magento Community
Magento Community
 
metak3
Jr. Member
 
Total Posts:  4
Joined:  2012-02-01
 

I changed password but it still does not work. :|

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

hm, try to delete cookie, then enable mysql logging

set global general_log=1;

see your log file

show variables like  "&#xge;neral_log_file%";

then make sure you get smth like this in that file:

SELECT `admin_user`.* FROM `admin_userWHERE (username='XXXXXX')

and of course make sure you dont press caps lock or any of that stuff

 
Magento Community Magento Community
Magento Community
Magento Community
 
metak3
Jr. Member
 
Total Posts:  4
Joined:  2012-02-01
 

Still does not work.Its like it doesn’t know user password from database. I need to use magento because it support multi vendro (i have some sort of homework for university<-can’t finish it if i cant login in magento)

 
Magento Community Magento Community
Magento Community
Magento Community
 
goivvy
Guru
 
Avatar
Total Posts:  322
Joined:  2010-12-15
Moscow, Russia
 

hard to help you remotely

pm me and see what i can do

 
Magento Community Magento Community
Magento Community
Magento Community
 
paivaric
Jr. Member
 
Total Posts:  2
Joined:  2012-02-09
 

I´m with the same problem. Any solution?

 
Magento Community Magento Community
Magento Community
Magento Community
 
paivaric
Jr. Member
 
Total Posts:  2
Joined:  2012-02-09
 

the update solution worked for me

 
Magento Community Magento Community
Magento Community
Magento Community
 
thylaksoft
Sr. Member
 
Avatar
Total Posts:  78
Joined:  2009-12-10
New Castle, DE
 

you just comment the following lines
app/code/core/mage/core/model/session/abstract/varien.php
$cookieParams = array(
‘lifetime’ => $cookie->getLifetime(),
‘path’ => $cookie->getPath()

/*,
‘domain’ => $cookie->getConfigDomain(),
‘secure’ => $cookie->isSecure(),
‘httponly’ => $cookie->getHttponly()
*/

);
after comment the following line refresh the page and try to login

For more details contact
Thylaksoft LLC
http://www.Thylaksoft.com

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