Troubleshooting Self Service Password Reset

Questions related to using nuBuilder Forte.

Troubleshooting Self Service Password Reset

Unread postby pmjd » Fri Jul 23, 2021 11:15 pm

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
pmjd
 
Posts: 76
Joined: Fri Mar 12, 2021 7:08 pm
nuBuilder Version: 4.5

Re: Troubleshooting Self Service Password Reset

Unread postby kev1n » Sat Jul 24, 2021 3:00 am

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/
kev1n
nuBuilder Team
 
Posts: 2010
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5

Re: Troubleshooting Self Service Password Reset

Unread postby pmjd » Mon Jul 26, 2021 12:30 am

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?
pmjd
 
Posts: 76
Joined: Fri Mar 12, 2021 7:08 pm
nuBuilder Version: 4.5

Re: Troubleshooting Self Service Password Reset

Unread postby kev1n » Mon Jul 26, 2021 4:14 am

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.
kev1n
nuBuilder Team
 
Posts: 2010
Joined: Mon Oct 15, 2018 2:13 am
nuBuilder Version: 4.5


Return to General

Who is online

Users browsing this forum: No registered users and 20 guests

cron