Jump to content

Downloads timeout for some customers


Recommended Posts

Most of my customers have no issues downloading out virtual products around 122MB in size. But about 5% get a timeout and the max limit i set is used up in 1 sessions. This makes no sense the download needs to finish before it counts as a download. And there no reason for it to stop downloading if they have a small timeout. But apparently is does.

How can this be fixed?

Should i buy a professional download module that can work with my key registration module. Does the default download system not work well?

Link to comment
Share on other sites

without access to phpinfo I can make regular recommendation that you up

http://php.net/manual/en/function.set-time-limit.php

you should be able to solve by setting your php run-time.  Note: you will want to run a phpinfo to see if changes you make are actually reflected in phpinfo.

here is one of  our  free modules that will display phpinfo from you back office, i.e. if you make runtime change via .htaccess this will display correct php info.  for root phpinfo it would not know about any changes to php that are made during PS execute.

https://www.prestaheroes.com/en-us/modules/prestashop-module-display-phpinfo-phpini

 

 

 

 

Edited by El Patron (see edit history)
Link to comment
Share on other sites

On 12/11/2018 at 10:32 PM, Customer Service said:

What file do i update? ini.php?

Where is the module on the prestashop store?

I really need an example code and where to put it.

Start off by contacting your hosting company for help to increase max execution time.  Also use this module

https://www.prestaheroes.com/en-us/modules/prestashop-module-display-phpinfo-phpini

to view your php 

Link to comment
Share on other sites

  • 3 weeks later...

Honestly i do not think it has anything to do with a time limit. Its more like some customers have a timeout so quickly it causes my max download limit to be used up within 1 minute then display the message you have reached the maximum download limit. I have taken 3 minutes to download and i never have issues. so time is not the issue. The issue is how Prestashop uses max download limits. And some customers like in foreign Countries do not have smooth connection the entire time. Also some customer get 20MB and it thinks it done for as 120MB file. So then the zip is corrupt since it finalized early. So let me know if this info helps you understand the issue more. Maybe another route can help.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...