Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Link to Product Download Doesn't Appear


dmsweets

Recommended Posts

Posted

I tested the download product feature. I bought the product and all the emails etc went through and it says it is providing the link to the product download but the text has no link. Can someone suggest a fix?

 

Thanks

Posted

I'm having the same problem too - could it be something to do with Order Status?

 

I'm going to trawl through the php code now, I'll re-post if I can sort it out.

Posted

OK, I've got it working but only through manually editing values in the tables via phpMyAdmin.

 

It seems that the reason the link isn't displaying on my system is because it is failing one of the checks in the catalog/includes/downloads.php script:

 

1 - download count is more than zero

2 - file exists in the correct download directory

3 - either maxdays = zero (ie no limit) or there is still time left to donwload

 

On mine it was failing on the file existence check - it looks to be storing the filename incorrectly in the orders_products_download table. When I manually add the file extension to the filename and refresh the download page the link appears and works fine.

 

Now all i've got to do is figure why the filename isn't being stored properly.

 

I'm sure this has already been resolved somewhere on this forum but I've searched and I can't find it ANYWHERE!

  • 4 weeks later...
Posted
OK, I've got it working but only through manually editing values in the tables via phpMyAdmin.

 

It seems that the reason the link isn't displaying on my system is because it is failing one of the checks in the catalog/includes/downloads.php script:

 

1 - download count is more than zero

2 - file exists in the correct download directory

3 - either maxdays = zero (ie no limit) or there is still time left to donwload

 

On mine it was failing on the file existence check - it looks to be storing the filename incorrectly in the orders_products_download table. When I manually add the file extension to the filename and refresh the download page the link appears and works fine.

 

Now all i've got to do is figure why the filename isn't being stored properly.

 

I'm sure this has already been resolved somewhere on this forum but I've searched and I can't find it ANYWHERE!

 

Did anyone get this issue fixed yet???

 

This is crazy, there are at least 30 posts of different threads on this issue... and no-one is getting anywhere.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...