Solved

CiviCRM Drupal Install Error(s)

Posted on 2010-11-10
2
1,149 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Responsive Design or Mobile Sites? 4 30
google analytics in wordpress 4 30
How would I do this...? 2 27
Connection to multiple databases 13 16
Build an array called $myWeek which will hold the array elements Today, Yesterday and then builds up the rest of the week by the name of the day going back 1 week.   (CODE) (CODE) Then you just need to pass your date to the function. If i…
This article discusses four methods for overlaying images in a container on a web page
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

815 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

11 Experts available now in Live!

Get 1:1 Help Now