opieo Posted September 17, 2018 Share Posted September 17, 2018 Hi Guys, Getting an alert in system health saying my timezone format is not correct, i have checked my whmcs configuration file and the code date_default_timezone_set('Australia/Sydney') has been added. Also the below time setting is showing in phpinfo saying that the timezone is actually correct? Has anyone else encountered this issue? thanks guys 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted October 4, 2018 WHMCS Support Manager Share Posted October 4, 2018 Hi @opieo, The screenshot of your phpinfo looks to be valid. Is this a screenshot of the Utilities > System > PHP Info page? This health check uses ini_get to obtain the current date.timezone value. Then uses date_default_timezone_set to check whether it's valid. So either the Timezone has been set in a different php.ini which doesn't apply to your WHMCS installation, of your PHP configuration doesn't recognize the "Australia/Sydney" timezone for some reason, causing date_default_timezone_set to return False. 0 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.