cyberwisdom Posted July 30, 2004 Posted July 30, 2004 I sell products on my website that once purchase has the ability to download. It used to work before I made some changes but now I have an error. After the customer makes a purchase and checks out, the download link comes up but when they download the file it is corrupted. It is 544 bytes instead of 800-1000kb. Does anyone know what may be the problem? I've searched the forums and can't find anything yet.
cyberwisdom Posted July 30, 2004 Author Posted July 30, 2004 I've found the exact same problem in this thread but still no answer: http://www.oscommerce.com/forums/index.php?showtopic=89811&st=0
cyberwisdom Posted August 4, 2004 Author Posted August 4, 2004 Can anyone help me with this? please... :(
OceanRanch Posted August 4, 2004 Posted August 4, 2004 If your server is on a Linux box try toggling your Oscommerce admin setting for "downloads" ->downloads by redirect->true. Tom
cyberwisdom Posted August 5, 2004 Author Posted August 5, 2004 Thanks OceanRanch. I already had that enabled. I found out the problem was that although I had the downloads/ folder chmod 777, I needed to also have pub/ folder set to 777. Aparantely, it will create the file in the pub/ folder temporarily until it's downloaded. Since it didn't have read-write permission, it wasn't able to write to the pub/ folder. That's why I would get a file of 544 bytes or so. Took a few days to figure it out... <_<
Recommended Posts
Archived
This topic is now archived and is closed to further replies.