Jump to content

Maximum execution time of 1000 seconds exceeded in...


kvsh

Recommended Posts

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

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

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...