Solved

CiviCRM Drupal Install Error(s)

Posted on 2010-11-10
2
1,136 Views
Last Modified: 2012-06-27
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).

Also - should I have installed CiviCRM in its own MySQL database?
0
Comment
Question by:c_may
2 Comments
 
LVL 12

Accepted Solution

by:
junipllc earned 500 total points
ID: 34172337
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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

This article discusses four methods for overlaying images in a container on a web page
Any business that wants to seriously grow needs to keep the needs and desires of an international audience of their websites in mind. Making a website friendly to international users isn’t prohibitively expensive and can provide an incredible return…
This tutorial walks through the best practices in adding a local business to Google Maps including how to properly search for duplicates, marker placement, and inputing business details. Login to your Google Account, then search for "Google Mapmaker…
The viewer will learn how to count occurrences of each item in an array.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now