If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / Download file suddenly stopped working

Download file suddenly stopped working

Locked

Started by tereadia on 11 Feb 2008, 2:53 PM · Views: 1,669

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

Post #1 by tereadia

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,512
Plugin Contributions:
176

Post #2 by drbyte

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?

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

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

tereadia

New Zenner

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

Post #3 by tereadia

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

Post #4 by tereadia

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,512
Plugin Contributions:
176

Post #5 by drbyte

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

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

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

tereadia

New Zenner

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

Post #6 by tereadia

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