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) »
  • missing file during installation sites/default/civicrm.settings.php
Pages: [1]

Author Topic: missing file during installation sites/default/civicrm.settings.php  (Read 4473 times)

arktribes

  • Guest
missing file during installation sites/default/civicrm.settings.php
September 18, 2009, 01:37:36 pm
this file is missing from the drupal site:

sites/default/civicrm.settings.php

Should I copy the default.setting.php file in the directory and rename it to  civicrm.settings.php.  Thats what  they asked me to do while installing Drupal... but to a file of another name.   Can someone let me know how to proceed with this installation?  This is the error I received during installation with the drupal cms:

    * warning: include_once(sites/default/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /home/treas1/public_html/noahsites/merchant/modules/civicrm/drupal/civicrm.module on line 229.
    * 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/treas1/public_html/noahsites/merchant/modules/civicrm/drupal/civicrm.module on line 229.
    * warning: pg_query() [function.pg-query]: Query failed: ERROR: relation "civicrm_group_roles_rules" already exists in /home/treas1/public_html/noahsites/merchant/includes/database.pgsql.inc on line 139.
    * user warning: query: CREATE TABLE civicrm_group_roles_rules ( id serial CHECK (id >= 0), role_id int_unsigned NOT NULL, group_id int_unsigned NOT NULL, PRIMARY KEY (id) ) in /home/treas1/public_html/noahsites/merchant/includes/database.inc on line 529.

I understand some of this important warning messages.  Is there anyone who knows exactly what I have to do after reading this?

« Last Edit: September 18, 2009, 07:51:56 pm by arktribes »

arktribes

  • Guest
Re: missing file during installation sites/default/civicrm.settings.php
September 18, 2009, 07:50:25 pm
    OK ... I deleted the entire site along with drupal and reinstalled.  This time I'm using MYSQL database 5.0.81.  Last time I use the following steps to install civcrm:

    • step 1.   Uploaded the civicrm zip file in the modules folder
    • Step 2.  Extract the civicrm folder
    • Step 3.  Went to Drupal and discovered that the Modules was ready for Enabling in the Modules Section
    • Step 4.  Enabled the civicrm modules that allowed enabling

    After doing those 4 steps I received the errors in my first post.  So I deleted the folder and started over after doing some research on this site and on the net.

    Ok.. now I reinstalled Drupal 6.14

    I'm using the MySQL 8.0.14 instead of the Postgre Database
    Everything working fine this is what it looks like now at the moment:

    Status report
    Drupal   6.14
    Access to update.php   Protected
    Configuration file   Protected
    Cron maintenance tasks   Last run 1 sec ago
    You can run cron manually.
    Database updates   Up to date
    Drupal core update status   Up to date
    File system   Writable (public download method)
    GD library   bundled (2.0.34 compatible)
    Module and theme update status   Up to date
    MySQL database   5.0.81
    PHP   5.2.9
    PHP memory limit   64M
    PHP register globals   Disabled
    Unicode library   PHP Mbstring Extension
    Update notifications   Enabled
    Web server   Apache
    Powered by Drupal, an open source content management system

    Green Check marks by each of the attributes above.

    Ok so next I uploaded the civicrm file again to the modules folder:

    • Step 2. I extracted the civicrm file in the modules folder
    • Step 3. Clicked on the Civicrm folder in the module folder
[li ]Step 4. Found install folder and clicked on it [/li]
[li] Step 5. Found index.php in the install folder so I clicked on it[/li]
[/list]

The following error resulted after those steps:

Oops! Incorrect Drupal Version
This version of CiviCRM can only be used with Drupal 6.x. Please ensure that '/home/treas1/public_html/modules/system/system.module' exists if you are running Drupal 6.0 and over. Refer to the online http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades for information about installing CiviCRM.

The error is basically saying I have the wrong Drupal Version that I need Drupal 6.x

here is the actual link as of 9/18/2009 10:09 pm:
http://www.arktribes.com/noahsites/exchange/modules/civicrm/install/index.php


The error is also saying to look in a certain file and see if it exist.  I'm noticing at this exact moment that the folder it is referring to is not located in Public-html but in a subfolder of noahsites/exchange/modules.

So next Im going to create the location and move the file from one location to the next.

Should I do that or should i install the civicrm file in a different folder other than the modules folder?
In other words where did I go wrong and what do I do from here.


The answer to that question is in the Oops Error message

the message say go to:

http://wiki.civicrm.org/confluence/display/CRMDOC/Installation+and+Upgrades

So i went found the installation instructions. It says I did everything right. Except their modules folder is in a folder called all.:

Now I am confused.  But it is almost obvious that i should create a copy of the modules folder and paste it in the public_html folder:

modules/system/system.module.  So imma make a copy of the modules folder and place it in the Public_html folder so it will look like this.

 /home/treas1/public_html/modules/system/system.module as stated in the error message.

OH NOOOOOO!!!!!

It worked... The screen with the two red bars across it appeared and they are asking for the database credentials.

Why did I say OH NOOOOOOO!!!
 

This is why I have two modules folders now with all the modules in them (Preinstalled) and the civicrm module in both folders.

my current url is http://www.arktribes.com/noahsites/exchange/modules/civicrm/install/index.php

this problem can be corrected maybe by having the index.php file here in this url point to the first modules folder:

Why the first module folder and not the second one.

When you upload a zip file to the first one and extract it.  That file registers in that folder.  We have to update the index.php file at this location. modules/civicrm/install/index.php to point to http://mysite.com/mysubdomain(drupalfolder)/modules/civicrm/install/index.php
Thats the solution.  I guest I will mess around with this current civicrm-3.0.beta4-drupal.tar till the next one comes out with this correction in it hopefully.

This is a solution thanks for your patience.












« Last Edit: September 18, 2009, 09:02:02 pm by arktribes »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • missing file during installation sites/default/civicrm.settings.php

This forum was archived on 2017-11-26.