user999051
user999051

Reputation: 51

Maximum execution time of 30 second exceeded in c:\wamp\drupal\includes\database.mysqli.inc on line 114

When i extract .ZIP files(Modules e.g Ubercart,cck) on sites/all/modules Folder in drupal 6 and try to enable it from admin->modules and when i click 'save configuration.' i got the errors As shown in image.

why this happens ?? Is it require to edit database.mysqli.inc

How to correct it.. Please help.

thank you.! enter image description here

Upvotes: 0

Views: 7426

Answers (4)

John Tegu
John Tegu

Reputation: 1

I tried changing the parameters for max_execution_time=30 and setting it for a greater value. That did not work. But when I tried ini_set('max_execution_time', 0); at the top of my file, it worked and the problem was solved.

Upvotes: 0

Jomar Llevado
Jomar Llevado

Reputation: 69

I simply edited sites/default/settings.php and added the following line:

ini_set('max_execution_time', 0);

by:

Keith Adler

https://drupal.org/node/66105

Upvotes: 0

Christian P
Christian P

Reputation: 12240

The error you're receiving is because the PHP script was executing more than it's allowed by your settings. Try setting max_execution_time=180 or higher in php.ini and restart your web server.

Upvotes: 3

Bas Slagter
Bas Slagter

Reputation: 9929

Either change the time limit for your scripts (e.g. using set_time_limit()), try to process chunks of data instead of one big file at once (and check up front) or try to optimize the code so it takes not so long to execute.

Upvotes: 0

Related Questions