C:\xampp\htdocs\openemr\library\log.inc at 39:sqlInsertClean_audit
C:\xampp\htdocs\openemr\library\authentication\login_operations.php at 116:newEvent(login,admin,Default,1,success: ::1)
C:\xampp\htdocs\openemr\library\auth.inc at 50:validate_user_password(admin,Default)
C:\xampp\htdocs\openemr\interface\globals.php at 352:include_once(C:\xampp\htdocs\openemr\library\auth.inc)
C:\xampp\htdocs\openemr\interface\main\main_screen.php at 25:require_once(C:\xampp\htdocs\openemr\interface\globals.php)
OpenEMR Version
I’m using OpenEMR version 4.2.1
Browser:
I’m using: Chrome
Operating System
I’m using: Windows 10 Home
Logs
Did you check the logs? Was there anything pertinent in them? Paste them here (surround with three backticks (```) for readability
Have you been able to resolve this? Was anyone playing around in myPHPAdmin? Someone might have changed a setting on the table. Also, the id should be the primary key. If you need help with this I’m happy to assist you.
When you look at the log table using phpMyAdmin make sure the id is set to AutoIncrement
Ok, at this point, I am going to ask to reboot the server first and try and log in again. If you receive the same issue, then we will try another route. Was this a it worked one day and then the next day it did not?
Correct - worked one day and not the next. Rebooting has not fixed the problem.
Don’t know if it is related to the problem, but when I turn the (laptop) computer on, there is an error message about the charger is incorrect And the battery does not charge.
Unfortunately, today is my last day in country (Jamaica); there is another physician coming in tomorrow. I will pass along whatever suggestions you have.
sounds like OpenEMR crashed during an insert to the log and wasn’t able to increment the sequences counter. Should be fairly easy to fix if can open phpmyadmin and delete the offending record or increment the counter but there may be more than the log table affected. Also sounds like need a new battery and/or charger