ekahefe Posted January 26, 2006 Posted January 26, 2006 Is there a size limit to digital products sold in OSC? The reason why I ask is I have a zip file that reads 26.6 MB in size but when I go to download the product after purchase, it only downloads 23.3 MB and says the zip is corrupt. I have tried re-uploading it & changed the name of the zip. But when I try a different purchased zip file, 18.8MB, it downloads perfectly. Any suggestions? Thank you! :D
♥Vger Posted January 26, 2006 Posted January 26, 2006 There are various settings in php.ini which may affect this: max_execution_time = 30 ; Maximum execution time of each script, in seconds max_input_time = 30 ; Maximum amount of time each script may spend parsing request data memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) post_max_size = 8M It's most likely that it's just timing out and keeps trying to do it wihtin the standard 30 seconds allowance. Vger
ekahefe Posted January 26, 2006 Author Posted January 26, 2006 Would it be better to split up the zip file into smaller ones? Is there a way to allow more than 1 zip file to a product?
user99999999 Posted January 26, 2006 Posted January 26, 2006 If your using direct download replace the readfile() function in download.php. http://www.oscommerce.com/forums/index.php?showtopic=159602 If you are using download by redirect check this function tep_unlink_temp_dir() in download.php This will delete the download links that may be in use by someone else downloading.
ekahefe Posted January 27, 2006 Author Posted January 27, 2006 Thanks for the assistance! I will look into these options.
ekahefe Posted January 27, 2006 Author Posted January 27, 2006 I am using direct downloads. I was reading about the downloads controller contribution, someone said that virtual products won't work with the default download option in OSC, could this be the problem? I have quite a few downloads working already. <_<
Recommended Posts
Archived
This topic is now archived and is closed to further replies.