drift2 Posted November 25, 2015 Share Posted November 25, 2015 I'm getting the following errors and I all ready added date.timezone = "America/New_York" this to the php in plesk. Fatal error: Uncaught exception 'Exception' with message 'DateTime::__construct(): 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 /var/www/vhosts/drift2.com/billing.drift2.com/includes/classes/WHMCS/Domains.php:0 Stack trace: #0 /var/www/vhosts/drift2.com/billing.drift2.com/includes/classes/WHMCS/Domains.php(0): DateTime->__construct() #1 /var/www/vhosts/drift2.com/billing.drift2.com/clientarea.php(0): WHMCS\Domains::getRenewableDomains() #2 {main} Next exception 'Exception' with message 'DateTime::__construct(): 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 th in /var/www/vhosts/drift2.com/billing.drift2.com/includes/classes/WHMCS/Terminus.php on line 0 - - - Updated - - - Never mind some reason the one thing I was trying for hours finally worked date.timezone = "America/New_York" in php.in file 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.