Zen Cart Logo
Forums / Upgrading from 1.3.x to 1.3.9 / PHP timeout for downloads

PHP timeout for downloads

Views: 1,180

Results 1 to 3 of 3
15 Mar 2011, 4:37 PM
#1
mosa avatar

mosa

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

PHP timeout for downloads

I know this thread is over a year old since the last post, but I've run into the same problem with the PHP timeout for downloads.

My host offered the solution of mod_xsendfile and has enabled it for my domains.
http://codeutopia.net/blog/2009/03/06/sending-files-better-apache-mod_xsendfile-and-php/

Problem is, I know absolutely nothing about PHP, so I'm unsure which file I need to add the required code. If anybody knows which file handles the product download prompt, and how to modify the code, I'd be really grateful. My only other option is switching to a private server, but I'd rather try this first.

15 Mar 2011, 7:24 PM
#2
drbyte avatar

drbyte

Sensei

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

Re: PHP timeout for downloads

You'd be best to start with the latest ZC version.

15 Mar 2011, 11:24 PM
#3
mosa avatar

mosa

New Zenner

Join Date:
Mar 2011
Posts:
2
Plugin Contributions:
0

Re: PHP timeout for downloads

DrByte:

You'd be best to start with the latest ZC version.

I'm using 1.3.9g. I can't upgrade at the moment because I had a coder add some modifications, then went missing. If I upgrade, I'll probably end up undoing a lot of the work he did, and he's not around to fix it or help.