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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading civicrm.settings.php: Is there default model to do manul check?
Pages: [1]

Author Topic: Upgrading civicrm.settings.php: Is there default model to do manul check?  (Read 863 times)

rdegennaro

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
    • True North Projects LLC
  • CiviCRM version: 4.4
  • CMS version: WordPress 3.8
  • MySQL version: 5.1 with InnoDB support
  • PHP version: 5.3
Upgrading civicrm.settings.php: Is there default model to do manul check?
June 11, 2013, 05:17:25 am
Hi, I'm running Drupal 7.22 multisite, and just did my first CiviCRM upgrade from 4.1.3 (previously installed correctly by my excellent consultant) to 4.3.4. After upgrade, I have no problems yet: I am able to log in and do basic tasks, but have not tested processing contributions or sending email. Do I need to do more with civicrm.settings.php? If so, where can I get a clean default copy?

I followed instructions here:
wiki.civicrm.org/confluence/display/CRMDOC43/Upgrade+Drupal+Sites+to+4.3+-+Drupal+7
However, I wasn't sure about Step 10. Update the civicrm.settings.php file.
I made no manual changes to civicrm.settings.php, except that I did add the two lines at the end:
require_once 'CRM/Core/ClassLoader.php';
CRM_Core_ClassLoader::singleton()->register();

Should I use the version on the instructions page of civicrm.settings.php as a model for my file? I'm concern the model is not complete. This thread:
forum.civicrm.org/index.php/topic,19491.msg81128.html
...advises adding two lines not found in the model:
missing part: define('CIVICRM_TRACK_CIVIMAIL_REPLIES', false);
untill define('CIVICRM_PETITION_CONTACTS','Petition Contacts');

Are those lines needed? Is there a current default model of civicrm.settings.php that I can use?
Thank you.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Upgrading civicrm.settings.php: Is there default model to do manul check?
June 11, 2013, 06:46:16 am
The only item required as far as I know, are those two lines you added. The other differences will be OK if you don't have them. The best thing is to make that file writeable first and then CiviCRM itself will add those 2 lines for you.

Anyhow, if you're concerned, what you can do is

1. Remove civicrm.settings.php
2. Install a fresh copy of CiviCRM in a temp DB
3. Edit your new civicrm.settings.php to connect to your real DB

But I think you will be fine without doing that.
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.

rdegennaro

  • I’m new here
  • *
  • Posts: 4
  • Karma: 0
    • True North Projects LLC
  • CiviCRM version: 4.4
  • CMS version: WordPress 3.8
  • MySQL version: 5.1 with InnoDB support
  • PHP version: 5.3
Re: Upgrading civicrm.settings.php: Is there default model to do manul check?
June 11, 2013, 06:57:13 am
Thank you, Hershel. I will do nothing further unless I experience problems.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • Upgrading civicrm.settings.php: Is there default model to do manul check?

This forum was archived on 2017-11-26.