Warning: strftime() [function.strftime]: It is not safe

A place for users and developers of the Xataface to discuss and receive support.

Warning: strftime() [function.strftime]: It is not safe

Postby 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. :roll:
chichi
 
Posts: 28
Joined: Fri Jul 09, 2010 3:05 am

Re: Warning: strftime() [function.strftime]: It is not safe

Postby 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.
strast
 
Posts: 29
Joined: Thu Feb 05, 2009 6:14 pm

Re: Warning: strftime() [function.strftime]: It is not safe

Postby chichi » Fri Jul 23, 2010 4:52 am

I am hosting on a public-server, there is no access to php.ini
Thanks chichi
chichi
 
Posts: 28
Joined: Fri Jul 09, 2010 3:05 am


Return to Xataface Users

Who is online

Users browsing this forum: No registered users and 26 guests

cron
Powered by Dataface
© 2005-2007 Steve Hannah All rights reserved