How to increase Maximum execution time - Configuring & using PrestaShop - PrestaShop

Jump to content

Photo

How to increase Maximum execution time

#1

Posted 26 September 2011 - 10:06 PM

jaxchris

    PrestaShop Newbie

  • Members
  • Pip
  • 6 Active Posts
Good Day All:

I am attempting to export my catalog to google shopping and when I select Export Products with combination/attributes (Export Several Products: One Product per attribute combination), I receive the following error.

(My shop has 2400 products with almost 40k different products with variations.) I can export 2400 products fine with no errors.

Fatal error: Maximum execution time of 120 seconds exceeded in /home2/saddler3/public_html/classes/SpecificPrice.php on line 124

I have configured the php.ini file with the settings as:
max_execution_time = 600 ; Maximum execution time of each script, in seconds
max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
memory_limit = 1024M ; Maximum amount of memory a script may consume (1024MB)


I have configured the config.inc.php file with the settings as:
@ini_set('memory_limit ', '1024M');
@ini_set('max_execution_time ', 600);


Is there another place to adjust the execution time other than the places I have already configured? Is there a step that I am missing? I am using Google Merchant Center.

#2

Posted 29 September 2011 - 06:03 PM

phrasespot

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2223 Active Posts
Maybe the php.ini that is read is not the one you are modifying. Add a file to the root of your installation with
<?php
phpinfo();
?>

and note the location the php.ini is read from. Is it the same file you are modifying?

PrestaShop-Expert.com. On demand solutions for PrestaShop.


#3

Posted 02 February 2012 - 07:39 PM

hrac5552

    PrestaShop Newbie

  • Members
  • Pip
  • 24 Active Posts
Hi , did you solved it ? How ?
Tradiční čínská medicína
Traditional Chinese Medicine
http://sanceprozdravi.cz/


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more