Unable to either create credentials or send email

Situation
Hi Everybody.
Great system indeed here in Windhoek Namibia. I will be happy to feedback on here. But i jut started testing. What could be the cause of the error below.

Unable to either create credentials or send email.

I get this error when trying to create myself as a patient after first time enabling the Patient Portal. What could be the cause? Any help please.

OpenEMR Version
Version Number: v5.0.1 (1)

Browser:
I’m using: Chrome

Operating System
Windows 7

Logs

i checked an error log here …/public_html/emr/patients
‘’’’

[05-Jul-2018 20:58:16 UTC] PHP Notice: Undefined index: site in /home/lifediag/public_html/emr/patients/index.php on line 16
[05-Jul-2018 20:58:16 UTC] PHP Notice: A session had already been started - ignoring session_start() in /home/lifediag/public_html/emr/interface/globals.php on line 95
[05-Jul-2018 20:58:31 UTC] PHP Notice: A session had already been started - ignoring session_start() in /home/lifediag/public_html/emr/interface/globals.php on line 95
[05-Jul-2018 20:58:31 UTC] PHP Notice: A session had already been started - ignoring session_start() in /home/lifediag/public_html/emr/interface/globals.php on line 95

Taffy,
did you guys figure out what was wrong with the installation?

I just installed OpenEMR 5.0.2(1) and got this same error when attempting to register myself as a test patient. However, the information was populated and I was able to view the credentials to reset them (I didnt). When I took the credentials and reset them and attempted to login, it worked.

So, seems like the script is working to write information to DB just the email part is tripping up the register.php file and submitted the error but all information is getting written and created.

I found that logged in as an admin in the patient screen you can reset the credentials, this attempts to send an email if you have it setup to do.

In my case the linux firewall was preventing my smtp session from authenticating as i had not allowed outgoing mail.

I was also able to watch the apache logs and see it was sending ok. You can play around with the email settings in the scripts and put it into debug mode which gives a ton more information when sending mail in that reset credential window.

Importantly if the script was able to send a mail the popup credential box will show something like “Email was sent to following address: email@domain.com

If you get a popup trying to open a PDF attachment then it was unable to send the email.

Don’t forget patient choices for allow email and setting the email addresses.

1 Like