Page 1 of 2 12 LastLast
Results 1 to 10 of 11

File Download Not Working

This is a discussion on File Download Not Working within the osCMax v1.7 General Mods Discussion forums, part of the osCmax v1.7 Forums category; Installed MS2-Max 1.7. I enabled all the download features. I've set up attributes for the product. Permissions on /download is ...

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


    Default File Download Not Working

    Installed MS2-Max 1.7. I enabled all the download features. I've set up attributes for the product. Permissions on /download is 755 and /pub is 777. I double-checked my filename and it's correct. I've set a product with 0 weight and $0 so it's free. I go through the checkout process and successfully get the download link/button. However, when I click on the link it doen't work. It goes to a blank browser page with this address:
    http://mypathtostore/download.php/or...rht/myfile.exe

    I'm stumped on why the download doesn't actually happen.
    Keilup

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

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


    Default

    After hours of researching and trial and error, I finally found a solution. Wanted to post since it seems to be a bit odd and I don't understand why it works this way.

    Turns out that even though I'm on a Linux host, I had to turn download redirect off. On top of that I also had to set CHMOD for download directory to 777 rather than 755.
    Keilup

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

  3. #3
    New Member
    Join Date
    Jun 2004
    Posts
    9
    Rep Power
    0


    Default Download problems

    I saw your posting and thought I might get some help since it seems you got your site working. First can you tell me if there are instructions anywhere on what changes/things to do list...on getting a site with downloadable products to work. 2nd can you give me a link to your site so I can see how it is suppose to look. Thanks

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


    Default

    Cupido,

    My site is www.eboxofstuff.com. However I haven't yet launched my store live. I'm still working on my whole package of stuff before launching including my site, the store, and a forum. Also, my store is very, very small. Two free downloads and one pay. It might seem osCommerce is a bit overkill for this, but I wanted the control over my download that osCommerce provides and I didn't want to have to spend much time managing it ongoing while knowing who is getting the product.

    Anyway, is there any specific problem you're having? I found all my solutions by searching here or over on the osCommerce forum. Here's a couple things:
    1. Turn on downloads in Admin
    2. Downloads Redirect should be on for Unix systems according to the help but in my case it had to be off
    3. Set your pub directory to 777
    4. Set your download directory to 777 - I've seen 755 too but in my case it only worked with 777. If there is a disadvantage to using 777 on download, I don't know what it is.
    5. Add your product for download.
    6. You MUST assign an attribut to your product or the download link won't appear after checkout. For the Option name I used "Version x" and for the Option value I used "Download: Windows-English".
    7. Be sure your file (i.e. "myfile.exe") is in the download directory
    8. In the product attributes, there is a field that says "Filename". This is where you put "myfile.exe". No path information. You also specify the number of days the download link is available and the number of downloads allowed.

    That should be it.
    Keilup

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

  5. #5
    New Member
    Join Date
    Jun 2004
    Posts
    9
    Rep Power
    0


    Default

    Hello,

    Thanks so much for the reply. What a hair pulling experience. I tweaked and tweaked on this thing and couldn't get it to work. Used your suggestions and got it right to the edge of working and then after reading some docs on another board I found the last piece of the puzzle. Someone else was having the same problem and the suggestion was made to change the "Set Order Status" under "Modules" in the Administration panel to: "Delivered".
    That was all it took and my site seems to work. Please send me an email when your site goes live. I'll be interested in seeing how it looks.
    Thanks a million!

    cupidan@yahoo.com

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


    Default

    Ah yes. I completely forgot about the order status. I had found that through searching early on. Glad you got it working.

    My site won't win any innovative awards. It's fairly simplistic. My knowledge of Web technology is not at the novice level but it certainly isn't at the expert level. I'd love to do more, but alas I just don't have the time to learn/play and do anything more fancy.

    One thing I did do was learn CSS-P some time ago and built my site with CSS-P. My existing site is pure CSS-P and the upcoming change is just additional content to what I already have. My store is nothing special. It is the standard OSC template with some small tweaks. I'm also adding a phpBB2 forum as well. That's it.
    Keilup

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

  7. #7
    Active Member
    Join Date
    Oct 2004
    Posts
    215
    Rep Power
    8


    Default

    Post your findings in the wiki. http://www.oscdox.com/modules.php?op...Ms2MaxContribs

    I made a section for people to explain how they hack various contribs into MAX

  8. #8
    osCMax Developer

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


    Default

    This info has been added to the wiki:

    http://www.oscdox.com/modules.php?op...=DownloadSetup
    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

  9. #9
    New Member
    Join Date
    Dec 2004
    Posts
    13
    Rep Power
    0


    Default

    Thanks for the information.

    I finally have our downloads working now.

    I have a question though. Let's say the number of downloads has been used and/or the exiry date has past. How can you reinitialize a download for a client?

    Thanks

    Rick

  10. #10
    osCMax Developer

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


    Default

    Rick,

    Either set the initial numbers higher or have them purchase again . The whole point of the expiration and limiting downloads is for the express purpose of generating more sales.

    You can also edit the date in the database.
    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

Page 1 of 2 12 LastLast

Similar Threads

  1. Download Controller Not working
    By HipHopServers in forum osCMax v2 Features Discussion
    Replies: 9
    Last Post: 08-09-2006, 09:49 PM
  2. Download results in corrupt file
    By red_fraggle in forum osCMax v2 Features Discussion
    Replies: 0
    Last Post: 07-27-2005, 03:16 PM
  3. Multiple download file for same item possible?
    By Anonymous in forum osCmax v1.7 Discussion
    Replies: 1
    Last Post: 05-01-2004, 06:56 AM
  4. DirectoryIndex file not working!!
    By Picman in forum osCommerce 2.2 Installation Help
    Replies: 4
    Last Post: 03-07-2003, 11:06 AM
  5. Where's the v2.2CVS download file?
    By ezcash in forum osCommerce 2.2 Installation Help
    Replies: 1
    Last Post: 11-20-2002, 11:33 AM

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
  •