kvsh Posted September 6, 2016 Share Posted September 6, 2016 Hello, I'm trying to somehow fix the following issue: Whenever I'm running custom module importing products, after ~360 products imported I'm having this error: PHP Fatal error: Maximum execution time of 1000 seconds exceeded in /var/www/html/classes/Tools.php on line 1540 and there is more (one for one import)... PHP Fatal error: Maximum execution time of 1000 seconds exceeded in /var/www/html/classes/ObjectModel.php on line 340 PHP Fatal error: Maximum execution time of 1000 seconds exceeded in /var/www/html/modules/blockbestsellers/blockbestsellers.php on line 99 I use VPS and in php config max_input_vars is set to 9999999, max_input_time to 3600000 (checked phpinfo). Any ideas what could be wrong? Link to comment Share on other sites More sharing options...
Dh42 Posted September 6, 2016 Share Posted September 6, 2016 Your server is timing out. Get a faster server. It could also be because your images are too large too, you should make sure they are under 1mb each too. Link to comment Share on other sites More sharing options...
kvsh Posted September 6, 2016 Author Share Posted September 6, 2016 Well, it's pretty good VPS, definitely not budget one. Don't think that it's the reason. I've just checked that, as I mentioned before, max input vars/time is set pretty high in php config, but when I check Prestashop configuration tab, max execution time is still 1000. Any idea why could it be limited only in Prestashop, as it is not in PHP for server? 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