The site keeps showing the following error:

Fatal error: Maximum execution time of 30 seconds exceeded in /home/____/public_html/test/sites/all/modules/views/plugins/views_plugin_display_page.inc on line 34

When running the install via the following url:

http://www.test.example.org/admin/plugin_manager/install

After many refreshes, it will eventually run through and finish.

What can be done to avoid a fatal error?

Thanks.

Comments

drupalnesia’s picture

This error caused by 2 factors:
1. you have slow connection to Drupal repository
2. you need to increase you PHP timeout (this can be caused by your server load too high or busy)

Also check if another process run at same time, e.g.: backup process can eat much server resources.

hm2k’s picture

They aren't suitable recommendations.

1. Yes, it could be caused by a slow connection, but no that isn't the problem in this case.
2. I can increase the php timeout, but that is a workaround, not a solution.

The problem is with the script itself. It should be able to handle situations like this better.

It should not throw up a fatal error.