After I import my DB and run sql_upgrade.php and acl_upgrade.php I am unable to create a new patient with my database on OpenEMR 4.0. I am able to update data on existing patients but just unable to create a new patient. After entering the required fields for creating a new patient, when I click on the “create new patient” button, nothing happens. I tested a separate copy of a fresh download of OpenEMR 4.0 and I am able to create new patients there. I am just not able to create patients after I import my DB and run SQL and ACL upgrade scripts. Does anyone have an idea of where my trouble might be? Is this a file permissions issue or DB issue? Thanks.
Below are the Apache and Firefox error logs. I am using FireFox 4. I am going to take a look at new.php line 369 and see if I can tell what is going on. Thanks.
FireFox’s Error Log ( at the time I click the “create new patient” button.)
If I comment out the code below from /interface/new/new.php, I am able to create a new patient with my OpenEMR DB. I am getting closer. I’ll keep looking as to why my OpenEMR DB does not work with this code.
if ($GLOBALS) {
require(“new_comprehensive.php”);
exit;
}