This tutorial will show you how to fix the issue with customer login. When a customer puts his e-mail and password and clicks Submit, the page refreshes and leaves the fields empty, without logging in.
Usually, this issue occurs if you are using Magento 1.8.0.x theme with Magento 1.8.1.x engine.
In order to fix this issue, please follow the steps below:
You can use FTP client or File manager in cPanel to edit this file. Navigate to app/design/frontend/default/themeXXX/template/persistent/customer/form directory on your server.
Find login.phtml file and open it in the Editor.
You should insert this code:
<input type="hidden" name="form_key" value="<? echo Mage::getSingleton('core/session')->getFormKey(); ?>" />
Save changes to the file.
Clear Magento cache. Refresh your page with login form, now it works fine. Customers can log in without any problems.
Feel free to check the detailed video tutorial below: