Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Reset Password URL

    Zen Cart 2.0.1 Database Patch Level: 2.0.0
    PHP 8.3.14
    Bootstrap 3.7.2-beta5
    No checkout plugins

    Upon installation the admin config installs I believe as expected, 2 options enable/disable & Password reset method which is set to Password Reset URL.

    It does not work once enabled, the password forgotten link still only provides the temp password.

    Also, this log is being generated.

    [02-Jan-2025 09:27:59 UTC] Request URI: /cart/prints/index.php?cmd=configuration&gID=34&cID=782, IP address: xxx.xxx.xxx.xxx, Language id 1
    #0 /home/account/public_html/cart/prints/includes/init_includes/init_reset_password.php(28): zen_debug_error_handler()
    #1 /home/account/public_html/cart/includes/autoload_func.php(40): require_once('/home/account/...')
    #2 /home/account/public_html/cart/prints/includes/application_top.php(42): require('/home/account/...')
    #3 /home/account/public_html/cart/prints/configuration.php(8): require('/home/account/...')
    #4 /home/account/public_html/cart/prints/index.php(16): require('/home/account/...')
    --> PHP Warning: Undefined variable $configuration_group_id in /home/account/public_html/cart/prints/includes/init_includes/init_reset_password.php on line 28.

    Thanks,
    Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  2. #2
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    932
    Plugin Contributions
    9

    Default Re: Reset Password URL

    I had a fix for this... Thought it was included in the update.

    Find line 28:

    PHP Code:
    if($configuration_group_id == ''){ 
    Change line 28 to:

    PHP Code:
    if(isset($configuration_group_id) && !zen_not_null($configuration_group_id)){ 
    I'll resubmit this right now.
    Last edited by retched; 3 Jan 2025 at 05:17 PM. Reason: Adding "BEFORE"

  3. #3
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Reset Password URL

    Quote Originally Posted by retched View Post
    I had a fix for this... Thought it was included in the update.

    Find line 28:

    PHP Code:
    if($configuration_group_id == ''){ 
    Change line 28 to:

    PHP Code:
    if(isset($configuration_group_id) && !zen_not_null($configuration_group_id)){ 
    I'll resubmit this right now.
    This does not resolve the issue. Cart is still sending a temp pw
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  4. #4
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    932
    Plugin Contributions
    9

    Default Re: Reset Password URL

    Quote Originally Posted by mprough View Post
    This does not resolve the issue. Cart is still sending a temp pw
    Did you also make the changes to /includes/password_forgotten/header.php?

  5. #5
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,246
    Plugin Contributions
    58

    Default Re: Reset Password URL

    Quote Originally Posted by retched View Post
    Did you also make the changes to /includes/password_forgotten/header.php?
    Support for this module is build into Fast and Easy Ajax Checkout, Fast and Easy Checkout, and One Page Responsive Checkout. If you are using an older version of one of these modules or if you do not have any of them installed, then you will need to make three edits to one core file includes/modules/pages/password_forgotten/header_php.php
    I am using OPC, but I tried with & without.
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  6. #6
    Join Date
    Jun 2007
    Location
    Bronx, New York, United States
    Posts
    932
    Plugin Contributions
    9

    Default Re: Reset Password URL

    Quote Originally Posted by mprough View Post
    I am using OPC, but I tried with & without.
    Yeah I read that line too. In my case, because I'm using 2.1.0, I'm not getting two emails. One with the link and one with the temp password. I'm betting that something isn't happening like it should in that header.php file.

    Trying to make changes to port up to 2.1.0 now.

 

 

Similar Threads

  1. Password Reset
    By sendmenews in forum General Questions
    Replies: 1
    Last Post: 26 Jul 2024, 10:37 PM
  2. v157 Admin Password Reset Password Not Accepted
    By numinix in forum Bug Reports
    Replies: 3
    Last Post: 18 Sep 2021, 07:56 AM
  3. v155 Password Reset Feature is Not Sending the New Password to the Correct E-mail Address
    By CollegeCommunityClub in forum General Questions
    Replies: 2
    Last Post: 6 Jan 2016, 02:40 AM
  4. v150 admin password expired, won't reset, will not send new password to email
    By baltimorestreetmods in forum General Questions
    Replies: 2
    Last Post: 6 Sep 2012, 07:16 PM
  5. Password not showing in Customer Password Reset Email
    By izuno in forum General Questions
    Replies: 2
    Last Post: 7 Oct 2008, 04:10 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg