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 »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Checkboxes not populated from database
Pages: [1]

Author Topic: Checkboxes not populated from database  (Read 817 times)

spalmstr

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
  • CiviCRM version: 4.5.4
  • CMS version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
  • MySQL version: 5.6.21
  • PHP version: 5.6.0
Checkboxes not populated from database
January 07, 2013, 01:40:10 pm
Dear Community,

We are running two instances of CiviCRM under Joomla.  Our development instance isn't giving a problem, but the instance we hoped to make live is unwell.  Basically, checkboxes on forms are not being populated from the database, e.g. the Display Preferences form has no checkbox ticked when you open it.  Clearly there is a problem with the instance, but can someone suggest what setting or file needs investigating.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: Checkboxes not populated from database
January 07, 2013, 01:43:24 pm
Do you have Firebug installed?  My guess is that a Javascript file isn't loading, which you'll see on the Net tab.

If I had to wildly guess something specific, I'd guess that in moving between dev and production, either templates_c wasn't cleared, or a setting in civicrm.settings.php wasn't changed.  But seeing which file isn't loading should help.

I wouldn't even look at the PHP if it's working on one site and not the other - though I might check to make sure you're running at least PHP 5.3 on production, if it's a shared host or somesuch.
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

spalmstr

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
  • CiviCRM version: 4.5.4
  • CMS version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
  • MySQL version: 5.6.21
  • PHP version: 5.6.0
Re: Checkboxes not populated from database
January 08, 2013, 09:46:10 am
Thanks for a quick response.  I'm not running Firefox, but the debugging tools in IE aren't showing any failure to load scripts.  I was just wondering if a .php file was corrupt so it was failing to read a database record properly.  You may be right about the configuration files.  I cleared template_c but it made no difference.  I'm beginning to think that a reinstallation may be in order.

Any suggestions as to where else one might look before considering reinstalling CiviCRM?
« Last Edit: January 08, 2013, 10:01:43 am by spalmstr »

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Checkboxes not populated from database
January 08, 2013, 11:22:54 am
Quote from: spalmstr on January 08, 2013, 09:46:10 am
Any suggestions as to where else one might look before considering reinstalling CiviCRM?

1. Try Firefox and Firebug--it is a better tool than what you have for IE. No fee either. :)

2. Did you delete files/civicrm/ConfigAndLog/Config.IDS.ini ?
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.

spalmstr

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
  • CiviCRM version: 4.5.4
  • CMS version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
  • MySQL version: 5.6.21
  • PHP version: 5.6.0
Re: Checkboxes not populated from database
January 13, 2013, 08:58:51 am
I installed Firefox and Firebug, but they showed no error when loading the 'offending' web page.

1 don't know about /civicrm/ConfigAndLog/Config.IDS.ini, but it is obviously worth a look.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Checkboxes not populated from database
January 13, 2013, 09:33:49 am
Yes, delete Config.IDS.ini

And do you have any custom templates?
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.

spalmstr

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
  • CiviCRM version: 4.5.4
  • CMS version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
  • MySQL version: 5.6.21
  • PHP version: 5.6.0
Re: Checkboxes not populated from database
January 14, 2013, 03:54:09 am
Thanks for getting back to me.  There is no <Joomla root>/administrator/components/com_civicrm/civicrm/ConfigAndLog directory, let alone the Config.IDS.ini file.  Have I got the right path?

There are custom templates, but they occur in the development environment, too, which is working.

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Checkboxes not populated from database
January 14, 2013, 04:27:33 am
Look in media/files/civicrm/ConfigAndLog/Config.IDS.ini

Check your custom template settings for the live site also
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.

spalmstr

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
  • CiviCRM version: 4.5.4
  • CMS version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
  • MySQL version: 5.6.21
  • PHP version: 5.6.0
Re: Checkboxes not populated from database
January 14, 2013, 10:02:54 am
Thanks for pointing me to the log directory.  Renaming config.IDS.ini didn't help.



spalmstr

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
  • CiviCRM version: 4.5.4
  • CMS version: Joomla! 3.3.6 Stable [ Ember ] 01-October-2014 02:00 GMT
  • MySQL version: 5.6.21
  • PHP version: 5.6.0
Re: Checkboxes not populated from database
January 15, 2013, 07:43:58 am
The problem appears to be due to the Joomla caching add-oncalled CloudFlare.  Removing that has solved the problem :).

Hershel

  • Forum Godess / God
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4640
  • Karma: 176
    • CiviHosting
  • CiviCRM version: Latest
  • CMS version: Mostly WordPress and Drupal
Re: Checkboxes not populated from database
January 15, 2013, 07:45:25 am
Very interesting. Thanks for the follow through.
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.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Checkboxes not populated from database

This forum was archived on 2017-11-26.