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
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: