2016-08-20 57 views
0

我我的Magento商店升级到最新版本,在这之后我无法重置客户密码时应前端,所以:Magento的24年9月1日升级 - 重设密码问题

  1. 我按忘记密码按钮
  2. 完全与我的电子邮件密码,然后按提交
  3. 在接收到的电子邮件,我按下“重置密码”按钮,我重定向到了商店,我有这样的错误:您的密码重置链接已过期。

我该如何解决这个问题?

+0

请在您的模板customer/form/forgotpassword.phtml文件中参考:http://magento.stackexchange.com/questions/84605/magento-reset-password-link-not-working-after-upgrade –

+0

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

+0

也提到这个http://www.dudesquare.nl/blog/2015/11/03/reset-password-blank-page-magento-1-9-2-2/ definatly你会得到解决方案 –

回答

1
I had the same, but a second error message appeared 
which said that a required field is not filled out. 
In general: when anything goes wrong when saving the customer, 
the said error message "Your password reset link has expired" shows up. 
So, pay attention to any additional error messages showing up or in your log files. 

If you want to find out what's happening in detail, 
go to the file 
"app/code/core/Mage/Customer/controllers/AccountController.php" 
and modify the method resetPasswordPostAction temporarily. 
Inside the } catch (Exception $exception) { directive, add Mage::logException($e);. 
After you have seen the error again, 
you can find the real error message in the file var/log/exception.log. 

参考链接:https://magento.stackexchange.com/questions/84605/magento-reset-password-link-not-working-after-upgrade

希望这将帮助你!

+0

嗨,非常感谢,我这样做,但是我在var/log/exception.log中看不到任何东西,我只有两个错误: 注意:未定义索引:/ home/public_html/app中的项目/code/core/Mage/Page/Block/Html/Head.php on line 166 警告:在/ home/public_html/app/code/core/Mage/Page/Block/Html中为foreach()提供了无效参数/Head.php在第166行 – Robert

相关问题