I am trying to install the OpenChurch distribution and everytime I am getting the following error message after it completes the install of the last module.

( ! ) Fatal error: Maximum execution time of 30 seconds exceeded in C:\wamp\www\openchurch\includes\database\database.inc on line 2139
Call Stack
# Time Memory Function Location
1 0.0003 679488 {main}( ) ..\install.php:0
2 0.0028 1267168 install_drupal( ) ..\install.php:26
3 0.4212 11924144 install_run_tasks( ) ..\install.core.inc:79
4 2.3830 57883776 install_run_task( ) ..\install.core.inc:342
5 2.3838 58036632 _batch_page( ) ..\install.core.inc:452
6 2.3842 58067432 _batch_finished( ) ..\batch.inc:89
7 2.3853 58184352 _install_profile_modules_finished( ) ..\batch.inc:466
8 2.3853 58184352 drupal_flush_all_caches( ) ..\install.core.inc:1549
9 14.2201 114315224 module_invoke_all( ) ..\common.inc:7259
10 25.2546 115443248 call_user_func_array ( ) ..\module.inc:819
11 25.2546 115443488 features_flush_caches( ) ..\module.inc:819
12 25.2546 115443488 features_rebuild( ) ..\features.module:227
13 25.2546 115443776 _features_restore( ) ..\features.module:837
14 28.2566 125386568 features_invoke( ) ..\features.module:815
15 28.2566 125387160 call_user_func_array ( ) ..\features.module:463
16 28.2566 125387560 field_features_rebuild( ) ..\features.module:463
17 29.9542 125479048 field_create_field( ) ..\features.field.inc:169
18 30.0013 125491896 module_invoke( ) ..\field.crud.inc:180
19 30.0013 125493976 call_user_func_array ( ) ..\module.inc:795
20 30.0013 125494296 field_sql_storage_field_storage_create_field( ) ..\module.inc:795
21 30.0014 125513408 db_create_table( ) ..\field_sql_storage.module:216
22 30.0014 125513408 DatabaseSchema->createTable( ) ..\database.inc:2688
23 30.0028 125521864 DatabaseConnection->query( ) ..\schema.inc:656
24 30.0029 125529344 DatabaseStatementBase->execute( ) ..\database.inc:664

I have updated the my.ini file to allow for the recommended setting for the InnoDb. Is there something that I am missing to get this to work? Any help is appreciated. Please let me know if more information is needed.

Comments

Code Monkey’s picture

Is there anyway you can adjust your maximum execution time for PHP?

wkevinmiller’s picture

Thank you for this tip. I did not realize that you could change the timeout setting within php itself. This has worked. Again thanks.

Code Monkey’s picture

Status: Active » Fixed

I'm going to note this as fixed. If you need more help, just let us know.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Sahil Gupta’s picture

You can use a module to control this maximum time execution limit. PHP Runtime Configurator module provides many options to configure without changing your php.ini file and restart Apache.
You can configure following parameters:

- File Upload Limit
- Memory Limit
- Maximum Execution Time Limit
- Maximum Input Variable Limit