It is not safe to rely on the system's timezone settings (how to fix it)

Posted by WestNIC Support on 29 November 2012 03:28 AM

Occasionally, you may receive following warning on main page (especially, Joomla):

Warning: strtotime() [function.strtotime]: 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 'America/Chicago' for 'CST/-6.0/no DST' instead

Please note: if you receive permission error during file save, please make sure that file has 600 permissions then edit again and save. You can set correct permissions via any FTP client or cPanel File Manager (select file, right click then select permissions).