0
votes

I migrated my website from one hosting provider to another. Everything worked well when i changed the A-records on server before changing the Nameservers.

After the Nameserver change, problems have started creeping in. First there were no links were working. After asking the provider, they said the .htaccess was blank and they have restored the default configuration and things will work fine.

The links have started working but I am unable to login into the admin section. After clicking on the login, I am redirected to the same page without any change in the URL.

UPDATE

Visit http://eyaas.com/admin , enter any credentials, and click login to see the problem. Nothing happens

4

4 Answers

4
votes

First, delete all you cookies in your brwoser, and try again.

If the authentication succeeds (you're sure of your credentials) but magento redirects you on the admin login page without any error, the problem could be a bad synchronisation of the time between you and the server.. (the cookie created in the browser auto-destructs itself because it expires right away)

Check the server & client system date/time.

ps: did you modify all the urls in the table core_config_data ?

1
votes

You have to change the cookie storage path so inject below update query in you Database.

UPDATE core_config_data SET value = 'new_domain' where path = 'web/cookie/cookie_domain';

in above query if your domain is www.vibrantwebstore.com than new_domain is '.vibrantwebstore.com' or leave blank('')

0
votes

try a number of different browsers including Safari or Opera. Chrome will give some problems and you need to remember to clear you cache in Chrome after making changes!

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

0
votes

It happened with me, I tried everything. Changed Varien.php file, cleared cache files and everything , still it didn't work. The issue in my case was PHP version. I had PHP 7 and my magento was 1.8 due to which it was not working, so all I did was brought my PHP to version 5.6 and it worked perfectly.