Page 1 of 1

PHP Warning: strftime(): It is not safe to rely on the syste

Posted: Thu Apr 07, 2011 10:10 am
by sangeetha K
Installed Testlink 1.9.2 successfully
Loged in as 'admin'
I am in India - Chennai
On page load received the following warning.

"PHP Warning: 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 'Asia/Kolkata' for '5.5/no DST' instead in D:\testlink\config.inc.php on line 801 PHP Warning: 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 'Asia/Kolkata' for '5.5/no DST' instead in D:\testlink\config.inc.php on line 1474 "

Please help me to solve the same.

Re: PHP Warning: strftime(): It is not safe to rely on the s

Posted: Fri Apr 08, 2011 5:26 pm
by Unhandled
You need to modify configuration of PHP. See this post:
viewtopic.php?f=5&t=733