Atualização 4.2.2 para 5.0.1

Situation
Describe your problem here

OpenEMR Version
I’m using OpenEMR version

Browser:
I’m using:

Operating System
I’m using:

Logs
Did you check the logs? Was there anything pertinent in them? Paste them here (surround with three backticks (```) for readability

I am not able to update my system from 4.2.2 to 5.0.1 look at the error that happens

ERR: insert failed: insert in log (date, event, category, user, group name, success, comments, crt_user, patient_id) values (NOW (), ‘login’, ‘login’, ‘admin’, ‘Default’ , ‘1’, ‘success: :: 1’, NULL, NULL)

Error: Unknown column ‘Category’ in ‘Field List’

C: \ xampp \ htdocs \ openemr \ library \ log.inc in 45: sqlInsertClean_audit
C: \ xampp \ htdocs \ openemr \ library \ authentication \ login_operations.php in 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 449: include_once (C: \ xampp \ htdocs \ openemr \ library \ auth.inc)
C: \ xampp \ htdocs \ openemr \ interface \ main \ main_screen.php in 25: require_once (C: \ xampp \ htdocs \ openemr \ interface \ globals.php)

hi @Bruno_Cezar ,

What operating system and OpenEMR 5.0.1 package are you using?

-brady

I did not get support either in the chat or in the forum, the clinic of my client is needing to be updated but I’m not getting it. I tried doing exporting submitting the sqls tables of the 4.2.2 chart for the update but the calendar will not go

hi @Bruno_Cezar, try this https://www.open-emr.org/wiki/index.php/Windows_Upgrade_5.0.0_to_5.0.1 but select 4.2.2 in step 8

1 Like