CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal directories
Pages: [1]

Author Topic: Drupal directories  (Read 1376 times)

husainsn

  • Guest
Drupal directories
June 04, 2008, 04:02:46 pm
Hello everyone:
Just installed CiviCRM, after long struggle.  CiviCRM requires directories in the right place, but nowhere I can find all the directores required and the structure.  Installation does not make directories.  I am still getting error in drupal.  I am new to drupal and civiCRM.  Could someone help.  Thanks.



    * warning: include_once(sites/default/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in C:\wamp\www\drupal\sites\all\modules\civicrm\drupal\civicrm.module on line 241.
    * warning: include_once() [function.include]: Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\drupal\sites\all\modules\civicrm\drupal\civicrm.module on line 241.
    * One or more problems were detected with your Drupal installation. Check the status report for more information.

Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php). Please review the Installation Instructions, Installation FAQs, and Trouble-shooting documentation for assistance.

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Drupal directories
June 04, 2008, 06:41:40 pm
Hi

You need a CiviCRM settings file named civicrm.settings.php in your sites/default directory. You already have a settings.php file here (this is Drupal's config file). You need the file civicrm.settings.php next to it, configured with your DB access details and a few other things.

The error message does pretty much say exactly this, as you say:

Quote
Oops! - The CiviCRM settings file (civicrm.settings.php) was not found in the expected location (sites/default/civicrm.settings.php). Please review the Installation Instructions, Installation FAQs, and Trouble-shooting documentation for assistance.

You don't say which versions of Drupal / CiviCRM you're using; that would help to know. Did you install 2.0 using the web installer?
@xurizaemon ● www.fuzion.co.nz

husainsn

  • Guest
Re: Drupal directories
June 05, 2008, 06:08:00 am
Hello
I use Drupal 5.7 and Civicrm 2.0.  Where do I find this file and can I copy it to right directory.  I used installer.   
I see in sites\all\modules\civicrm file civicrm.settings.php.sample

Thanks
« Last Edit: June 05, 2008, 06:29:01 am by husainsn »

Chris Burgess

  • Ask me questions
  • ****
  • Posts: 675
  • Karma: 59
Re: Drupal directories
June 05, 2008, 02:15:18 pm
Edit the file civicrm.settings.php.sample, read the comments in it and update it with your settings, and save it as civicrm.settings.php in the same directory as your Drupal settings.php for that site.
@xurizaemon ● www.fuzion.co.nz

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Drupal directories

This forum was archived on 2017-11-26.