Welcome to the nuBuilder Forums!

Register and log in to access exclusive forums and content available only to registered users.

Troubleshooting Self Service Password Reset

Questions related to using nuBuilder Forte.
Post Reply
pmjd
Posts: 132
Joined: Fri Mar 12, 2021 10:38 am
Has thanked: 3 times
Been thanked: 1 time

Troubleshooting Self Service Password Reset

Unread post 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
kev1n
nuBuilder Team
Posts: 4306
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 446 times
Contact:

Re: Troubleshooting Self Service Password Reset

Unread post 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/
pmjd
Posts: 132
Joined: Fri Mar 12, 2021 10:38 am
Has thanked: 3 times
Been thanked: 1 time

Re: Troubleshooting Self Service Password Reset

Unread post 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?
kev1n
nuBuilder Team
Posts: 4306
Joined: Sun Oct 14, 2018 6:43 pm
Has thanked: 71 times
Been thanked: 446 times
Contact:

Re: Troubleshooting Self Service Password Reset

Unread post 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.
Post Reply