Zen Cart Logo
Forums / General Questions / Download file suddenly stopped working

Download file suddenly stopped working

Locked

Views: 1,666

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
11 Feb 2008, 2:53 PM
#1
tereadia avatar

tereadia

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

Download file suddenly stopped working

I've been selling downloadable products for 3 months now without any problems. Now for some reason when a customer downloads the file the zipped file downloads in a second and is empty. I checked on the server and the full 20.6 mg file is still on my server. I haven't changed anything else in the cart or on the server since I first started the store. I reloaded the original file, hoping that would help. But nope, the file is still downloading as a less than one mg file and
an empty zip. Any help you can offer would be great!

Thanks!

I also posted this in bug reports, but I don't have a solution so any help anyone can offer would be great. I just got another order!

MODERATOR NOTE: removed duplicate post from Bug Reports area

11 Feb 2008, 3:40 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: Download file suddenly stopped working

The key to your problem is the root cause behind the word "suddenly".

If you didn't change anything, and things suddenly stopped working correctly after functioning fine for a notable period of time, then something beyond your control has changed.

Places to check:
a) did your hosting company change anything on the server? permissions, operating system update, PHP version change, security system changes, proxy system, caching system, etc

b) is the customer who is having trouble using a less common browser than others for whom it has worked fine?

c) can you replicate the problem on demand? in which browsers?
If you clear your browser cache and cookies, does it change the behaviour at all?

12 Feb 2008, 12:32 AM
#3
tereadia avatar

tereadia

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

Re: Download file suddenly stopped working

It was a permissions problem. Now I need to go talk to Bluehost and figure out why they changed my permissions out of nowhere. Thanks for your help. I'm sorry if this was a simple question I just didn't really even know where to start when my customers are suddenly complaining that they can't download their files! Not too happy a situation for an internet business. At least now I'll know where to look if this ever happens again.
Thanks again!

18 Feb 2008, 3:23 PM
#4
tereadia avatar

tereadia

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

Re: Download file suddenly stopped working

UPDATE:
Apparently my host does not allow permissions to be set at 777 so they changed them to 0. I changed the permissions back and it's still not working. Is it possible Zen-cart isn't aware that I changed the permissions back?
Is there some sort of zencart refresh I can do?
I can definitely replicate the problem on demand and so can others on other browsers and computers.

Thanks for any more help anyone can offer! I have an order hanging on the line!

18 Feb 2008, 7:27 PM
#5
drbyte avatar

drbyte

Sensei

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

Re: Download file suddenly stopped working

If you can't get them to allow you to use 777 for temporary download files, then you'll have to change your download method.

Set these, Admin->Configuration->Attribute Settings:
Download by Redirect = false
Download by Streaming = true

19 Feb 2008, 2:10 AM
#6
tereadia avatar

tereadia

New Zenner

Join Date:
Feb 2007
Posts:
39
Plugin Contributions:
0

Re: Download file suddenly stopped working

Thanks! So far so good. Let's hope nothing else goes screwy with the hosting etc.