Results 1 to 10 of 20

Hybrid View

  1. #1
    Join Date
    Nov 2004
    Location
    Norfolk, United Kingdom
    Posts
    3,036
    Plugin Contributions
    2

    Default Re: download timeout

    That code also doesn't test at 20 minutes but at 1 hour and 20 minutes:

    80x60(seconds)=4800seconds.

    Downloadable products is a minefield and there's nothing simple at all about it.

    Older versions of IE will only handle downloads up to 2 Gbs in size. Newer versions wil handle 4 Gbs. Google Chrome handles downloads in the same way as IE.

    Firefox will handle any size of download, but if you use the "Pause" button in Firefox it actually means starting all over again from the beginning.

    The size of file which PHP can handle will depend on the number of bytes which need to be read and 32 bit systems will be able to handle fewer bytes being read than 64 bit systems will.

    Then there's the not so small matter of whether servers wll permit "Download by redirect" to work. The more scecure the server the less likely you will be to be able to use this feature - as it needs to create symbolic links in the pub folder "on the fly".

    Vger

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: download timeout

    Quote Originally Posted by Vger
    That code also doesn't test at 20 minutes but at 1 hour and 20 minutes:
    That was their edit to increase time
    Code:
        // override PHP timeout to 20 minutes, if allowed
        //@set_time_limit(1200);
        @set_time_limit(4800);	// test at 1 hr, 20 min for dialup.

  3. #3
    Join Date
    Jan 2010
    Posts
    133
    Plugin Contributions
    0

    Default Re: download timeout

    Quote Originally Posted by Vger View Post
    That code also doesn't test at 20 minutes but at 1 hour and 20 minutes:

    80x60(seconds)=4800seconds.

    Downloadable products is a minefield and there's nothing simple at all about it.

    Older versions of IE will only handle downloads up to 2 Gbs in size. Newer versions wil handle 4 Gbs. Google Chrome handles downloads in the same way as IE.

    Firefox will handle any size of download, but if you use the "Pause" button in Firefox it actually means starting all over again from the beginning.

    The size of file which PHP can handle will depend on the number of bytes which need to be read and 32 bit systems will be able to handle fewer bytes being read than 64 bit systems will.

    Then there's the not so small matter of whether servers wll permit "Download by redirect" to work. The more scecure the server the less likely you will be to be able to use this feature - as it needs to create symbolic links in the pub folder "on the fly".

    Vger

    Since he was getting the Zen Cart timeout message, I don't think it's his browser (and he tried it on both FF & IE, with the same result). And I checked with Godaddy and received this response:
    Thank you for contacting online support. We do not place a download limit on the account. However, if the download is being processed via script, you may need to adjust the max_execution_time in your php.ini file. As your account is using php5 the file will need to be called php5.ini.
    So it looks like it's related to ZC...

 

 

Similar Threads

  1. v155 Admin timeout: setting the length of timeout before rolling in again
    By acmaurer in forum General Questions
    Replies: 5
    Last Post: 8 Feb 2017, 02:00 AM
  2. COWOA won't allow customer to download file from download folder
    By fawad123 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 18 May 2011, 01:27 PM
  3. Dialup download timeout
    By OrcaSoul in forum General Questions
    Replies: 6
    Last Post: 16 Mar 2010, 10:58 AM
  4. why i can download file from download folder directly?
    By plonolp in forum General Questions
    Replies: 5
    Last Post: 12 Apr 2007, 11:39 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg