Failed to login to magento administration

I just installed Magento on Windows using WAMP.

The installation was successful without any errors or warnings.

When I view the admin page, I can see the login screen. After entering correct credentials, it doesn't show me the control panel / control panel. Display the same login page.

If I entered wrong credentials, it authenticates and displays the message as "invalid username or password"

I cannot identify the problem. If anyone has gone through this problem and solved it, please help me.

How can I login to Magento administration system.

Note. During installation, I selected session = Database. Will this be a problem?

+2


a source to share


2 answers


This is a common problem with w / Magento installations, and the most common reason for this is actually the domain from which you are accessing the site. If you visit the site locally, using "site" http://localhost/

seems to be causing this problem. Adding a host file to your host to map another domain to localhost ( http://localhost.local

worked for me) might allow you to login.

Of course, this is not a database problem, but a problem with your webserver.



Hope it helps. Thanks,

Joe

+2


a source


This is about Magento set_cookie_params in app / code / core / Mage / Core / Model / Session / Abstract / Varien.php: 100 - if you comment out the ssl_only parameter from this function call - this error will stop showing up. but don't forget to comment it out in production :)



0


a source







All Articles