Los Angeles time is correctly listed in the two files mentioned, but my site is stuck on GMT. Any other suggestions? Could this be a server issue?
Los Angeles time is correctly listed in the two files mentioned, but my site is stuck on GMT. Any other suggestions? Could this be a server issue?
includes\extra_configures\time_zone_fix.php is the only file necessary to be installed on Zen-Cart version 1.51 Take it from the folder 139gh.
I have officially been zenned.
Thank you X 10000000....
I had initially changed my timezone in php.ini, and that fixed my timezone issues only in my admin area but kept giving me wrong time stamps on orders.
Next I added the recommended timezonefix file to includes/extraconfigurations and that fixed my order time stamp, but my order update times where still messing up and I really did not know what to do.
After reading your comment just now, I uploaded the file also to myadmin/includes/extraconfigurations and voia! It works, my order update times are now correct.
Thanks you guys for sharing the knowledge.
Zencart 1.5.1 - since the plugin only goes to 1.3.9, I started to manually make the changes. I see in the query factory on 1.5.1, the following:
But, I don't see where the TZ environment variable is set.Code:if (getenv('TZ') && !defined('DISABLE_MYSQL_TZ_SET')) @mysql_query("SET time_zone = '" . substr_replace(date("O"),":",-2,0) . "'", $this->link);
I already set the timezone for PHP 5.2 using the php.ini file.
Is there a recommended way to set the TZ variable through zencart, or should I simply copy over the time_zone_fix.php files from your 1.3.9 plugin?