Hi, I have installed latest OpenEMR 5.0.0 on 1and1 shared hosting service. After login I receive big list of error.
ERROR:
Strict Standards: strftime(): We selected ‘America/New_York’ for ‘EST/-5.0/no DST’ instead in /homepages/46/d178233728/htdocs/openemr-5.0.0/interface/main/calendar/modules/PostCalendar/common.api.php on line 215
Strict Standards: strftime(): We selected ‘America/New_York’ for ‘EST/-5.0/no DST’ instead in /homepages/46/d178233728/htdocs/openemr-5.0.0/interface/main/calendar/modules/PostCalendar/common.api.php on line 216
Strict Standards: strftime(): We selected ‘America/New_York’ for ‘EST/-5.0/no DST’ instead in /homepages/46/d178233728/htdocs/openemr-5.0.0/interface/main/calendar/modules/PostCalendar/common.api.php on line 217
Also Administration --> Global page is also showing error.
Error:
ERROR: query failed: SELECT * FROM lang_definitions JOIN lang_constants ON lang_definitions.cons_id = lang_constants.cons_id WHERE lang_id=? AND constant_name = ? LIMIT 1
Please guide me how to resolve this " Strict Standards: strftime(): … " problem.
1and1.com don’t provide PHP.INI access in shared hosting.
I have copied PHP.INI file in root folder of installed OPENEMR directory. But errors are same.
*** my php.ini ****
short_open_tag = Off
max_execution_time = 60
max_input_time = 90
max_input_vars = 3000
memory_limit = 128M
display_errors = Off
log_errors = On
register_globals = Off
post_max_size = 30M
file_uploads = On
upload_max_filesize = 30M
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
date.timezone = “America/New_York”
I would ask the hosting service how you can modify the php setting (placing a php.ini file in openemr directory likely won’t work). Also, ensure you created a database that uses UTF8 before installing OpenEMR(I assume you created the database first).
Dear Brady, following is reply I received from our hosting provider(1and1).
** REPLY**
Unfortunately, php.ini is not created by default in the system. You have to create your own php.ini directive and upload to the directory that requires php.ini.
To create:
Open any text editor, (ex: notepad, notepad++)
Paste all directive command scripts
Save the file and name as php.ini
save file as: “all types”
Upload to your server/directory that requires php.ini
I would raise the issue with 1and1 again and see if they can offer a more reasonable solution. Placing an INI file in ~2000 folders is not realistic. Perhaps they can offer a specific solution to your needs
Thanks Brady, I have contacted with 1and1. I opt shared hosting as it is low cost solution for developing countries. I will consider hosting company change as last option.