This documentation refers to CiviCRM 4.1, currently in beta. Please introduce all documentation changes and new material here.

Skip to end of metadata
Go to start of metadata
This page refers to CiviCRM 4.1, current beta version.

Documentation Search


CiviCRM 4.1 Documentation

Support and Participation

Developer Resources


CiviCRM books!

Make sure to check out our Online User/Administrator and Developer Guides! You can also support this project by ordering a hard copy.

Or support us by buying an eBook or hard copy of Using CiviCRM from Packt Publishing.

Failed opening required 'CRM/Core/Config.php'

When enabling CiviCRM for the first time using Drupal as front end, you may get a fatal error that disables your site like:

 Fatal error: civicrm_initialize(): Failed opening required 'CRM/Core/Config.php'  (include_path='.:/usr/local/lib/php') in  
/home/example/public_html/modules/civicrm/drupal/civicrm.module on line 225

The most likely cause for this is a misconfigured civicrm.settings.php. In particular

  • check that civicrm.settings.php is in the right place (in the same directory as your drupal settings.php)
  • check that the setting for $civicrm_root is correct. Note that using aliases or links may not work — use the absolute path.

Also, check that there is no duplicate civicrm.settings.php file in its original directory /modules/civicrm. This may happen if you have simply unzipped the package directly into the modules directory and copied civicrm.settings.php.

Labels: