This is a discussion on Downloaded Products are Corrupted within the osCMax v1.7 Discussion forums, part of the osCMax v1.7 Forums category; I currently have 3 products. 2 are free and 1 is purchased throught PayPal. They are all .exe files. All ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| I currently have 3 products. 2 are free and 1 is purchased throught PayPal. They are all .exe files. All 3 products end up corrupted after downloaded them after the checkout process. From what I can tell so far, it appears the file downloaded through the store is 2 bytes larger than my original file. I *think* this was all working fine when I tested before going live. But the first few people that purchased were telling me that when they donwload the product (purchased one) and launch the .exe file, a DOS box briefly opens and disappears. So, to test today, I logged into my cart and first tried to download both of my free products. They don't work for me. When I launch the .exe files, I get the DOS box I've been told about by my customers. That is when I noticed that my files were 2 bytes larger than my original. I've done some searching but haven't found a solutions. I saw a note about he downloads redirect. My is "false". I needed that anyway for the download functionality to work. Anybody have a solution or the very least something I could try?
__________________ Keilup www.eboxofstuff.com \"Home of the Flex-e-Wizard FlipAlbum/FlipPublisher Add-on\" |
| Sponsored Links | ||
| ||
| |
|
#2
| ||||
| ||||
| You could try zipping up the .exe file and providing the download as a .zip file. And/or you could add the .exe file to a directory, include a ReadMe in the directory & zip up the directory.
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
|
#3
| |||
| |||
| Quote:
However, I'm just plain puzzled why the files are corrupted. I thought for sure this has happened and I could find some info by searching here or over on osCommerce forum. However, I found next to nothing. So I'm not sure if I have something set wrong somewhere, there's a bug in the php code somewhere, or it's just something unique to my hosting environment. Ultimately I need some sort of solution, zip or otherwise. My live store can't continue as is. Thanks for the suggestion. I may need to go with that at least until I can possibly come up with some other solution.
__________________ Keilup www.eboxofstuff.com \"Home of the Flex-e-Wizard FlipAlbum/FlipPublisher Add-on\" |
|
#4
| ||||
| ||||
| Yeah. The zip option is not great but may be a work around. The ReadMe could contain info on a zip program etc. I was thinking your exe is possibly being disabled by some wierd antivirus setting - somewhere.
__________________ HTH Neil www.12website.com "You can have everything in life that you want if you will just help enough other people get what they want." Zig Ziglar |
|
#5
| |||
| |||
| I thought about putting the info about zip/zip program in the ReadMe. But then I thought, gee, if the ReadMe is in the zip file, then what's the point. Also, I'm not exactly sure what the point of zipping a directory would be. Other than perhaps when the user unzips, the ReadMe and the exe would then end up in the directory name I used. Going to try the zip route for now. |
|
#6
| ||||
| ||||
| Check to make sure you are putting the files on the server in binary format. This can be the problem. Also make sure that you are not gzipping them on the fly with mod_gzip. This can cause problems, and you can specify that the files not be gzipped at the server level.
__________________ Michael Sasek osCMax Developer
|
|
#7
| |||
| |||
| I wanted to report that the problem has been resolved thanks to Michael. It was the gzip issue. I had gzip turned on. I don't remember but I think it was on by default because i don't know why I would have turned it on. I'm honestly not even sure what it would be used for. I turned it off and then it all worked. One note though as soon as I turned it off and then logged into my store to test, I started getting the session error message. It happened to be in english.php. I checked the file and sure enough there were extra lines at the end of the file. Not sure why either because I thought I had eliminated all of these after first install. Anyway, it's all working fine now. Thanks Michael. |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| keep newest products up on main page under New Products for. | Redeye_Joe | osCMax v2 Customization/Mods | 2 | 12-04-2005 10:37 AM |
| new products-link show all products, not 10 as I configure.. | mikkvais | osCommerce 2.2 Discussion | 0 | 08-23-2005 01:31 PM |
| All products showing up in New Products for the Month | BuckroeBill | osCMax v1.7 General Mods Discussion | 0 | 02-20-2005 09:45 AM |
| MS2-MAX: New Products Page: Change Products Per Row | glk | osCommerce 2.2 Modification Help | 0 | 03-16-2004 06:43 PM |
| Downloaded Items don't reduce Stock Quantity | midwestwebsites | osCMax v1.7 Discussion | 3 | 11-01-2003 11:28 AM |