Re: How to set up downloadable products
Hi,
and thanks for all the instructions.
I set up a downloadable file as instructed. I get Error 500. My ISP says the .htaccess files in /download and in /pub cause the problem.
It looks as if there's a temporary address for the download but that the .htaccess will not let the customer download the purchased file.
What else can I do except remove the .htacess files?
I can't see the .htaccess files nor download them to my computer. I will have to erase the whole directory and reload it without the .htaccess to get rid of it.
The server is a Linux/Apache system.
TIA,
Marianne
Re: How to set up downloadable products
Quote:
Originally Posted by Ajeh
Payment Orders Status control this ...
If you set the Orders Status to Pending, then the file is not available until it is released by you in the Admin via Orders when you change the Order Status to Processing or Delivered ...
Good to know! It's marked with a price of 0 though, so it goes right to it with no payment stuff. Maybe if I change it to .01 that would be enough of a pain since people would have to put in the cc# etc to get the file for "free" and I doubt anyone actually purchasing minds adding .01 for a pattern.
Re: How to set up downloadable products
I solved this myself.
The problem was the .htaccess file in /pub. I made a backup, then deleted the pub folder and replaced it from the backup. I can't see the .htaccess files and they don't download either.
I then went back to the downloads folder and put the .htaccess back.
It works!
Re: How to set up downloadable products
well i was testing the first download i setup, but the site is somehow chewing the zip file up on the download process... i set it to Documentation MS Word - English + 0.0000 + 0 0
$0.00 $0.00
Filename: ISBN0072253703.zip Days: 0 Max: 0
upon the download process it gets chewed up from 2.5 mb to 191 kb... not cool
Re: How to set up downloadable products
Your Order Number is: 3
To download your files click the download button and choose "Save to Disk" from the popup menu. Item Name File Size Filename Link Expires Remaining
C++ Demystified: A Self-Teaching Guide 2.57 MB ISBN0072253703.zip 07/16/2006 5
its bringing up the correct file size but its still chewing up the file to 191 kb, leaving me with a garbage file
Re: How to set up downloadable products
On the Attribute, there must be a number of days that the file can be downloaded and the maximum number of times a file can be downloaded ...
The download file should be uploaded to:
/download
/pub should be set to 777
Files should not have spaces or special characters in the filename and the files should be zipped ...
If you are on Windows, you need to turn off the Redirect on the Attribute Settings ...
If you are on unix, Redirect should be on ...
However, some hosting sites do not have the server setup to allow for the .htaccess symbolic link to work, and this is a problem ...
/pub/.htaccess
Quote:
#prevent directory browsing -- for security
IndexIgnore */*
Options +FollowSymLinks -Indexes
Either you need to get with them and see if they can change it, or you need to turn off Redirect if they will not give you control over your website ...
If you can turn off the Redirect and still cannot get the download, then you have hit a size limitation.
Depending on the size of the files, you could also be running into a limitation with your hosting site ...
To test a size limitation, set up a small download to test ...
Re: How to set up downloadable products
.htaccess is not recognised by IIS 6.0 as im runnning windows server 2003 enterprise so i have already deleted the .htaccess those are not needed for windows servers, i hope you dont make your scripts require that file, did you?
Re: How to set up downloadable products
My webserver is also setup to give eveyones files 777 upon creation so if someone ftp's into my webserver and they create a file, there all 777 anyway its still causing this which is unusual, if the script was reliant on using redirect from non windows servers am i going to have script a alternative wild card call function?
Re: How to set up downloadable products
filename ISBN0072253703.zip
Re: How to set up downloadable products
You are on Windows ...
Turn off the Redirect in Attribute Settings ...
When looking at the Download in the Account History, how many days and how many downloads are available to you?