0

I need urgent help as to how to log into my admin page. Everything is working fine after migration but admin page refuses to log me in. I have tried so many suggestions here. But not is working for me. I use Magento V2.2.3

  • any error in logs? what is the error message you are getting during login? – Kalyan Chakravarthi V Apr 2 '18 at 5:04
  • No error log or message. It just rolls and stops with cleared form values.. basically just refreshes. – Daniel Apr 2 '18 at 5:05
  • 2
    is there any cookie domain set in configuration? – Kalyan Chakravarthi V Apr 2 '18 at 5:06
  • try different browser , there would be cookies issue. – Naveed Asim Apr 2 '18 at 5:08
  • it was configured on xampp and migrated... i don't know much about magento as i am new to it – Daniel Apr 2 '18 at 5:08
1

Directly in database, Edit web/secure/base_url in core_config_data table.

Please set HTTP instead of https.

I hope this will work for you.

| improve this answer | |
1

I opened app/etc/env.php file and changed the name of the shop backend .

'backend' => [ 'frontName' => 'new_admin_backend_name' ]

Should clear up anything related to the old backend name.

| improve this answer | |
0

In my case I had a cookie domain set to the new host name.

I managed to correct this with the following steps on database level:

UPDATE core_config_data
SET value='new-domain.example.com'
WHERE path = 'web/cookie/cookie_domain';

And then it worked! Thanks for the hint @Kalyan Chakravarthi V

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.