infotech303 wrote on Sunday, April 17, 2011:
Hello
We seem to be having the same issue as listed in this thread.
We cannot add or edit a facility.
We have the following configurations and setup:
Windows Server 2008 R2
IIS7
PHP 5.3.5
MySQL -5.1.54-community
OpenEMR 4.0.0
Patch Set 4-0-0-Patch-2
We loaded the base software (4.0.0), then the patch set(4-0-0-PATCH-2), then let the software create the database schema. The current test system has
IUSR set to full control on the total directory structure to remove the posibility of a permissions issue.
We have the following settings in the PHP.INI file:
short_open_tag = On
display_errors = Off - currently - ON to help dianose this issue
register_globals = Off
magic_quotes_gpc = On
max_execution_time = set to at least 60, - Ours is at 300
max_input_time = 90
memory_limit = 128M
We have restarted the IIS server and the MySQL Database, then……
We are able to login to the software, but cannot configure it. We try to set the facility first and get the below errors.
First Error on Login:
Warning: error_log(): It is not safe to rely on the system’s timezone settings. You are *required* to use the date.timezone setting or the
date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the
timezone identifier. We selected ‘America/Denver’ for ‘-6.0/DST’ instead in C:\inetpub\wwwroot\emr\emr\interface\globals.php on line 134
Error Message in php-errors
Session site ID has been set to ‘default’
Error Message in upper screen when trying to modify the default facility:
ERROR: query failed: update facility set name=‘test’, phone=‘000-000-0000’, fax=‘000-000-0000’, street=’’, city=’’, state=’’, postal_code=’’,
country_code=’’, federal_ein=’’, service_location=‘1’, billing_location=’’, accepts_assignment=’’, pos_code=‘01’, domain_identifier=’’, facility_npi=’’,
attn=’’ , tax_id_type=‘EI’ where id=‘3’
PLEASE HELP ASAP!!
Thanks,
Bill
IT@LCS.BZ