Page 1 of 1

Troubleshooting Self Service Password Reset

Posted: Fri Jul 23, 2021 3:45 pm
by pmjd
Hello,

I've tried installing the self service password reset but it fails after entering a valid email address.

The forgot_password.php page works, can check and sort valid and invalid user email addresses but once I click on "Send Reset Link" for a valid email address I only get the message "ERROR: Unable to send reset link."

I've checked and the email settings in nuBuilder are correct and it can send out test emails to the same address.

The developer console doesn't display any errors or issues.

Can anyone suggest any likely issues or tips to troubleshoot this one?

Thanks,
Paul

Re: Troubleshooting Self Service Password Reset

Posted: Fri Jul 23, 2021 7:30 pm
by kev1n
The password recovery uses the php mail() function and not PHPMailer that is used by nuBuilder.

Are you able to send an email with it using a simple PHP script?
https://conetix.com.au/support/simple-php-mail-test/

Re: Troubleshooting Self Service Password Reset

Posted: Sun Jul 25, 2021 5:00 pm
by pmjd
Thanks, the script works but shows an error for authentication, so I don't have the inbuilt php mail() function set up correctly. Will try and get phpmailer up and running, as it seems to be the better way to go.

Is there a reason why the password recovery can't use/access nuBuilders mail settings? Also the same for the jquery and bootstrap libraries that are in the footer php file for password recovery, is it a version conflict or is it safe enough to change the references?

Re: Troubleshooting Self Service Password Reset

Posted: Sun Jul 25, 2021 8:44 pm
by kev1n
You can try including nucommon.php (path to the file must be changed accordingly.

Code: Select all

require_once ('nucommon.php');

Also the same for the jquery and bootstrap libraries that are in the footer php file for password recovery, is it a version conflict or is it safe enough to change the references?
Just give it a try.