Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6896415
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T07:02:21+00:00 2026-05-27T07:02:21+00:00

I really hope someone here can help out with this. I’m using Magento 1.6.1.0

  • 0

I really hope someone here can help out with this.

I’m using Magento 1.6.1.0 new install

If a customer clicks the forgotten password link on the frontend, they are sent an email with a link to click. When they click the link in the email, a blank white page is shown in the browser (no prompt to reset pword). The path when the email link is launched looks like this:

    www.mystore.com/customer/account/resetpassword/?id=4 token=26f8abcc1efd5559ce81ced2706586db

The "error_log" said:
30-Nov-2011 07:42:50] PHP Fatal error: Call to a member function setCustomerId() on a non-object in /home3/bestcara/public_html/app/code/core/Mage/Customer/controllers/AccountContr‌​oller.php on line 587

and here’s the code block from AccountController.php

     * Display reset forgotten password form
 *
 * User is redirected on this action when he clicks on the corresponding link in password reset confirmation email
 *
 */
public function resetPasswordAction()
{
    $resetPasswordLinkToken = (string) $this->getRequest()->getQuery('token');
    $customerId = (int) $this->getRequest()->getQuery('id');
    try {
        $this->_validateResetPasswordLinkToken($customerId, $resetPasswordLinkToken);
        $this->loadLayout();
        // Pass received parameters to the reset forgotten password form
        $this->getLayout()->getBlock('resetPassword')
            ->setCustomerId($customerId),<------------------------------------Line 587
            ->setResetPasswordLinkToken($resetPasswordLinkToken);
        $this->renderLayout();
    } catch (Exception $exception) {
        $this->_getSession()->addError(Mage::helper('customer')->__('Your password reset link has expired.'));
        $this->_redirect('*/*/');
    }
}

I really need to fix this as soon as possible. Any help is much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T07:02:22+00:00Added an answer on May 27, 2026 at 7:02 am

    Looks like my theme was not supported for Magento 1.6.1.0

    go to:
    app/design/frontend/default/[your_custom_theme_folder]/layout/customer.xml

    add these codes:

    <customer_account_resetpassword translate="label">
        <label>Reset a Password</label>
        <remove name="right"/>
        <remove name="left"/>
    
        <reference name="head">
            <action method="setTitle" translate="title" module="customer">
                <title>Reset a Password</title>
            </action>
        </reference>
        <reference name="root">
            <action method="setTemplate">
                <template>page/1column.phtml</template>
            </action>
            <action method="setHeaderTitle" translate="title" module="customer">
                <title>Reset a Password</title>
            </action>
        </reference>
        <reference name="content">
            <block type="customer/account_resetpassword" name="resetPassword" template="customer/form/resetforgottenpassword.phtml"/>
        </reference>
    </customer_account_resetpassword>
    

    Works like a charm!

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm almost losing it, i really hope someone can help me out! I'm using
I really hope you can help out here. I'm creating a theme for a
I'm having a really frustrating problem I hope someone can help me with. Here
I'm driving myself nuts with this particular problem, i really hope someone can help!
I have been trying to figure this out for days. Hope someone can help.
This really, really urks me, so I hope that someone can give me a
hope to get some help here because this is something that really makes me
I'm having some javascript conflict problem, and hope someone can help me out. I'm
I am really stuck with an sql query... I hope someone can help shed
Since there's no jsPlumb forum anywhere I hope someone here can help me. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.