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) »
  • problem with writing civicrm.settings.php
Pages: [1]

Author Topic: problem with writing civicrm.settings.php  (Read 1294 times)

peocke

  • Guest
problem with writing civicrm.settings.php
March 08, 2009, 02:52:54 pm
Hello,

I'm having a lot of trouble trying to install civicrm as a drupal module.

The reasons for this is that I am not possible to make sites/default and sites/default/files writable.
This has, for some reason, only been allowed for one other folder in my web directory.

Does anyone know of a way I can use that one writable directory instead of sites/default, or should I simply give up trying because it is hardcoded into the whole of civicrm?

thanks in advance

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: problem with writing civicrm.settings.php
March 09, 2009, 12:48:46 am
If you could set the owner for sites/default/files dir to the account your web server uses by default (or runs as), it would still work. For e.g on Debian-based systems, Apache (web server) runs as the user 'www-data'. 

You could figure this out from any files/folder you know is created by application itself OR contact your host.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

johnbarclay

  • I’m new here
  • *
  • Posts: 5
  • Karma: 1
Re: problem with writing civicrm.settings.php
March 27, 2009, 07:58:17 pm
I'm on windows server 2008 and there are a number of obstacles I'm facing.  An example or template for civicrm.settings.php would get me pretty far as I could just edit it manually.

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: problem with writing civicrm.settings.php
March 27, 2009, 10:25:18 pm

check:

templates/CRM/common/civicrm.settings.php.tpl

for the settings template that the installer uses

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

rflemin

  • I post occasionally
  • **
  • Posts: 73
  • Karma: 2
    • DCRCA (DC Recovery Community Alliance)
  • CiviCRM version: 3.3
  • CMS version: Drupal 6.26
  • MySQL version: 5.1.26
  • PHP version: 5.2.6
Re: problem with writing civicrm.settings.php
March 28, 2009, 09:13:32 am
I'm going through the same headaches. You didn't say whether you are working on a remote or local machine. If it's your own machine, you should be able to right-click on the file and then disable the Read-Only box at the bottom of the properties sheet. That's what I have been doing. Drupal resets it, so I have to keep going back and changing it as I try to find out where the H CiviCRM wants its root directory to be, or how to tell it where it is.

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

This forum was archived on 2017-11-26.