Try the Demo

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
Sr. Member
 
Avatar
Total Posts:  266
Joined:  2010-12-15
Москва, Россия
 

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.

 Signature 

goivvy.com, buy magento modules
- convert guests to registered customers Guest 2 Customer
- assign customer to an order Assign Customer
- call for price Call For Price

Affiliate with Us and earn money!

 
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
Sr. Member
 
Avatar
Total Posts:  266
Joined:  2010-12-15
Москва, Россия
 

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

 Signature 

goivvy.com, buy magento modules
- convert guests to registered customers Guest 2 Customer
- assign customer to an order Assign Customer
- call for price Call For Price

Affiliate with Us and earn money!

 
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
Sr. Member
 
Avatar
Total Posts:  266
Joined:  2010-12-15
Москва, Россия
 

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

 Signature 

goivvy.com, buy magento modules
- convert guests to registered customers Guest 2 Customer
- assign customer to an order Assign Customer
- call for price Call For Price

Affiliate with Us and earn money!

 
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
Sr. Member
 
Avatar
Total Posts:  266
Joined:  2010-12-15
Москва, Россия
 

hard to help you remotely

pm me and see what i can do

 Signature 

goivvy.com, buy magento modules
- convert guests to registered customers Guest 2 Customer
- assign customer to an order Assign Customer
- call for price Call For Price

Affiliate with Us and earn money!

 
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:  77
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

 Signature 

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