2016-08-20 81 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

相關問題