angelfplaza Posted July 10, 2015 Report Share Posted July 10, 2015 I am getting this error on my server: PHP 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 the timezone 'UTC' for now, but please set date.timezone to select your timezone. in MYSERVER/BLABLABLA/variables.php on line 67 This file is on the main folder of the app and the line is: // Always use UTC when outside the installer if (substr($_SERVER['SCRIPT_NAME'], -11) != 'install.php') { // Save server timezone for auto-maintenance $GLOBALS['serverTimezone'] = date_default_timezone_get(); OA_setTimeZoneUTC(); } Not sure if the problem is on my server, but didnt happen with any other app. Thanks Quote Link to comment Share on other sites More sharing options...
firstimpression Posted August 12, 2015 Report Share Posted August 12, 2015 In php.ini edit the line "date.timezone=..." and set it to:date.timezone = UTC andrewatfornax 1 Quote Link to comment Share on other sites More sharing options...
andrewatfornax Posted September 22, 2015 Report Share Posted September 22, 2015 Or the timezone that's appropriate for you, naturally :-) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.