Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Problem with downloadable products


gordoberg

Recommended Posts

Posted

I am testing the function of downloadable products. I enabled the downloadable products in the Admin's panel and went through to the very last step of downloading. The download file for the test product "Unreal Tournament" should be the "unreal.zip" in the "catalog/download" folder. But when I clicked the download link, what I downloaded is the "checkout_success.php" file. What happened? Thanks for any help!

Posted

I right clicked on the download link, and selected the "Save Target As....", this time, I succeeded.

 

But when I left-cliked on the link, it won't give me the "unreal.zip" file, instead, the "checkout_success.php" file or the "download.php" file.

Posted

I can't even get that far. :(

 

Where is the download link? Is it in your buyers account?

 

D.

Posted

I am using Windows 2000 and Apache. If this problem happens only with this configure, I'll ignore it, because the actual funational site will be Lunix based. Anyone has the exprience of downloadable products that can share? Thanks!

Posted

Daniel,

 

The download link should be in the page of "checkout_success.php", after user confirmed the the purchase. It appears in the table under the title text "Download your products here:"

 

When I clicked the download link, it will call the "download.php". It is very strange that the string in the function call:

 

readfile(DIR_FS_DOWNLOAD . $downloads['orders_products_filename']);

 

is correct. I replaced it with the command:

 

echo DIR_FS_DOWNLOAD . $downloads['orders_products_filename'];

 

It does show the the string:

 

<My local host path>/catalog/download/unreal.zip

 

But the actual file appears in the download dialogue is

 

<My local host path>/checkout_success.php

 

If the download link is diaplyed in the "account_history.php" when customer try to re-download it by clciking the "My Account", the actual file I downloaded is:

 

<My local host path>/account_history.php

 

A very strange problem.

Posted

Daniel,

 

I tried your website. It seems that you did not enable the "Download" option in the Configuration Panle. You need go to the admin/index.php page. Click the "My Store" then the "Download" option at the left list, and set the "Enable Download" to true.

Posted

I've redone the settings to enable download/true, and it's still not working. I had already set it to true before, so it must be something else.

 

Doesn't matter though. I gave up and am now selling the thing through http://www.bitpass.com

 

Thanks for the help though, gordoberg! Good luck with your own download probs! Don't let it drive you mad... :D

 

D.

Archived

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

×
×
  • Create New...