Magento: Can't log into admin [duplicate]

2019-08-07 06:46发布

问题:

This question already has an answer here:

  • Can't log in to Magento Admin 22 answers

I have moved my Magento installation to a different host, and changed the domain name. I have also switched from using https to http.

For some reason, I can not log into the admin area. When I click on "log in", nothing happens - it just reloads the page.

If I click on "Forgot your password", it asks me to enter my email, but there the same thing happens - it just reloads the page, without doing anything.

I have tried changing the secure/unsecure base URL, deleting var/cache but nothing seems to work so far.

Any suggestions?

Thanks!

NOTE: Other similar questions do NOT apply. I have tried all the suggestions, which did not work. This is NOT a duplicate.

回答1:

Check if the secure and insecure url are correct in db

If they are correct remove all the sub-folder of var for example: var/cache

Then refresh the cache in cache management

hope this will works! you can also check this link.