When adding a new patient the error below comes up very time, although the patient is added correctly.
ERROR: insert failed: insert into history_data set pid = ?, date = NOW()
When table creation and other statements are run during the install process, if they fail for some reason (like strict mode being enabled), no error messages are generated.
Turning strict mode off, after installation is not sufficient to correct this issue as several tables aren’t created because they try to set a default value for “TEXT” columns which is disallowed in strict mode, including history_data. A number of insert statements for entries in the codes table also fail.
Thanks Kevin. It worked. I did not realize that after turning off strict mode, one had to reinstall. When I checked after your answer was posted, it was obvious as several tables were not created. Thanks again.