Magento客户无法登录 [英] Magento customer can't log in

查看:166
本文介绍了Magento客户无法登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚迁移了我的网站.但是我遇到了问题.

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

我的客户无法登录他们的帐户.单击登录页面上的登录时. http://www.mywebsite.com/customer/account/login/ 它应该登录到他们的帐户,但会重定向同一页面.

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.

请帮助我解决该问题?

推荐答案

升级到Magento 1.8.1后,您需要编辑现有的模板文件.

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

下面列出的文件需要更改才能与Magento 1.8.1兼容.如果它们存在于您的自定义主题中,请将它们与原始base/default/template文件进行比较.

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
  • 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

编辑这些文件,并在<form ...>打开标记之后添加<?php echo $this->getBlockHtml('formkey'); ?>

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

这篇关于Magento客户无法登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆