Page 1 of 2 12 LastLast
Results 1 to 10 of 16
  1. #1
    Join Date
    Apr 2013
    Location
    Wisconsin
    Posts
    134
    Plugin Contributions
    0

    red flag Forgot Password And It Won't Send A Reset E-mail To Me

    I had to do a 90-day new password a few days ago. I went to log in today and my password is not working, so I must not remember the one I put in. I tried to request an admin password reset but the e-mail never arrives. Now I'm concerned as I am the only admin. Is there a way, maybe in My PHP Admin or something that I can do to get into my account? Thank you so much for any insight.

  2. #2
    Join Date
    Apr 2006
    Location
    West Salem, IL
    Posts
    2,888
    Plugin Contributions
    0

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    Mike
    AEIIA - Zen Cart Certified & PCI Compliant Hosting
    The Zen Cart Forum...Better than a monitor covered with post-it notes!

  3. #3
    Join Date
    Apr 2013
    Location
    Wisconsin
    Posts
    134
    Plugin Contributions
    0

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    barco57, THANK YOU SO MUCH! I could not find this on my own search of the forum. The SQL query worked so I could get back in. THANK YOU, THANK YOU, THANK YOU! :-)

  4. #4
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,539
    Plugin Contributions
    127

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    You still have some work to do. You have an email deliverability problem if you're not getting your reset password emails (and that means your customers may not be getting your cart emails either). Take a look here: https://docs.zen-cart.com/user/email/
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  5. #5
    Join Date
    Dec 2017
    Location
    FLAH-DUH
    Posts
    45
    Plugin Contributions
    0

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    Quote Originally Posted by swguy View Post
    You still have some work to do. You have an email deliverability problem if you're not getting your reset password emails (and that means your customers may not be getting your cart emails either). Take a look here: https://docs.zen-cart.com/user/email/
    I'm not getting reset emails, cant get the quick fix in the zen-cart doc to work, tried adding new user through Myphpadmin, still nothing. My concern is it wont send me a reset email. I have tried adding users with new email addresses, but nothing gets it to work

  6. #6
    Join Date
    Dec 2017
    Location
    FLAH-DUH
    Posts
    45
    Plugin Contributions
    0

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    log files show this:
    [29-Aug-2024 01:58:09 UTC] PHP Notice: Email Error: Could not instantiate mail function.
    in /home/bladez5/monstergoped.com/includes/functions/functions_email.php on line 511
    [29-Aug-2024 01:58:09 UTC] PHP Notice: Email Error: Could not instantiate mail function.
    in /home/bladez5/monstergoped.com/includes/functions/functions_email.php on line 511

    that part of that file looks like this starting at 506
    //
    if ($ErrorInfo !== '') {
    $mail_langs = $mail->getTranslations();
    if (strpos($ErrorInfo, $mail_langs['recipients_failed']) === false) {
    // Don't log SMTP rejected spam; log others
    if (!str_contains($ErrorInfo, 'spam content')) {
    trigger_error('Email Error: ' . $ErrorInfo);
    }
    } else {
    $log_prefix = (IS_ADMIN_FLAG === true) ? '/myDEBUG-bounced-email-adm-' : '/myDEBUG-bounced-email-';
    $log_date = new DateTime();
    error_log('Request URI: ' . $_SERVER['REQUEST_URI'] . PHP_EOL . PHP_EOL . $ErrorInfo, 3, DIR_FS_LOGS . $log_prefix . $log_date->format('Ymd-His-u') . '.log');

  7. #7
    Join Date
    Aug 2013
    Location
    Perth, WA, AU
    Posts
    279
    Plugin Contributions
    4

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    Quote Originally Posted by johnniejetski2 View Post
    log files show this:
    [29-Aug-2024 01:58:09 UTC] PHP Notice: Email Error: Could not instantiate mail function.
    in /home/bladez5/monstergoped.com/includes/functions/functions_email.php on line 511
    [29-Aug-2024 01:58:09 UTC] PHP Notice: Email Error: Could not instantiate mail function.
    in /home/bladez5/monstergoped.com/includes/functions/functions_email.php on line 511

    that part of that file looks like this starting at 506
    //
    if ($ErrorInfo !== '') {
    $mail_langs = $mail->getTranslations();
    if (strpos($ErrorInfo, $mail_langs['recipients_failed']) === false) {
    // Don't log SMTP rejected spam; log others
    if (!str_contains($ErrorInfo, 'spam content')) {
    trigger_error('Email Error: ' . $ErrorInfo);
    }
    } else {
    $log_prefix = (IS_ADMIN_FLAG === true) ? '/myDEBUG-bounced-email-adm-' : '/myDEBUG-bounced-email-';
    $log_date = new DateTime();
    error_log('Request URI: ' . $_SERVER['REQUEST_URI'] . PHP_EOL . PHP_EOL . $ErrorInfo, 3, DIR_FS_LOGS . $log_prefix . $log_date->format('Ymd-His-u') . '.log');
    This looks like a server issue, not a zen cart issue.

    Try reading https://github.com/PHPMailer/PHPMail...-mail-function for some ideas.

  8. #8
    Join Date
    Dec 2017
    Location
    FLAH-DUH
    Posts
    45
    Plugin Contributions
    0

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    I did a fresh install with no upgrade to the old databse and everything is fine. My other upgrade to an old database had bad dates so I assume this needs to be fixed before I proceed. Any tips for finding and fixing bad dates in a database. My thought is to download the old database and use notepad++ to do a search and replace and then re-upload it

  9. #9
    Join Date
    Dec 2017
    Location
    FLAH-DUH
    Posts
    45
    Plugin Contributions
    0

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    no change, which makes me think another part of the old db is corrupt besides some date formats

  10. #10
    Join Date
    Dec 2017
    Location
    FLAH-DUH
    Posts
    45
    Plugin Contributions
    0

    Default Re: Forgot Password And ZenCart Won't Send A Reset E-mail To Me

    log file after fixing bad dates:

    [04-Sep-2024 02:35:41 UTC] PHP Fatal error: Uncaught Error: Undefined constant "MFA_ENABLED" in /home/bladez5/monstergoped.com/hulk/includes/functions/functions_mfa.php:36
    Stack trace:
    #0 /home/bladez5/monstergoped.com/hulk/includes/functions/general.php(431): zen_mfa_handler(Array)
    #1 /home/bladez5/monstergoped.com/hulk/includes/functions/admin_access.php(380): zen_call_function('zen_mfa_handler', Array)
    #2 /home/bladez5/monstergoped.com/hulk/login.php(29): zen_validate_user_login('xxxxxxx', 'xxxxxxx')
    #3 /home/bladez5/monstergoped.com/hulk/index.php(16): require('/home/bladez5/m...')
    #4 {main}
    thrown in /home/bladez5/monstergoped.com/hulk/includes/functions/functions_mfa.php on line 36

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. 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
  2. Customer used Forgot Password but password sent won't work
    By smurfy1 in forum General Questions
    Replies: 16
    Last Post: 16 Feb 2012, 04:54 AM
  3. v150 I forgot the password for my database user...how to reset?
    By WebKat in forum General Questions
    Replies: 2
    Last Post: 11 Feb 2012, 05:26 AM
  4. Zencart won't reset my password
    By heatherphoto in forum General Questions
    Replies: 1
    Last Post: 19 Jun 2009, 12:35 PM
  5. Replies: 2
    Last Post: 11 Jan 2009, 09:39 AM

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