Magento Forum

Unable to log into the Admin Panel. 
 
i-Dash
Jr. Member
 
Total Posts:  18
Joined:  2009-04-20
 

Hi,

I’ve just installed Magento on my local machine and I’m using the latest version of WAMP.

The installation process was easy enough and appeared to be successful, however I am unable to log into the admin panel?

I have tried numerous suggestions in posts on the forum but none of them seem to work.

I’ve tried the following:
- Using an IP address in place of the domain which doesn’t contain a . i.e. using 127.0.0.1 in place of localhost
- Clicking forgot you password and clicking back to login
- Deleting the files within \var\session
- Uninstalling and reinstalling WAMP
- Uninstalling and reinstalling Magento

The problem appears to be that the core_config_data table is empty except for the following row:

1, Default, 0, catalog/category/root_id, 2

From my understanding there should be just over 500 entries in this table, I’m wondering if anyone is able to export the default data for this table and attach it to the forums so I can run a query to add this data manually?

Also has anyone else found a fix for this problem?

 
Magento Community Magento Community
Magento Community
Magento Community
 
i-Dash
Jr. Member
 
Total Posts:  18
Joined:  2009-04-20
 

Just to add;

The Customer Login is having the same problem, no error message just refreshing the current page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
i-Dash
Jr. Member
 
Total Posts:  18
Joined:  2009-04-20
 

I’ve performed some additional testing.

I’m a little confused why I am missing data from the table (apparently?) but I have worked out how to log in correctly.

Firefox:

localhost - doesn’t work
127.0.0.1 - does work

Google Chrome:

localhost - doesn’t work
127.0.0.1 - doesn’t work

Internet Explorer:

localhost - doesn’t work
127.0.0.1 - doesn’t work

So the conclusion is that you need to create an alias in order for cookies to be correctly saved by the browsers.

How to write an Lmhosts file for domain validation: http://support.microsoft.com/kb/180094

 
Magento Community Magento Community
Magento Community
Magento Community
 
skippybosco
Enthusiast
 
Avatar
Total Posts:  796
Joined:  2008-10-03
 

The reason this is happening is that most browsers require the domain name to have at least one dot in them to store cookies. Not sure why your 127.0.0.1 doesn’t work in IE, that is strange..

More information available in this thread

 
Magento Community Magento Community
Magento Community
Magento Community
 
marc cardenas
Jr. Member
 
Total Posts:  4
Joined:  2009-04-21
 

Thank you.

Using 127.0.0.1 in place of localhost solved my problem. I can now login as an admin, and can now create new users.  grin

I am using WinXP SP2, and the latest version of XAMPP. I just used 127.0.0.1 as my host address on the db configuration part during install, and when I login as an admin I manually change the above url and replace localhost with 127.0.0.1.

 
Magento Community Magento Community
Magento Community
Magento Community
 
skippybosco
Enthusiast
 
Avatar
Total Posts:  796
Joined:  2008-10-03
 

Glad to hear it! Go out and build something great with it!

 
Magento Community Magento Community
Magento Community
Magento Community
 
eshirt
Jr. Member
 
Total Posts:  3
Joined:  2009-07-04
 

hey i hav tried what ever is posted in this forum… i also used firefox.. but still im unable to login… when i type my username n password.. the red box doesnt kom saying tht my username n password is wrong but it also doesnt login… the same page gets reloaded… wat can be the prob..

 
Magento Community Magento Community
Magento Community
Magento Community
 
robin2160
Mentor
 
Avatar
Total Posts:  1046
Joined:  2009-02-15
Berlin / Germany
 

You can try this:
Login with the standard-admin:

User: admin
PW: 123123

Then you can change you current PW under System - Permission - Users

 
Magento Community Magento Community
Magento Community
Magento Community
 
rhyandude
Jr. Member
 
Total Posts:  1
Joined:  2010-07-06
 

im running in ubuntu 10.04 still can’t login
using Firefox 3.6.6 and Google Chrome 5.0.375.86

 
Magento Community Magento Community
Magento Community
Magento Community
 
najamalvi
Jr. Member
 
Total Posts:  1
Joined:  2010-08-05
Islamabad, Pakistan
 

Use 127.0.0.1 instead of localhost while db configuration in installation and also use this to access the site.

 
Magento Community Magento Community
Magento Community
Magento Community
 
hrivera
Jr. Member
 
Total Posts:  2
Joined:  2010-08-29
 

http://magento-xampp.blogspot.com/

 
Magento Community Magento Community
Magento Community
Magento Community
 
marcel055
Jr. Member
 
Total Posts:  1
Joined:  2011-01-12
 

I’ve encountered the exact same problem.

My solution :

I created in the frontend a new user.

I copied the frontend-users password (encrypted) to the admin password. (MyphpAdmin)

 
Magento Community Magento Community
Magento Community
Magento Community
 
shaangola
Jr. Member
 
Total Posts:  2
Joined:  2011-07-24
 

Hey guys i found something here to fix you issue.

This works for me hope it work for you guys too.

http://www.magentocommerce.com/wiki/how_to_fix_login_for_admin_on_local_install#dokuwiki__top

 
Magento Community Magento Community
Magento Community
Magento Community
 
mouradsi
Newbie
 
Total Posts:  0
Joined:  2013-01-19
 

Hi,

I’ve tried the both solutions but i already have the same problem. I can’t log in with the admin Panel.

Another issue is when trying to create new customer (screenshot in attachement) , i have errors :
“The first name cannot be empty.
The last name cannot be empty.
Invalid email address “".”

if someone can help me.

Thkx.

Image Attachments
new account.JPG
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top