Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Help Please about downloads

Help Please about downloads

Locked

Views: 748

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
22 Jul 2009, 3:41 PM
#1
thins avatar

thins

New Zenner

Join Date:
Jul 2009
Posts:
9
Plugin Contributions:
0

Help Please about downloads

I did a test purchase of one of my ebooks and the download worked but when I tried unzipping it with winzip it stated

cannot open file:it does not appear to be a valid archive.
If you downloaded this file, try downloading this file again.

I don't have any ideas to what could be wrong. I am on a linux server and I have the permission set to 777 under the downloads folder and download by redirect is on. I don't know what to do. Can someone help me figure out what is wrong or can someone share their experience with a problem like this to possibly help me. :(

22 Jul 2009, 4:37 PM
#2
thins avatar

thins

New Zenner

Join Date:
Jul 2009
Posts:
9
Plugin Contributions:
0

Re: Help Please about downloads

I fixed it. Yes yes yes. Even though no one helped me I'm going to tell how I fixed it if it can save someone else a two day headache. Under my /downloads file in file manager I have all my ebooks saved to /ebooks. I changed the /ebooks permission to 777 and all of my zip files in that folder I had to change the permission to 666. If you are having this same problem try this, it might just work. I am so happy now. I can finally go live with my store. YES!!!!!!!!!!

22 Jul 2009, 6:37 PM
#3
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Help Please about downloads

Every webserver's configuration is different.

YOUR hosting company's unique server configuration probably prohibits you from being allowed to use 777 permission levels. Keep that in mind for other things you may do on your server.

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