I just moved my magento store from sharing server to AWS. After that I am not able to login as admin. Admin login page shows validation with wrong credentials and for right ones it refreshes the page with new url but stays in login page.

The frontend works correctly.

Any leads? Thanks in advance.

  • Are you using memcache? – Julien Lachal Jan 10 '17 at 10:02
  • It is not used. – Rose Jan 10 '17 at 10:09
  • What is your PHP version ? – Mrunmay Deswandikar Jan 12 '17 at 4:34

I found the solution for my problem. Its because of the php version in the server. Magento version 1.9 and in server, PHP version was 7. I changed the PHP version to 5.6 then the problem got fixed.

The cause of the problem can be different and for me it was the PHP version in the server.


In your php.ini update enable max_input_vars and increase the value

;How many GET/POST/COOKIE input variables may be accepted max_input_vars = 35000

that maybe can solve the issue.

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.