Results 1 to 8 of 8
  1. #1
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    45
    Plugin Contributions
    0

    Default File Expiration Date is 4 Years Later

    I'm using Zen Cart 1.3.7, with the most recent patches, and only a few mods like Wish List and Ty's Tracker.

    This is a stumper... I assume it's a bug, because everything else appears to be working as expected, and I can't think of a single thing I could have done to have this happen, and it happens with every re-creation:

    In customer mode, I bought a download on 5/12/07, and had it set to expire in 7 days and with only 1 download allowance/attempt.

    However, in the customer account history, it says the link expires on 6/06/2011 (everywhere else, in admin, it still says 7 days). After downloading the file one time, the link does actually expire as it's supposed to, but shows this mind-boggling date to the customer. An entire year and a month after it's supposed to expire.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: File Expiration Date is 4 Years Later

    1. Log into your Zen Cart admin
    2. Look on the admin menu bar, where it shows you the server date, time, and IP address.
    What does it show you right now?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: File Expiration Date is 4 Years Later

    Hey, DrByte:

    It shows Sat, 12 May 2007 07:48:44 -0400GMT [IP Address *****].I'm actually in the Pacific time zone, but still, it's correct. And the dates for the order being reported in customer emails and Admin orders page, are all correct, too. It's just in the file expiration date that it's not.

  4. #4
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,927
    Plugin Contributions
    4

    Default Re: File Expiration Date is 4 Years Later

    Hi,

    Haven't been able to reproduce this problem as yet. Can you post details of your server

    php version
    mysql version
    Server Operating System
    etc.

  5. #5
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: File Expiration Date is 4 Years Later

    [FONT=Arial]Hey, there... sure thing...
    [/FONT]
    [FONT=Arial]Server Operating system: freebsd[/FONT]
    [FONT=Arial]Perl version: 5.8.8[/FONT]
    [FONT=Arial]Web server: Apache[/FONT]
    [FONT=Arial]MySql Version 4.0[/FONT]
    [FONT=Arial]CGI installed (version 2.80).[/FONT]
    [FONT=Arial] HTML::Template installed (version 2.8).[/FONT]
    [FONT=Arial]Image::Size installed (version 2.93).[/FONT]
    [FONT=Arial]File::Spec installed (version 3.19).[/FONT]
    [FONT=Arial]CGI::Cookie installed (version 1.20).[/FONT]
    [FONT=Arial]DB_File installed (version 1.814)[/FONT]
    [FONT=Arial]DBI installed (version 1.51).[/FONT]
    [FONT=Arial]DBD::mysql installed (version 3.0006)[/FONT]
    [FONT=Arial]DBD :: Pg installed (version 1.49).[/FONT]
    [FONT=Arial]HTML::Entities installed (version 1.35).[/FONT]
    [FONT=Arial]LWP::UserAgent installed (version 2.001)[/FONT]
    [FONT=Arial]SOAP::Lite installed (version 0.52).[/FONT]
    [FONT=Arial]File::Temp installed (version 0.12)[/FONT]
    [FONT=Arial]Image::Magick installed (version 6.2.9).[/FONT]
    [FONT=Arial]Storable installed (version 2.15).[/FONT]
    [FONT=Arial]MIME::Base64 installed (version 3.07).[/FONT]
    [FONT=Arial]XML::Atom installed (version 0.16).


    [/FONT]
    Last edited by vivaknievel; 13 May 2007 at 03:53 PM. Reason: Something was converted into a smilie that wasn't intended to be.

  6. #6
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: File Expiration Date is 4 Years Later

    From your Zen Cart admin area, under Tools->Server Info, what is your PHP version ?
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  7. #7
    Join Date
    Jun 2003
    Location
    Newcastle UK
    Posts
    2,927
    Plugin Contributions
    4

    Default Re: File Expiration Date is 4 Years Later

    also the BSD version if you can get that as well.

    Have found some references to BSD/PHP problems with mktime, but these seem to be DST related, so might not be relevant.

  8. #8
    Join Date
    Mar 2007
    Location
    Los Angeles, CA
    Posts
    45
    Plugin Contributions
    0

    Default Re: File Expiration Date is 4 Years Later

    I forgot all that info was under Tools...

    Server OS: FreeBSD 6.1-STABLE
    Server Date: 05/13/2007 19:37:28
    Database: MySQL 4.0.27-log
    Database Date: 05/13/2007 19:35:38
    PHP Version: 4.4.4 (Zend: 1.3.0)
    HTTP Server: Apache

 

 

Similar Threads

  1. v153 Coupon End Expiration Date beyond 2018?
    By laurelsstitchery in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 16
    Last Post: 19 Jan 2022, 10:45 AM
  2. Sales or Specials with Time and Date (instead of date only) Expiration
    By townsend2009 in forum Setting Up Specials and SaleMaker
    Replies: 3
    Last Post: 29 Jan 2015, 07:56 PM
  3. Product expiration date
    By MCHESHIER1 in forum Setting Up Categories, Products, Attributes
    Replies: 17
    Last Post: 9 Sep 2011, 11:36 PM

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