Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Please Help?? Corrupt zip files???


curtis_george1

Recommended Posts

Hello,

 

I am trying to use the download feature of oscommerce. I have Download Enable: True, Enable Redirect: False. Which seems to be the only combination that will at least download something. If I have redirect on a blank page shows up when you click download. I have both the download and pub folder set to 777 permission. In product attributes I have my product set to Option Name: Download, Option Value:New and the Filename: test.zip. I have the test.zip file in the download folder. Everything downloads fine. It is just that the archive and files are corrupt when I try to open it. I am at a loss. Please tell me what I am doing wrong??? I have read several articles on how to do this and seems like I am not missing anything. Oh by the way my config file reads:

 

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');

define('DIR_FS_CATALOG', '/home/mlynch5/public_html/default/');

define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');

define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

 

Please help,

 

Curtis

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...