Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Magento customer can't log in

I just migrated my website. But I got a problem.

My customers can't log in to their account. When click log in on log-in page. http://www.mywebsite.com/customer/account/login/ It should be log in on their account but it redirects the same page.

Please Help me how to fix that?

like image 639
sobaaroi Avatar asked Dec 13 '13 11:12

sobaaroi


People also ask

How do I reset my Magento 2 customer password?

Step 1: On the Admin sidebar, navigate to Customers > All Customers. Step 2: Look for the customer account in the grid and choose Edit in the Action column. Step 3: In the list of options on the top of the page, click on Reset Password.


1 Answers

After upgrading to Magento 1.8.1 you need to edit your existing template files.

The files listed below need te be change in order to be compatible with Magento 1.8.1. If they exist in your custom theme, compare them to the original base/default/template files.

  • your_package/your_theme/template/customer/form/newsletter.phtml
  • your_package/your_theme/template/customer/form/login.phtml
  • your_package/your_theme/template/customer/form/edit.phtml
  • your_package/your_theme/template/customer/address/edit.phtml
  • your_package/your_theme/template/whishlist/view.phtml
  • your_package/your_theme/template/whishlist/sharing.phtml
  • your_package/your_theme/template/review/form.phtml
  • your_package/your_theme/template/persistent/customer/form/login.phtml
  • your_package/your_theme/template/persistent/checkout/onepage/login.phtml
  • your_package/your_theme/template/checkout/onepage/login.phtml
  • your_package/your_theme/template/checkout/multishipping/overview.phtml
  • your_package/your_theme/template/checkout/cart.phtml
  • your_package/your_theme/template/catalog/product/view.phtml
  • your_package/your_theme/template/sendfriend/send.phtml
  • your_package/your_theme/template/sales/reorder/sidebar.phtml

Edit these files and add <?php echo $this->getBlockHtml('formkey'); ?> after the <form ...> open tag

like image 65
Adriaan Avatar answered Sep 25 '22 06:09

Adriaan