Does the updated file in this thread help?
http://www.zen-cart.com/forum/showth...190#post439190
Does the updated file in this thread help?
http://www.zen-cart.com/forum/showth...190#post439190
.
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.
Nope --goes from downloading a corrupt zip file to saying that the file cannot be read, kinda like in the image in my first post.
Yet, you said it used to work before you made a number of changes ... ?
.
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.
I tried it once, right after I first setup the cart (and figured out how to add downloadable files). And it worked.
Then I changed the template (from the default to the glossy_black).
Then I added Paypal IPN
I also made a downloads directory outside of my web root and put the files there (but cannot remember if I did this BEFORE or AFTER I tested the first download). I just figured out a problem that I had been having with the directory being outside my wwwroot folder, so I have it outside there again.
But in its original directory or the one I created. It seems that installing the Paypal IPN or the template may have been what caused it to break.
1. What happens when you revert back to Classic template?
2. download folder is named just that..not downloads.
3. download folder must contain htaccess file
4. download folder must be situated in zencart install i.e.
where you can see index.php file
5. Zencart does not like zip files that contain hyphens,underscores or capitals
I reverted back, and no changes.
I reverted back and removed Paypal IPN and no changes
folder is named download, not downloads. Attribute Manager gives me the little green dot (first time I tried to move it outside the wwwroot folder, I missed a spot in the admin configure.php where I had to change the directory path, so things never got the green dot, so put it back -- got it back outsite wwwroot and have the green dot now).
I tried it in the original location. I also currently have moved it to outside the wwwroot folder as explained in this FAQ item -- https://www.zen-cart.com/tutorials/i...hp?article=280
I am on an IIS server, so I would really prefer to have it located outside my root...
Now, I didn't have the .htaccess file or the index.php file in the folder outside of my wwwroot, so I just added them, and no luck with that either.
I have also tried deleting the download folder from the zen cart folder as well. Still no changes in how it it acting.
So far, my test files have all been named
ea1.pdf
ea2.pdf
ea3.pdf
and/or
ea1.zip
ea2.zip
ea3.zip
And all files have been under 2 MB in size (I have some that will be closer to to 30MB when I am done, but am using small files for testing at the moment).
Also, I have the cart installed on a sub-domain. so the URL is shop.xxxxxxx.com
IIS has that sub-domain located in a folder inside my wwwroot folder.
so that the path to the cart is D:/Domains/xxxxxxxxxx.com/wwwroot/shop/
I currently have the download folder located at
D:/Domains/xxxxxxxxxx.com/download
Have never successfully achieved download option in zencart,
where download folder is offsite or away from zencart install.
So am afraid cannot help you further myself..hopefully
Ajeh/Dr Byte,zencart devs, can...
You have checked green light/s via download manager?
Your download folder has necessary .htaccess file?
Both your config files are correctly configured?
If all these are correct, then as mentioned before,
advice required from zencart dev i.e. ajeh, as she
wrote download module..
Have a feeling that htaccess file and permissions maybe
set on zencart install, but again, ajeh can verify this..
Yes, green lights all the way.
Yes.
Yes.
With the old header_php.php file in place, it will get between 83% and 99% downloaded and then stop, and then give the error message in my first post.
With the new file, that DrByte suggested I install, it immediately gives that error message (the second image I posted).
My boss would really like it if I could get this working for us before next week.