Vote for v1.5 Fixes

PrestaShop Forum: Build a free online shop. Count on the Community!

The best place in the world to ask questions about PrestaShop and get advice from our passionate community!

PrestaShop Forum: Build a free online shop. Count on the Community!

Jump to content

Photo

How to increase Maximum execution time


  • Please log in to reply
2 replies to this topic
jaxchris

    PrestaShop Newbie

  • Members
  • Pip
  • 6 posts

Posted 26 September 2011 - 10:06 PM

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.

phrasespot

    PrestaShop Fanatic

  • Members
  • PipPipPipPip
  • 2223 posts

Posted 29 September 2011 - 06:03 PM

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 solution for PrestaShop.


hrac5552

    PrestaShop Newbie

  • Members
  • Pip
  • 24 posts

Posted 02 February 2012 - 07:39 PM

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