Sensei
- Join Date:
- Jan 2004
- Posts:
- 63,511
- Plugin Contributions:
- 176
Download truncated
tipzter:
I can't get it to do the redirect it keeps giving a 400 bad request error. I have never been able to get that to work even though I am on a server that allows for it. I see that it creates the temp folder with that begins with a (dot) . and then letters like this .tdxfghrtych but then there is never a file that gets put there and when you click on the download it just takes to you to the bad request page. Any ideas how to fix that so I can test it that way?
The download-by-redirect feature works like this:
- it checks that the download source file can be located
- it generates a random folder name, starting with a dot
- it creates that random folder inside the "pub" folder
- it creates a symlink inside that folder, which points to the origin source file (see #1 above)
- it redirects the customer's browser to that symlink so that the download can take place
Since yours is completing 1, 2, 3 properly, but not completing #4, it indicates that something is preventing the symlink from being generated. That's something caused either by permissions or server restrictions. That's something you'll have to work out with your server administrator / hosting company.
Since your post quoted above, you've made other posts and sung several different tunes with different stories. It's unclear what specific problem you're facing, especially since you said you dropped Zen Cart in favor of something else, blaming the software for not being compatible with your unique server configuration.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.