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

LATEST Official version.
Questions and discussions - NO ISSUES
FOR ISSUES => http://mantis.testlink.org

Moderators: Amaradana, TurboPT, TL Developers

Post Reply
sangeetha K
TestLink user
Posts: 5
Joined: Thu Apr 07, 2011 9:36 am

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

Post 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.
Unhandled
Advanced user
Posts: 67
Joined: Sun Jan 23, 2011 11:28 pm

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

Post by Unhandled »

You need to modify configuration of PHP. See this post:
viewtopic.php?f=5&t=733
Post Reply