Page 1 of 1

What do these warnings during install mean? [solved]

Posted: Fri Mar 28, 2014 10:54 am
by wmdvanzyl
The site installed fine and cant find evidence of issues after the install in the admin section. I was just wondering if there is a way i can prevent this in the future?

Code: Select all

Warning: date_default_timezone_get() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in install/index.php on line 49

Warning: date_default_timezone_get() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in install/index.php on line 49

Warning: strftime() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in /lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 234

Warning: strftime() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in /lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 234

CMS Install/Upgrade System

Warning: strftime() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in /lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 234

Warning: strftime() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in /lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 234
Thanks for choosing CMS Made Simple
Choose the language you would prefer to use
This setting affects the install process and sets your initial admin user preference

Warning: strftime() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in /lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 234

Warning: strftime() [function.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 'Africa/Johannesburg' for 'SAST/2.0/no DST' instead in /lib/smarty/libs/sysplugins/smarty_internal_templatecompilerbase.php on line 234

Re: What do these warnings during install mean?

Posted: Fri Mar 28, 2014 11:38 am
by zaidcrowe
It's related to this: http://blog.randell.ph/2010/04/15/warni ... -settings/ (setting your timezone explicitly)

I think its "timezone" in your cmsms config file if you can't get to your php config: http://docs.cmsmadesimple.org/configuration/config-file

Re: What do these warnings during install mean?

Posted: Fri Mar 28, 2014 2:48 pm
by calguy1000
The message is quite obvious.

Your php configuration (nothing to do with CMSMS) was set with an invalid timezone value.

Re: What do these warnings during install mean?

Posted: Fri Mar 28, 2014 3:46 pm
by wmdvanzyl
OK Thanks!