Customer Service Posted December 9, 2018 Share Posted December 9, 2018 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 More sharing options...
El Patron Posted December 10, 2018 Share Posted December 10, 2018 (edited) 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 December 13, 2018 by El Patron (see edit history) Link to comment Share on other sites More sharing options...
Customer Service Posted December 12, 2018 Author Share Posted December 12, 2018 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. Link to comment Share on other sites More sharing options...
El Patron Posted December 13, 2018 Share Posted December 13, 2018 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 More sharing options...
Customer Service Posted December 30, 2018 Author Share Posted December 30, 2018 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 More sharing options...
Customer Service Posted December 30, 2018 Author Share Posted December 30, 2018 Contacted my hosting and the max execution time was 30 seconds. Wow that is way to quick. So lets see if this fixes the issue. Thanks so far for the help. 1 Link to comment Share on other sites More sharing options...
Customer Service Posted December 31, 2018 Author Share Posted December 31, 2018 So far the customers who had issues can now download. Thanks for your help. Much appreciated. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now