Solved

CiviCRM Drupal Install Error(s)

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

Free eBook: Backup on AWS

Everything you need to know about backup and disaster recovery with AWS, for FREE!

Question has a verified solution.

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

Suggested Solutions

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
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 the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

749 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