Customer Can't log in

Do you have a custom template and did it work in 1.7? In 1.8.1 form_keys were added, so please check your custom template for this line:

<?php echo $this->getBlockHtml('formkey'); ?>

if it is missing, add it as in

/app/design/frontend/base/default/template/persistent/customer/form/login.phtml

And check all other forms after the update:

https://gist.github.com/drobinson/7913822


http://www.blueclawsearch.co.uk/blog/2013/12/12/fix-customer-cannot-login-to-magento-1-8-1/ this is a solution for the problem

Here's what the above link has to say:

  • Go to template/customer/form/login.phtml and template/persistent/customer/form/login.phtml and under

    <ul class="form-list">
    
  • Add the following code in the login form

    <input type="hidden" name="form_key" value="<?php echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
    

If you are using the login form in different templates then you use add the form_key to the other parts as well.