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) »
  • Components not staying enabled
Pages: [1]

Author Topic: Components not staying enabled  (Read 2027 times)

twelch

  • Guest
Components not staying enabled
June 06, 2007, 06:19:33 am
Hi, I posted a grab bag of issues a day or so ago. I'm trying to break them down and solve the mysteries one by one.

The initial three components (contribute, event, membership) that are enabled by default, have "become"  disabled. When I attempt to enable them, all seems to go well, but they don't actually enable and appear, and a return trip to the config screen shows them disabled.

Two questions
Is the component status store in the database or in a file?
Has anyone seen this before, or have any idea why it is occurring?

thanks
Troy

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Components not staying enabled
June 06, 2007, 07:04:44 am
Component status is stored in the DB - civicrm_domain.config_backend column - keyed to a domain ID (which is 1 for default installs). Is this a multi-domain site? What is the CIVICRM_DOMAIN_ID in your civicrm.settings.php file (and do you have more than one settings file)?

Also, are other form post changes "taking" - i.e. if you edit a contact record do the changes get saved?

If it's only the Global Settings that aren't "saving" - and this is NOT a multi-domain CiviCRM install, I would:
* make sure you have civicrm.settings.php in sites/default/all
* verify the civicrm_root, CIVICRM_UF_BASEURL and CIVICRM_DOMAIN_ID (s/b 1) values in that file
* verify that you have a record for Domain 1 in civicrm_domain table
* try emptying the values in civicrm_domain.config_backend (update civicrm_domain set config_backend = '' where id =1;)  - This will force CiviCRM to re-load default values for the Global Settings.

(We have not seen this type of behavior before as far as I can remember - so keep us posted as to your results.)
Protect your investment in CiviCRM by  becoming a Member!

twelch

  • Guest
Re: Components not staying enabled
June 06, 2007, 09:22:22 am
Thanks for the suggestions. I think I am going to rip it out (again) and reinstall fresh.

First, when I try to add a contact or update I get foreign key errors.

This is not a multi-domain site, although the site is setup as a vhost with the provider.

Domain ID is okay as are the other settings in the settings file.

Value of config_backend was N; which seems odd.

The only other issue I have a question about, I have the settings file in sites/default not sites/default/all as you indicate in your post.

I have reinstalled a few times the past few days (I have the whole saga in a recent post entitled "Grab bag..."

I'll keep you posted on the progress of the new install, new database, different name & user, etc.

Thanks again,
Troy

Dave Greenberg

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 5760
  • Karma: 226
    • My CiviCRM Blog
Re: Components not staying enabled
June 06, 2007, 01:00:22 pm
Sorry, .../sites/default is correct "default" location for civicrm.settings.php (same directory as Drupal's settings.php file). Posted a bit too early this morning :-(
Protect your investment in CiviCRM by  becoming a Member!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Components not staying enabled

This forum was archived on 2017-11-26.