Page 3 of 3 FirstFirst 123
Results 21 to 30 of 83

Hybrid View

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

    Default Re: Time Zone Fix Support Thread

    Quote Originally Posted by oavs View Post
    Hi can the file 'includes\classes\db\mysql\query_factory.php' be used in version 1.5.1 as it over writes the existing version file?
    NO, This part of the code is already in the 1.5 series and is NOT needed. DON'T over write this file.

    2 files from this mod are needed. See Post# 63

  2. #2
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Time Zone Fix Support Thread

    Scenario: ZC shop located in Pacific TZ.

    ZC 1.37 shop hosted on a server in Central TZ, running PHP 5.4.15 with the ZC 'Time Zone Offset' mod installed, and -2 offset set under Admin > Config > My Store. Everything seemed good.

    Sometime after payment module callbacks and the admin header began showing a two hour difference. Just let it go as it was not a bid deal. Shop order status updates and customer emails went out with proper time stamps.

    Then installed fresh clean zc 1.51 on the same server for testing and noted everything in admin showed up as 0 GMT (eight hours ahead). Setting Admin > Config >MyStore to a -8 offset appeared to did nothing.

    Then account was moved to a new server, still in the Central TZ, but with PHP 5.4.20. But same issue observed.

    So followed Time Zone Fix readme instructions (and instructions in this thread) for ZC 1.51, editing the two time_zone_offset.php files (for the Pacific TZ), and uploading to the catalog and admin side.

    Code:
    putenv ('TZ=America/Los_Angeles');
    But everything in admin still shows up as 0 GMT.

    I don't have access to php.ini, but I requested the host to edit for Pacific TZ environment variable. Everything in admin still shows up 0 GMT. However began to observe errors similar to the following in server error log:

    Code:
    PHP Warning: strtotime(): 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.
    Just requested the webhost to double check the php.ini change to see if spelling is correct. But from the error message above, it appears the ecommerce app should be managing the time zone, not letting the "system" do so.

    Not sure why unable to configure ZC 1.51 for the proper TZ, where I was able to do so in ZC 1.37 (for awhile anyway).

    Does the issue possibly have anything to do with the PHP version?.

    P.S. What exactly dos the Time Off set entry in Admin > Config > My Store suppose to do? Is that part of core, or is that a leftover mod remnant still in the database?

  3. #3
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Time Zone Fix Support Thread

    Well, I was wrong. Web host said he didn't alter the php.ini for the current running version og php (5.4.20 native). Stated he set up PHP 5.5 with a customized time zone, and wanted me to test using the PHP switcher in ControlPanel. But I repeated that ZC 1.51 is not supported on PHP 5.5

    http://www.zen-cart.com/content.php?...o-run-zen-cart

    So with ZC 1.52 slated to support PHP 5.5, i think I will just wait to work on solving all these PHP flags showing up in my debug, and various error logs. Hope to see 1.52 sooner than later.

  4. #4
    Join Date
    Sep 2004
    Posts
    2,420
    Plugin Contributions
    2

    Default Re: Time Zone Fix Support Thread

    Solved... i missed seeing the ZC date.timezone patch patch released in June.

    http://www.zen-cart.com/showthread.p...HP-5-3-5-4-5-5

    No need then for the Time Zone Fix (time_zone_offset.php)

 

 
Page 3 of 3 FirstFirst 123

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