Warning: strftime() [function.strftime]: It is not safe
Archived from the Xataface Users forum.
chichi — Fri Jul 09, 2010 12:35 pm
Hello, Now my applikation is running, it shows me warning messages:
Warning: strftime() [function.strftime]: 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 ‘Europe/Berlin’ for ‘CEST/2.0/DST’ instead in /home/www/ad/lib/Smarty/Smarty_Compiler.class.php on line 400
Need help on this as well. This Warnings appeared one time each site. After a refresh it wont show again.
strast — Thu Jul 22, 2010 9:07 pm
Did you set your date.timezone setting in the php.ini file on your web server?
- Code: Select all
[Date] date.timezone = Europe/Berlin
Be sure to restart the web server after the modification.
Steve S.
chichi — Fri Jul 23, 2010 4:52 am
I am hosting on a public-server, there is no access to php.ini
Thanks chichi