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

北城余情 提交于 2019-12-01 06:05:13

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.

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

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.

Add following line in settings.php and then it will work without error

ini_set('max_execution_time', 0);
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!