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) »
  • Install Error and directory issues
Pages: [1]

Author Topic: Install Error and directory issues  (Read 1548 times)

wildmtsky

  • Guest
Install Error and directory issues
September 26, 2007, 03:44:02 pm
Hi all - newbie here!

I attempted to install Civic and I get the following error page:

warning: civicrm_initialize(sites/default/civicrm.settings.php): failed to open stream: No such file or directory in /html/drupal/modules/civicrm/drupal/civicrm.module on line 235.
warning: civicrm_initialize(): Failed opening 'sites/default/civicrm.settings.php' for inclusion (include_path='.:/usr/local/lib/php') in /html/drupal/modules/civicrm/drupal/civicrm.module on line 235.
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.

I thought I followed the directions properly.  I have the most recent versions of Drupal and PHP so it should have been easy with the auto-install, right? Can anyone help direct me where I went wrong?  Also the instructions always talk about all/sites.... but I dont' have a folder like that.   I read a post that talked about this issue but it never really addressed exactly WHERE (which files) you need to change the setting to your actual directory.

Thanks!


Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Install Error and directory issues
September 26, 2007, 05:39:33 pm
Starting w/ Drupal 5, modules are "supposed" to be installed in directories below <drupal_root>/sites/all/modules.

The CiviCRM automated installer requires that you unzip the CiviCRM code in that location on your server. If you are running an upgraded copy of Drupal, your other modules may still be in the "old" location (<drupal_root>/modules). That's ok - but you'll need to create sites/all/modules if it doesn't exist and move the civicrm directory and all it's sub-directories and files to that location. Then run the installer.
Protect your investment in CiviCRM by  becoming a Member!

jonathanwinn

  • Guest
Re: Install Error and directory issues
October 20, 2007, 11:56:21 am
Quote from: Dave Greenberg on September 26, 2007, 05:39:33 pm
Starting w/ Drupal 5, modules are "supposed" to be installed in directories below <drupal_root>/sites/all/modules.

The CiviCRM automated installer requires that you unzip the CiviCRM code in that location on your server. If you are running an upgraded copy of Drupal, your other modules may still be in the "old" location (<drupal_root>/modules). That's ok - but you'll need to create sites/all/modules if it doesn't exist and move the civicrm directory and all it's sub-directories and files to that location. Then run the installer.

I just wanted to say thanks for this. I followed these instructions, and CiviCRM installed perfectly on Drupal 5, with PHP 5 and MYSQL 5.

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

This forum was archived on 2017-11-26.