I'm trying to translate drupal 7 to spanish, but when it is importing the .po files returns the error

Maximum execution time of 240 seconds exceeded in C:\xampp\htdocs\includes\database\database.inc

I have increase this value in locale.in to drupal_set_time_limit(1240);

and in common.inc to drupal_set_time_limit(1240);

but the error persists. Where I have to change this value?

Thanks a lot!!


ThomS’s picture

i had the same issue. This is what I did: https://drupal.org/node/2085515#comment-7845525

ikku’s picture

OK, I'ill try thanks!

sushilck’s picture

Add in sites/default/settings.php

following line:
ini_set('max_execution_time', 0);