Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / Setting Up Your Zen Cart Products / Setting Up Categories, Products, Attributes / Setting up downloads - why are they all expired ?

Setting up downloads - why are they all expired ?

Locked

Started by mediaman on 7 May 2007, 9:32 PM · Views: 2,653

Results 1 to 14 of 14
This thread is locked. New replies are disabled.
7 May 2007, 9:32 PM
#1
mediaman avatar

mediaman

New Zenner

Join Date:
May 2006
Posts:
27
Plugin Contributions:
0

Post #1 by mediaman

I can't seem to get the downloads feature to work. I added the download attribute to a product and put the zipped file into the downloads folder. Everything seems to be in order. However, when I run a test order, I receive a message that the file download is expired and so I can't download it! What should I do?

7 May 2007, 9:34 PM
#2
drbyte avatar

drbyte

Sensei

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

Post #2 by drbyte

What are your download settings under Admin->Configuration->Attribute Settings ?

.
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 May 2007, 9:38 PM
#3
mediaman avatar

mediaman

New Zenner

Join Date:
May 2006
Posts:
27
Plugin Contributions:
0

Post #3 by mediaman

Enable Downloads true
Download by Redirect true
Download by streaming false
Download Expiration (Number of Days) 7

7 May 2007, 10:08 PM
#4
drbyte avatar

drbyte

Sensei

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

Post #4 by drbyte

How about "Number of Downloads Allowed - Per Product" ?

.
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 May 2007, 10:09 PM
#5
drbyte avatar

drbyte

Sensei

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

Post #5 by drbyte

Under Admin->Catalog->Downloads Manager, what's showing for "days" and "count" ?

When you edit the order in Admin->Customers->Orders, how many days does it say are available?
What's the status of the order?

.
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 May 2007, 10:55 PM
#6
mediaman avatar

mediaman

New Zenner

Join Date:
May 2006
Posts:
27
Plugin Contributions:
0

Post #6 by mediaman

Under Admin->Catalog->Downloads Manager, "days" 10, downloads "1".

Does that mean each customer can download it 1 only time?

Under Admin->Config->Attribute Settings, Number of Downloads Allowed - Per Product" 1.

Is that a limit on total downloads or a limit per customer?

7 May 2007, 11:05 PM
#7
mediaman avatar

mediaman

New Zenner

Join Date:
May 2006
Posts:
27
Plugin Contributions:
0

Post #7 by mediaman

P.S. What should the access permissions be set to?

7 May 2007, 11:21 PM
#8
drbyte avatar

drbyte

Sensei

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

Post #8 by drbyte

mediaman:

Is that a limit on total downloads or a limit per customer?Per customer, per order.

If you increase that count to a higher number, what happens ? Can you now download the file?

.
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 May 2007, 11:21 PM
#9
drbyte avatar

drbyte

Sensei

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

Post #9 by drbyte

mediaman:

P.S. What should the access permissions be set to?

Which access permissions? Which folder?

.
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 May 2007, 11:28 PM
#10
mediaman avatar

mediaman

New Zenner

Join Date:
May 2006
Posts:
27
Plugin Contributions:
0

Post #10 by mediaman

DrByte:

Which access permissions? Which folder?

The access permissions for the zipped folder. Should it just be "read only"?

7 May 2007, 11:48 PM
#11
drbyte avatar

drbyte

Sensei

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

Post #11 by drbyte

yes - the /download folder should be read-only
the /pub folder should be read-write if using download by redirect

.
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.

15 May 2007, 4:08 PM
#12
mediaman avatar

mediaman

New Zenner

Join Date:
May 2006
Posts:
27
Plugin Contributions:
0

Post #12 by mediaman

DrByte:

yes - the /download folder should be read-only
the /pub folder should be read-write if using download by redirect

Where is the /pub folder?

P.S. I should mention that I'm trying to have video downloads. That is possible with Zen Cart, right? Is any file type acceptable? (Quicktime, Windows Media, avi, etc.)

15 May 2007, 4:30 PM
#13
drbyte avatar

drbyte

Sensei

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

Post #13 by drbyte

On a fresh install, the /pub folder should be in your /public_html folder ... just like all the rest of your Zen Cart files. ie: along with your "includes" and "download" and "email" and "admin" etc.

.
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.

15 May 2007, 4:33 PM
#14
drbyte avatar

drbyte

Sensei

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

Post #14 by drbyte

mediaman:

P.S. I should mention that I'm trying to have video downloads. That is possible with Zen Cart, right? Is any file type acceptable? (Quicktime, Windows Media, avi, etc.)

Zen Cart doesn't care what you supply to your customers via download.
However, if you plan to serve media that you expect to play directly in the browser, note that you're limited to each individual customer's browser capabilities. If they can't play a .mov or .avi directly ... then ... well ... you'll end up with challenges.
Thus, most folks opt to ZIP the files ... which gives 2 benefits: 1-smaller files and therefore faster downloads and less bandwidth cost; 2-customer can unzip and then play the media in whatever tool their computer uses to play such media ... rather than depending on the browser to properly select and run the right tool.

.
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.