Track Downloads

Locked

Views: 3,695

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
9 Jun 2006, 10:53 PM
#1
cliffhaas avatar

cliffhaas

New Zenner

Join Date:
Feb 2006
Posts:
32
Plugin Contributions:
0

Track Downloads

Hello All,
I have just begun using downloads and allow 2 downloads in a 7 day period. I would like to be able to check an order to see if the customer has downloaded the product yet but don't see how this can be done. I did see a post by Linda in the Archive but don't see the icon she refrenced in her post.
If someone could help I would greatly appreciate it. I want to be sure the customer had no trouble without having to contact them and ask.
Thanks,
Cliff

**Thanks again to all, I will be leaving my Zencart footer on the pages as a thanks and contributing as well. **

10 Jun 2006, 12:00 AM
#2
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Track Downloads

If you hit the order ... then click edit ...

You will see the: Order Download Status table ...

This is telling you how many days and attempts are available ...

This will increment the number available as they are downloaded

The Green icon next to the Filename means it is still available to the customer

The Yellow icon next to the Filename means it is not available because it expired on days or maximum downloads ...

The actual counts live in the orders_products_download table of the database ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jun 2006, 1:08 AM
#3
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Re: Track Downloads

Having problems with customers getting incomplete downloads from our store. I have tested the downloads in question, and sometimes they download completely....sometimes they don't. Could this be a problem with the store itself? Has anyone else ever had this problem? HELP....

Danny Patterson

10 Jun 2006, 1:12 AM
#4
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Track Downloads

unix or windows server?

what size files?

Do small files work and large fail?

Are you using spaces or special characters in the filename?

Are the files Zipped?

It sounds to me like your large files are having an issue ... check with your hosting site about limits ...

or that you cannot use the Redirect if on unix, because your hosting site does not have you configured to understand the symbolic links in the .htaccess file ...

or that you are on a windows server with Redirect on and windows servers cannot use that setting it must be off ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jun 2006, 1:21 AM
#5
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Re: Track Downloads

Unix
This is a typical filename "BBV1_8x10_PSD", "ED", or "PSD"
All Files are contained in a zipped folder.
File size varies from 1mb to 250mb depending on the graphic purchased.
Web hosting has recently updated to PHPSuexec
They have assured me that nothing is wrong on their side. They said that it could be they customer's problem maybe with there router or IE settings.

Driving me crazy!

Thanks for your help!

Danny Patterson

10 Jun 2006, 1:41 AM
#6
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Track Downloads

Are you, personally, able to download via your site both the 1mb to 250mb files?

Test this now, if you have not done so in the last hour ... :smile:

If either fails, turn off the Redirect ... can you now download both the small 1mb and large 250mb files?

Check with your hosting site about limits if the only issue is the large files when Redirect is on ...

Redirect on is the preferable setting, however, you may not be able to use it with your hosting site unless they alter your server settings ...

If, even with Redirect OFF, you cannot download the large files ... then you definitely need to talk to your hosting site about the server settings ...

NOTE: 250mb is monsterous for downloads ... consider breaking up the peices and parts into smaller components as it would really be bad to get to 227mb or the 250mb download and have the download croak on a connection issue ... you will need to see how it goes with your customers on those monsters ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jun 2006, 2:04 AM
#7
dpatt111 avatar

dpatt111

New Zenner

Join Date:
May 2006
Location:
Newport NC
Posts:
34
Plugin Contributions:
0

Re: Track Downloads

That is what is so weird. Sometimes I can download the files with no problem. Come back the next day and have an incomplete download on the same file.:(

Have the same problem on files from 1mb -250mb.

I forgot to mention that when a customer chooses the run or open option instead of save, they receive the full download.

I turned the redirect off, and tested everything works fine..... for now.
Should I use the download by streaming option?
:blink:

Danny Patterson

10 Jun 2006, 3:31 AM
#8
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Track Downloads

Let's try leaving streaming on for now and see if the Redirect OFF makes a difference or not rather than change multiple issues here ...

In theory the streaming should help you rather than hurt you ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jun 2006, 5:26 AM
#9
cliffhaas avatar

cliffhaas

New Zenner

Join Date:
Feb 2006
Posts:
32
Plugin Contributions:
0

Re: Track Downloads

Hello and thanks for the reply. I have attached a PDF (zipped to meet the size requirements) showing the screen I get when looking at the order. What am I missing? I don't see the table you mentioned.
Thanks again for your help.

**Thanks again to all, I will be leaving my Zencart footer on the pages as a thanks and contributing as well. **

10 Jun 2006, 1:38 PM
#10
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Track Downloads

Your Product is acting as if you never added the download filename to the attribute itself so it is just an Attribute with no filename associated with it ...

First ... check the Attributes for that product ...

Do you see a green dot next to the filename?

Do you have any add-ons in your Admin?

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jun 2006, 2:46 PM
#11
cliffhaas avatar

cliffhaas

New Zenner

Join Date:
Feb 2006
Posts:
32
Plugin Contributions:
0

Re: Track Downloads

There is a green dot at the file name and the download works as it should from a user perspective. I have tested from a dummy account. I do have an add on in admin for packing slip printing but I don't recall any others. I don't use the addon but have no idea how to remove it at this point either.

**Thanks again to all, I will be leaving my Zencart footer on the pages as a thanks and contributing as well. **

10 Jun 2006, 2:56 PM
#12
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Track Downloads

Check that the /admin/orders.php matches the current version ...

Also check that the file /admin/modules/orders_download.php matches the current version ...

First check the $ID tag of the files then compare the files with something like Beyond Compare from scootersoftware.com to assure that the files match ...

You appear to be missing the code from the orders.php file on lines 458-461 that calls the orders_download.php file:

<?php
  // show downloads
  require(DIR_WS_MODULES . 'orders_download.php');
?>

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Jun 2006, 5:43 PM
#13
cliffhaas avatar

cliffhaas

New Zenner

Join Date:
Feb 2006
Posts:
32
Plugin Contributions:
0

Re: Track Downloads

You are correct in that orders.php has no reference to orders_download in it at all. I am running version 1.2.5
Should I try to insert the code you show here or can I replace admin/orders.php with the file from the currently availible version on sourceforge?
(orders.php & orders_downloads.php attached in zip)

**Thanks again to all, I will be leaving my Zencart footer on the pages as a thanks and contributing as well. **

10 Jun 2006, 7:02 PM
#14
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Track Downloads

You can try installing that peice ... I forget off the top of my head what else you might need in the way of functions etc. for it ...

NOTE: I'd upgrade to at least v1.2.7 (if not to v1.3.x) ... there are so many upgrades and bugfixes and security fixes that you need it ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!