Password Reset

I tried to rest password but I got following message "Failed to send update email." then I check on web server error log. It has following error message:

File does not exist: /var/www/vhosts/xxxxschool.com/httpdocs/modules/css, referer: http://xxxxxschool.com/index.php?q=passwordReset.php&return=error3

File does not exist: /var/www/vhosts/xxxxxschool.com/httpdocs/modules/js, referer: http://xxxxxschool.com/index.php?q=passwordReset.php&return=error3

I don't know what files that I am missing. How can I solve the problem?


Comments

  • edited January 31
    Hi Timothy, welcome to the forums!

    The error3 code on the referer URL seems to indicate that the $mail->Send() command failed, which often means the mail system isn't configured for your server.

    Here's a couple things you could check:
    • Does your server have sendmail installed? On most servers you can check with the which sendmail command and you should see a path listed. This is the default mailer for PHP and also the one Gibbon uses if SMTP is turned off.
    • Are you using the the SMTP mail settings in System Admin > Third Party Settings? If so, it may be a host/username/password mismatch.
    • Are you on shared hosting? If so, your hosting system may have more info about how to send mail through their servers, and whether to use sendmail or SMTP.

    Hope this helps!
  • Hi Sandra:

    My server has send mail installed. The SMTP is on.
    I am using the the SMTP mail settings in System Admin > Third Party Settings. I double check host/username/password are match.
    I configure as my ISP told me but I cannot get it to work. I got the same error messages. Please help. Thanks.
  • My server has send mail installed. The SMTP is on.
    I am using the the SMTP mail settings in System Admin > Third Party Settings. I double check host/username/password are match.
    The SMTP required authentication. The SMTP encryption for my mail server is TLS. The SMTP mail setting in System Admin> Third Party setting don;t have the option to chose encryption method. Will it be the problem?
  • The PHPMailer library uses tls by default so it should be good, looks like you can add tls:// to the hostname to ensure this setting is on, which usually also requires port 587.

    As a test, try sending an email through the Messenger module by creating a new message and turning the Email option on. If this also fails then it certainly points to a mail config rather than a problem with the password reset.

    After sending a message check your PHP logs if you're able to (the location varies based on your server setup, a common location is /var/log/apache2/error.log for apache servers). This may give some more clues as to why the mail is failing to send.
    admin
  • It worked after I turned off third party SMTP option.
    admin
  • Great to hear! :smiley:
Sign In or Register to comment.