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

Can’t login to admin panel on localhost. Help very much appreciated. 
 
Vixie
Jr. Member
 
Total Posts:  2
Joined:  2010-05-22
 

Hi there,

I’ve just installed magento without problems on localhost, and I am now unable to login to the admin panel even though I am very sure that I have entered the correct username and password. Everytime I hit hit login, the page simply ‘refreshes’ and nothing happens. Any kind souls out there to help me solve my problems?

Thanks in advance.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MagePsycho
Mentor
 
Avatar
Total Posts:  1702
Joined:  2009-06-23
 

One Question:
Which url are you using for magento in localhost, is it http://localhost or http://127.0.0.1?

if it’s localhost, then probably this is the cause.
.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Vixie
Jr. Member
 
Total Posts:  2
Joined:  2010-05-22
 
MagentoPycho - 29 May 2010 06:18 AM

One Question:
Which url are you using for magento in localhost, is it http://localhost or http://127.0.0.1?

if it’s localhost, then probably this is the cause.
.

Yes I am using localhost. In addition, when I attempt to use http://127.0.0.1 to access the admin panel, the url automatically changes back to local host. i.e. when I enter http://127.0.0.1/magento/index.php/admin, the address will automatically switch back to http://localhost/magento/index.php/admin. I understand from some research that this is likely due to a cookie problem, but I have yet to find a solution.

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