客户注册在Magento中不起作用

客户注册在Magento中不起作用,magento,customer,Magento,Customer,在my magento multi-store view网站中,客户注册在两家商店的magento 1.9.2.0中均不起作用。我添加了一行 echo $this->getBlockHtml('formkey'); echo$this->getBlockHtml('formkey') 在我的主题中的persistent/customer/form/register.phtml中。单击“提交”按钮时,它仍会重定向到同一页面,并且帐户未在商店中创建。请检查您的“创建客户表单”的表单操作 <in

在my magento multi-store view网站中,客户注册在两家商店的magento 1.9.2.0中均不起作用。我添加了一行 echo $this->getBlockHtml('formkey'); echo$this->getBlockHtml('formkey')


在我的主题中的persistent/customer/form/register.phtml中。单击“提交”按钮时,它仍会重定向到同一页面,并且帐户未在商店中创建。

请检查您的“创建客户表单”的表单操作

<input type="hidden" 
       name="form_key"
       value="<?php echo Mage::getSingleton('core/session')->getFormKey() ?>" /> 
<form action="<?php echo $this->helper('customer')->getRegisterPostUrl()?>" method="post" id="form-validate" enctype="multipart/form-data">

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