SYSTEM WARNING: date_default_timezone_get()

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
shakespear
Posts: 1
Joined: 08 Dec 2009, 22:49

SYSTEM WARNING: date_default_timezone_get()

Post by shakespear »

Hi.

I just installed the MantisBT 1.2.0rc2 Release Candidate 2 and when running I get the following warning:

"SYSTEM WARNING: date_default_timezone_get(): 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/Paris' for '1.0/no DST' instead"

BR,
jp
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: SYSTEM WARNING: date_default_timezone_get()

Post by atrol »

Please use Search before posting and read the Manual
maybe
Posts: 3
Joined: 20 May 2013, 18:54

Re: SYSTEM WARNING: date_default_timezone_get()

Post by maybe »

You can find another solution in this blog http://recortecnologicos.wordpress.com/ ... -mantisbt/

It's very simple you only need to add $g_default_timezone=’America/Los_Angeles’; in config_inc.php file inside MantisBT folder
Hope this helps :D
Post Reply