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 »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Country drop-down does not show any countries
Pages: [1]

Author Topic: Country drop-down does not show any countries  (Read 1478 times)

threehz

  • Guest
Country drop-down does not show any countries
December 15, 2008, 01:40:27 pm
Hello all,

I have CiviCRM 2.0.7 installed for my Drupal 5.10 site, and when I try to create an event, the Country box does not have any items in the drop down, regardless of what I have set in Localization.  In the Localization settings, I tried to add only the United States, and I also tried to leave the right hand box blank to allow all countries.  Neither worked.  It follows that I can not select a State/Province, since no value for Country is valid.  I can not submit events due to these fields not cooperating.

Thanks in advance for your help



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: Country drop-down does not show any countries
December 15, 2008, 02:47:54 pm

can u check and ensure that the tables civicrm_country and civicrm_state_province have data in them

Can you also add debug statements to CRM_Core_Pseudoconstant::country( ) and try to trace whats happening. We'll be around on IRC later tonite

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

threehz

  • Guest
Re: Country drop-down does not show any countries
December 15, 2008, 02:52:22 pm
I have just solved the issue.  There is an incompatibility with the Drupal Devel module.  Disabling it results in the drop-down working as it should.  Thanks for your attention anyways!

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: Country drop-down does not show any countries
December 15, 2008, 02:55:36 pm

any idea what the incompatibility is/was?

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

threehz

  • Guest
Re: Country drop-down does not show any countries
December 15, 2008, 03:01:54 pm
I'm not sure, but I think it was interfering with the AJAX.  Perhaps I should post an issue to the Devel issue queue.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviEvent (Moderator: Yashodha Chaku) »
  • Country drop-down does not show any countries

This forum was archived on 2017-11-26.