Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2006
    Posts
    117
    Plugin Contributions
    0

    Default Orders coming in wrong date

    Hi,

    I have a clean install of Zen cart plus the following Installed Modules.
    EasyPopulate
    basic_uk_mail_2-2-2.zip
    nochex_payments_module__apc_1-5.zip
    Time Zone Fix Module link for the one I have installed is: http://www.zen-cart.com/downloads.php?do=file&id=1236

    When an order is placed its coming up as a day later than the current day.

    So anything ordered on the 7th of August came in as 8th of August, but at the top of the admin section the date and time is correct. What can be causing this?

    any help is appreciated, thanks!
    This is my Signature: w00t

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

    Default Re: Orders coming in wrong date

    What version of zen-cart?
    What is in your \includes\extra_configures\time_zone_fix.php?
    and YOUR_RENAMED_ADMIN\includes\extra_configures\time_zone_fix.php?
    check what is now "physically" on the server.

    btw you did rename the directory "YOUR_RENAMED_ADMIN" to whatever your real "admin" directory is now called?
    You didn't just upload it to the directory "YOUR_RENAMED_ADMIN"?

  3. #3
    Join Date
    Sep 2006
    Posts
    117
    Plugin Contributions
    0

    Default Re: Orders coming in wrong date

    Hi,

    Thanks for the answer.

    Version 1.5

    time_zone_fix.php has the below in it

    "<?php
    // Full list of timezones here: http://php.net/manual/en/timezones.php
    //
    // You can modify the TZ (Time Zone) by using a named Country/City
    // eg:
    // TZ=America/Los_Angeles
    // TZ=America/Denver;
    // TZ=America/Chicago
    // TZ=America/Costa_Rica;

    putenv ('TZ=Australia/Melbourne');

    ?>"



    THE ADMIN one has the below in it:

    "<?php
    // Full list of timezones here: http://php.net/manual/en/timezones.php
    //
    // You can modify the TZ (Time Zone) by using a named Country/City
    // eg:
    // TZ=America/Los_Angeles
    // TZ=America/Denver;
    // TZ=America/Chicago
    // TZ=America/Costa_Rica;

    putenv ('TZ=Europe/London');

    ?>"


    Yes i renamed my admin and added it to the correct admin folder not the "YOUR_RENAMED_ADMIN"

    Thanks alot for the response!
    This is my Signature: w00t

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

    Default Re: Orders coming in wrong date

    So where are you?

    putenv ('TZ=Australia/Melbourne');
    This puts the front of the website in Australia

    putenv ('TZ=Europe/London');
    This puts your admin in the UK

  5. #5
    Join Date
    Sep 2006
    Posts
    117
    Plugin Contributions
    0

    Default Re: Orders coming in wrong date

    hmmm, ok got it. Im in London so I updated the shop includes to the same as the admin. hope this solves it.

    ty very much
    This is my Signature: w00t

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

    Default Re: Orders coming in wrong date

    Quote Originally Posted by panelcart View Post
    hmmm, ok got it. Im in London so I updated the shop includes to the same as the admin. hope this solves it.

    ty very much
    btw: You don't upload the file
    \includes\classes\db\query_factory.php
    As this is already updated and included in zen-cart v1.5.0

    If you did upload it then you need to restore the original v1.5.0 version

  7. #7
    Join Date
    Sep 2006
    Posts
    117
    Plugin Contributions
    0

    Default Re: Orders coming in wrong date

    ok im confused. all i did was edit the fit that had australia to the below and upload the file. If im not supposed to do that what am I supposed to do?

    putenv ('TZ=Europe/London');
    This is my Signature: w00t

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

    Default Re: Orders coming in wrong date

    Quote Originally Posted by panelcart View Post
    ok im confused. all i did was edit the fit that had australia to the below and upload the file. If im not supposed to do that what am I supposed to do?

    putenv ('TZ=Europe/London');
    Yes this is what you are supposed to do!

    The mod you mentioned is composed of 3 files and is designed for the v1.3.?? series

    In v.5.0
    You ONLY upload the 2 you mentioned.
    The 3rd file \includes\classes\db\query_factory.php is NOT uploaded in v1.5.0

  9. #9
    Join Date
    Sep 2006
    Posts
    117
    Plugin Contributions
    0

    Default Re: Orders coming in wrong date

    ah ok i uploaded that a while back ill just upload the 1.5 version and overwrite it. thanks
    This is my Signature: w00t

 

 

Similar Threads

  1. Date wrong for "Date Ordered"
    By Thyme in forum General Questions
    Replies: 1
    Last Post: 23 Nov 2011, 03:31 AM
  2. Wrong Url coming up
    By autoace in forum Installing on a Linux/Unix Server
    Replies: 13
    Last Post: 10 Oct 2010, 03:41 AM
  3. Orders aren't coming to my email
    By My Digital Cafe in forum Managing Customers and Orders
    Replies: 2
    Last Post: 29 Jan 2009, 04:37 PM
  4. Products coming up in wrong area
    By cshart in forum General Questions
    Replies: 1
    Last Post: 21 May 2006, 04:31 PM

Bookmarks

Posting Permissions

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