magento 1.9 用户无法登录 magento 1.9 customer can not login

Looks like an issue with form-key

  1. Go to app/design/frontend/[Your-package]/[Your-theme]/template/customer/form/login.phtml and template/persistent/customer/form/login.phtml and under
  2. Find: <ul class=”form-list”>
  3. And paste this right after the code above the following:
<input name="form_key" type="hidden" value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" />

Repeat above for app/design/frontend/Your-package]/[Your-theme]/template/persistent/customer/form/login.phtml

 

原文:http://magento.stackexchange.com/a/79931

本文:magento 1.9 用户无法登录 magento 1.9 customer can not login

Loading

Add a Comment

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.