Zen Cart Logo
Forums / Bug Reports / File Expiration Date is 4 Years Later

File Expiration Date is 4 Years Later

Locked

Views: 2,074

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
12 May 2007, 1:06 PM
#1
vivaknievel avatar

vivaknievel

New Zenner

Join Date:
Mar 2007
Location:
Los Angeles, CA
Posts:
45
Plugin Contributions:
0

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.

12 May 2007, 2:57 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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?
12 May 2007, 11:09 PM
#3
vivaknievel avatar

vivaknievel

New Zenner

Join Date:
Mar 2007
Location:
Los Angeles, CA
Posts:
45
Plugin Contributions:
0

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.

13 May 2007, 12:21 PM
#4
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,876
Plugin Contributions:
3

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.

13 May 2007, 2:51 PM
#5
vivaknievel avatar

vivaknievel

New Zenner

Join Date:
Mar 2007
Location:
Los Angeles, CA
Posts:
45
Plugin Contributions:
0

Re: File Expiration Date is 4 Years Later

Hey, there... sure thing...

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

13 May 2007, 2:53 PM
#6
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: File Expiration Date is 4 Years Later

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

13 May 2007, 4:07 PM
#7
wilt avatar

wilt

Oji-san

Join Date:
Jun 2003
Location:
Newcastle UK
Posts:
1,876
Plugin Contributions:
3

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.

13 May 2007, 11:41 PM
#8
vivaknievel avatar

vivaknievel

New Zenner

Join Date:
Mar 2007
Location:
Los Angeles, CA
Posts:
45
Plugin Contributions:
0

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