osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

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


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-29-2004, 10:24 PM
New Member
 
Join Date: Oct 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Keilup
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\"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-31-2004, 01:50 PM
New Member
 
Join Date: Oct 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Keilup
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\"
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 11-05-2004, 05:32 PM
New Member
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cupido
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 11-05-2004, 08:57 PM
New Member
 
Join Date: Oct 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Keilup
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 11-06-2004, 05:59 AM
New Member
 
Join Date: Jun 2004
Posts: 9
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
cupido
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 11-06-2004, 02:32 PM
New Member
 
Join Date: Oct 2004
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
Keilup
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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 11-30-2004, 11:55 PM
Active Member
 
Join Date: Oct 2004
Posts: 215
Thanks: 0
Thanked 2 Times in 2 Posts
Rep Power: 5
groggory
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 12-01-2004, 07:18 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

This info has been added to the wiki:

http://www.oscdox.com/modules.php?op...=DownloadSetup
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-28-2004, 09:34 AM
New Member
 
Join Date: Dec 2004
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
rick
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 12-28-2004, 11:37 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 11,092
Thanks: 81
Thanked 348 Times in 327 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
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 Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 04:34 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax