Results 1 to 10 of 83

Hybrid View

  1. #1
    Join Date
    Aug 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Time Zone Fix Support Thread

    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?

  2. #2
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Time Zone Fix Support Thread

    Quote Originally Posted by donscotti View Post
    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?
    What version zen-cart?
    Are you using the correct version of this mod for your zencart?
    Are you running this locally or on a website
    Linux or Windows?

    Post the contents of one of those 2 files.

  3. #3
    Join Date
    Sep 2012
    Posts
    253
    Plugin Contributions
    0

    Default Re: Time Zone Fix Support Thread

    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.

  4. #4
    Join Date
    Jan 2013
    Posts
    9
    Plugin Contributions
    0

    Default Re: Time Zone Fix Support Thread

    Quote Originally Posted by southshorepizza View Post
    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.
    Hours of research, and the answer is just this simple, imagine!

    Thanks.

  5. #5
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Time Zone Fix Support Thread

    Quote Originally Posted by Yoshi-M View Post
    Hours of research, and the answer is just this simple, imagine!

    Thanks.
    Not quite. See post 52
    You need to include the same file in 2 places (edited for your time zone)

    One for the ADMIN
    YOUR_RENAMED_ADMIN\extra_configures\time_zone_fix.php

    and one for the CATALOG (Store Front)
    includes\extra_configures\time_zone_fix.php

  6. #6
    Join Date
    Jan 2013
    Posts
    9
    Plugin Contributions
    0

    Default Re: Time Zone Fix Support Thread

    Quote Originally Posted by gilby View Post
    Not quite. See post 52
    You need to include the same file in 2 places (edited for your time zone)

    One for the ADMIN
    YOUR_RENAMED_ADMIN\extra_configures\time_zone_fix.php

    and one for the CATALOG (Store Front)
    includes\extra_configures\time_zone_fix.php
    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.

  7. #7
    Join Date
    Aug 2007
    Location
    Williston, Vermont
    Posts
    182
    Plugin Contributions
    1

    Default Re: Time Zone Fix Support Thread

    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:
    Code:
            if (getenv('TZ') && !defined('DISABLE_MYSQL_TZ_SET')) @mysql_query("SET time_zone = '" . substr_replace(date("O"),":",-2,0) . "'", $this->link);
    But, I don't see where the TZ environment variable is set.

    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?

 

 

Similar Threads

  1. Hebrew Support - latest release [Support Thread]
    By eranariel in forum Addon Language Packs
    Replies: 22
    Last Post: 26 Jan 2026, 06:47 AM
  2. Multiple Zone Rates Support Thread
    By totalsam in forum Addon Shipping Modules
    Replies: 54
    Last Post: 24 Feb 2015, 03:34 PM
  3. v150 Time Zone Fix
    By donscotti in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 4 Nov 2012, 07:09 PM
  4. 1064 Error after installing Time Zone Fix addon
    By HFProjekte in forum General Questions
    Replies: 3
    Last Post: 6 Aug 2011, 11:01 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg