Solved

CiviCRM Drupal Install Error(s)

Posted on 2010-11-10
2
1,164 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Turn Insights Into Action

You’ve already invested in ITSM tools, chat applications, automation utilities, and more. Fortify these solutions with intelligent communications so you can drive business processes forward.

With xMatters, you'll never miss a beat.

Question has a verified solution.

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

FAQ pages provide a simple way for you to supply and for customers to find answers to the most common questions about your company. Here are six reasons why your company website should have a FAQ page
A quick Powershell script I wrote to find old program installations and check versions of a specific file across the network.
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…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

717 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