I am attempting to install CiviCRM on a Drupal site. I am very new to working with and implementing Drupal. I have followed the CiviCRM install guide and keep getting the following error:

• warning: include_once(sites/default/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /home/mysite/public_html/lpdb/modules/civicrm/drupal/civicrm.module on line 248.
• warning: include_once() [function.include]: Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/mysite/public_html/lpdb/modules/civicrm/drupal/civicrm.module on line 248.
Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php).

This looks like it's trying to open up your civicrm settings file from the wrong location. Do you know where your settings file for civicrm is? This doesn't seem to be related to your database at all, but instead PHP's ability to open the config file.

In this case, the file "sites/default/civicrm.settings.php" (relative to the Drupal root) is the file that is not found. This directory is the same as the default settings.php that Drupal requires.

If you have a civicrm settings file for your install, you can always set up a symbolic link (if you're on UNIX or Linux) to the file so Drupal can find it.

I hope this helps!

Mike

0

Featured Post

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Why WooCommerce is one of the majorly favored choices when it comes to having an eCommerce store. This article will acquaint you with some reasons that I believe make it one of the best eCommerce platforms available.

The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…