Page 1 of 1

Troubleshooting Self Service Password Reset

Unread postPosted: Fri Jul 23, 2021 11:15 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

Unread postPosted: Sat Jul 24, 2021 3:00 am
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

Unread postPosted: Mon Jul 26, 2021 12:30 am
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

Unread postPosted: Mon Jul 26, 2021 4:14 am
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.