Reputation: 51
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
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
Reputation: 69
I simply edited sites/default/settings.php and added the following line:
ini_set('max_execution_time', 0);
by:
Keith Adler
Upvotes: 0
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
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