Results 1 to 7 of 7

Downloaded Products are Corrupted

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 ...

      
  1. #1
    New Member
    Join Date
    Oct 2004
    Posts
    21
    Rep Power
    0


    Default Downloaded Products are Corrupted

    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\"

  2. #2
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    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. #3
    New Member
    Join Date
    Oct 2004
    Posts
    21
    Rep Power
    0


    Default

    Quote Originally Posted by neil
    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.
    I guess that's an option but not a great one. Defeats part of the purpose of having an exe file. Some people may not have a zip program either. Not many though I suppose.

    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. #4
    Active Member neil's Avatar
    Join Date
    Nov 2002
    Posts
    248
    Rep Power
    10


    Default

    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. #5
    New Member
    Join Date
    Oct 2004
    Posts
    21
    Rep Power
    0


    Default

    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.
    Keilup

    www.eboxofstuff.com
    \"Home of the Flex-e-Wizard FlipAlbum/FlipPublisher Add-on\"

  6. #6
    osCMax Developer

    michael_s's Avatar
    Join Date
    Jul 2002
    Location
    Phoenix, AZ
    Posts
    19,500
    Rep Power
    567


    Default

    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


    osCmax installation service - Have our professionals install osCmax on your server - same day service!
    osCmax 2.0 User Manual - the must have beginners guide to osCmax v2.0

    Stay Up To Date with everything osCMax:
    Free osCMax Newsletters - Security notices, New Releases, osCMax News
    osCMax on Twitter - Up to the minute info as it happens. Know it first.

    osCmax Documentation

  7. #7
    New Member
    Join Date
    Oct 2004
    Posts
    21
    Rep Power
    0


    Default

    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.
    Keilup

    www.eboxofstuff.com
    \"Home of the Flex-e-Wizard FlipAlbum/FlipPublisher Add-on\"

Similar Threads

  1. keep newest products up on main page under New Products for.
    By Redeye_Joe in forum osCmax v2 Customization/Mods
    Replies: 2
    Last Post: 12-04-2005, 11:37 AM
  2. new products-link show all products, not 10 as I configure..
    By mikkvais in forum osCommerce 2.2 Discussion
    Replies: 0
    Last Post: 08-23-2005, 02:31 PM
  3. All products showing up in New Products for the Month
    By BuckroeBill in forum osCMax v1.7 General Mods Discussion
    Replies: 0
    Last Post: 02-20-2005, 10:45 AM
  4. MS2-MAX: New Products Page: Change Products Per Row
    By glk in forum osCommerce 2.2 Modification Help
    Replies: 0
    Last Post: 03-16-2004, 07:43 PM
  5. Downloaded Items don't reduce Stock Quantity
    By midwestwebsites in forum osCmax v1.7 Discussion
    Replies: 3
    Last Post: 11-01-2003, 12:28 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •