Jump to content

D Martin

Member
  • Posts

    2
  • Joined

  • Last visited

Everything posted by D Martin

  1. I opened a trouble ticket on this as my post here was waiting on moderator approval. The reply I received from support suggested adding this line of code to the configuration.php file. date_default_timezone_set('America/Chicago'); I added this as the last line of code and I can confirm it is working properly in my environment 7.4.2. Your results may vary or break your site. This is a undocumented configuration method, use the aforementioned information accordingly.
  2. I am working with a brand new installation of 7.4.2. I am running into a issue getting time and date inside of WHMCS to resolve properly. While I do have the option to set my server time to America/Chicago, it is currently set to UTC. I have several other sites running on this server that have their own unique time zone settings so I do not want to make the change at the server level for multiple reasons. Based on the documentation I could find, I placed the timezone setting into a php.ini file which had no effect on the information displayed inside of the WHMCS management back end even after a server re-boot. With that solution not working I tried adding both to the beginning and then the end of the .htaccess file php_value date.timezone 'America/Chicago' which results in a site wide 500 error. Any thoughts on getting the time corrected without changing the time on the entire server?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated