Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Fatal Error: Maximum execution time of 30 seconds exceeded in c:\wamp\www\drupal2\includes\common.inc on line 551

when I go to admin option in drupal 6. I get following error on my Browser

Fatal Error: Maximum execution time of 30 seconds exceeded in c:\wamp\www\drupal2\includes\common.inc on line 551

This error has started occuring after i install 'Views' module in my drupal 6 sites/all/modules folder.

why this is happening? Please Help. Thank you.

like image 686
user999051 Avatar asked Oct 17 '11 11:10

user999051


3 Answers

Using wamp its pretty simple thing , Click on the wamp icon on taskbar, go to php and go to php.ini and then find max_execution_time and make 30 to 500 or more what u are comfort with.

enter image description here

like image 194
Bhavin Rana Avatar answered Sep 27 '22 18:09

Bhavin Rana


in the wamp menu (click open the php.ini file and search for

max_execution_time = 30 

and change 30 to 180 or more, than restart your apache

like image 29
mbouzahir Avatar answered Sep 27 '22 19:09

mbouzahir


Something about the 'Views' module is taking longer than 30 secs to process (Line 551). You can try to increase the maximum execution time by adding the following to your php script:

set_time_limit(int $seconds);

By default php is set to 30 seconds. Using the above command you can increase it incrementally to see if it will run. If you continue to get the same error I would suggest Isolating and fixing the script or uninstalling it.

like image 30
James Williams Avatar answered Sep 27 '22 17:09

James Williams