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) »
  • can't find civicrm.settings.php
Pages: [1]

Author Topic: can't find civicrm.settings.php  (Read 3603 times)

russkemp

  • Guest
can't find civicrm.settings.php
June 22, 2010, 01:19:03 am
Hi All

and Please Help !!!! ??? :'(

I'm trying to setup CiviCRM with Drupal, and as soon as I try to run the installer I get an error (generic 440 error) however I can see the module to enable it through Drupal afterwards.

When I enable the feature I soon get an error show (however Drupal is fine). The error is as follows:
* warning: include_once(sites/default/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /home/c/a/xxxxx/public_html/sites/all/modules/drupal/civicrm.module on line 241.

Permissions set to 777 in sites/all as suggested in the installation documentation. The weird thing is I dont even get the civicrm.settings.php sample file to work with.

I have tried the 3.2 version as well as 3.1 as I noticed on the forum there maybe a compatability issue with my php version and 3.1. Both give the same result. If I try with Joomla I have no problem, however I'm not keen on how you need to access CiviCRM through the admin side of things and not just straight in the home area lie in Drupal.


I'm running
MySQL 5.0.90
Drupal 6.14
PHP v 5.3.2

any suggestions?

thanks in advance.

Russ

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: can't find civicrm.settings.php
June 22, 2010, 01:32:07 am
CiviCRM 3.1 won't work since you have php 5.3.

Can you try installing with these instructions: http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Installation+and+Upgrades

Hth

Kurund
Found this reply helpful? Support CiviCRM

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: can't find civicrm.settings.php
June 22, 2010, 02:42:41 am
PS: You should also use Drupal 6.17, which is the latest version.
CiviHosting and CiviOnline -- The CiviCRM hosting experts, since 2007

See here for the official: What to do if you think you've found a bug.

russkemp

  • Guest
Re: can't find civicrm.settings.php
June 22, 2010, 02:58:59 am
Thanks folks I shall give this a try later, didnt realise my Drupal was out of date.

Thanks again, I'll keep you posted.

russkemp

  • Guest
Re: can't find civicrm.settings.php
June 22, 2010, 03:29:55 am
reinstalled Drupal to 6.17 and unpacked the CiviCRM 3.2 into the sites/all/modules folder but still when I go to install I get:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@domain and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.



In the modules I do see the following:


Enabled Name Version Description
  CiviCRM 3.2 Constituent Relationship Management CRM - v3.2. Allows sites to manage contacts, relationships and groups, and track contact activities, contributions, memberships and events.
Required by: CiviCRM NYSS (disabled), CiviCRM CCK Contact Reference (disabled), CiviGroup Roles Sync (disabled), CiviMember Roles Sync (disabled), CiviCRM OG Sync (disabled)
  CiviCRM CCK Contact Reference 3.1 Makes a CiviCRM Contact Reference CCK Field
Depends on: Content (missing), CiviCRM (disabled), Optionwidgets (missing), Text (missing)
  CiviCRM NYSS 3.1 Do not allow user to edit the addresses of location type 'Board Of Election' through contact edit form
Depends on: CiviCRM (disabled)
  CiviCRM OG Sync 3.1 Synchronize Organic Groups and CiviCRM Groups and ACL's. More information at: http://wiki.civicrm.org/confluence//x/nDw
Depends on: CiviCRM (disabled), Og (missing)
  CiviGroup Roles Sync 3.1 Sync Drupal Roles to CiviCRM Groups.
Depends on: CiviCRM (disabled)
  CiviMember Roles Sync 3.1 Synchronize CiviCRM Contacts with Membership Status to a specified Drupal Role both automatically and manually.


Enable CiviCRM gives me this error notice in Drupal.


warning: include_once(sites/default/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /home/challeng/public_html/crm/sites/all/modules/civicrm/drupal/civicrm.module on line 247.
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/challeng/public_html/crm/sites/all/modules/civicrm/drupal/civicrm.module on line 247.
warning: include_once(sites/default/civicrm.settings.php) [function.include-once]: failed to open stream: No such file or directory in /home/challeng/public_html/crm/sites/all/modules/civicrm/drupal/civicrm.module on line 247.
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/challeng/public_html/crm/sites/all/modules/civicrm/drupal/civicrm.module on line 247.


Still missing this php file :(

any more ideas?

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: can't find civicrm.settings.php
June 22, 2010, 04:36:52 am
Are you following steps mentioned on http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Installation+and+Upgrades ??

Let us know when it fails ( which step )

Kurund
Found this reply helpful? Support CiviCRM

russkemp

  • Guest
Re: can't find civicrm.settings.php
June 22, 2010, 05:43:24 am
Hi Kurund


I get to step 4, enter my database settings in having made sure that it has 777 rights to the sites/default location
•Click the Check Requirements and Install CiviCRM button.

and then I get this:

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@domain and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: can't find civicrm.settings.php
June 22, 2010, 05:47:56 am
Do you have clean urls ?

Kurund
Found this reply helpful? Support CiviCRM

russkemp

  • Guest
Re: can't find civicrm.settings.php
June 22, 2010, 05:49:11 am
that was left as default (disabled)

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: can't find civicrm.settings.php
June 22, 2010, 05:51:55 am
Can you enable clean url and check if that fixes your problem. Also what error do you get in your apache log.

Kurund
Found this reply helpful? Support CiviCRM

russkemp

  • Guest
Re: can't find civicrm.settings.php
June 22, 2010, 05:55:24 am
Thanks

I'll try and do with clean urls, this is the error that reoccurs in my apache error log:
client 213.249.176.188] File does not exist: /home/challeng/public_html/500.shtml
[Tue Jun 22 13:51:09 2010] [error] [client 213.249.176.188] SoftException in Application.cpp:601: Directory "/home/challeng/public_html/drupal/sites/all/modules" is writeable by group

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: can't find civicrm.settings.php
June 22, 2010, 07:04:51 am
Looks like some server related issue. You should check with you server administrator.

Kurund
Found this reply helpful? Support CiviCRM

russkemp

  • Guest
Re: can't find civicrm.settings.php
June 22, 2010, 07:42:34 am
Kurund you're a star I enabled clean url and tried to install again and its working fine now.

Many thanks for you're help

Russ

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • can't find civicrm.settings.php

This forum was archived on 2017-11-26.