Just installed CCK and address, and after adding address field to content types. When I created new content, the drop down for State just opens a tall box where I would normally see the states I am selecting, however the values do not display. I can scroll down and select any blank space and when previewing, a state abbreviation is there. Through trial and error I can repeat the process until I get the state I want displaying when I view the node, but never in the dropdown when creating or editing.

CommentFileSizeAuthor
blankstate.png137.62 KBMrJackTar

Comments

iacipgcz’s picture

Same happens to me. But if I uncheck Active select module, it works fine.
Ignacio

jhedstrom’s picture

This issue appears to only occur in IE7. Updating to the most recent dev version of activeselect fixed this issue in IE7 for me.

http://drupal.org/project/activeselect

smscotten’s picture

Deleted. My error.

TravieMo9’s picture

The issue happens also in Firefox.

jriddiough@gmail.com’s picture

it is an issue somewhere between activeselect and address field.. some wrong data is getting passed somewhere (a nested array)

#
backtrace_error_handler (Array, 2 elements)

      function (String, 23 characters ) backtrace_error_handler | (Callback) backtrace_error_handler();
      args (Array, 5 elements)
            0 (Integer) 2
            1 (String, 58 characters ) preg_match() expects parameter 2 to be string, ...
                  preg_match() expects parameter 2 to be string, array given
            2 (String, 50 characters ) /var/www/projects/mysite/includes/bootstrap.inc
            3 (Integer) 670
            4 (Array, 1 element)
                   text (Array, 1 element)
                         0 (Array, 1 element)
                               0 (Array, 1 element)
                                     0 (Array, 1 element)
                                           0 (Array, 1 element)
                                                 0 (Array, 1 element)
                                                       0 (String, 3 characters ) ACT

preg_match (Array, 4 elements)
      file (String, 50 characters ) /var/www/projects/mysite/includes/bootstrap.inc
      line (Integer) 670
      function (String, 10 characters ) preg_match | (Callback) preg_match();
      args (Array, 2 elements)
            0 (String, 6 characters ) /^./us
            1 (Array, 1 element)
                  0 (Array, 1 element)
                        0 (Array, 1 element)
                              0 (Array, 1 element)
                                    0 (Array, 1 element)
                                          0 (Array, 1 element)
                                                0 (String, 3 characters ) ACT
drupal_validate_utf8 (Array, 4 elements)
      file (String, 50 characters ) /var/www/projects/mysite/includes/bootstrap.inc
      line (Integer) 634
      function (String, 20 characters ) drupal_validate_utf8 | (Callback) drupal_validate_utf8();
      args (Array, 1 element)
            0 (Array, 1 element)
                  0 (Array, 1 element)
                        0 (Array, 1 element)
                              0 (Array, 1 element)
                                    0 (Array, 1 element)
                                          0 (Array, 1 element)
                                                0 (String, 3 characters ) ACT

check_plain (Array, 4 elements)
      file (String, 77 characters ) /var/www/projects/mysite/modules/included/ac...
            /var/www/projects/mysite/modules/included/activeselect/activeselect.module
      line (Integer) 86
      function (String, 11 characters ) check_plain | (Callback) check_plain();
      args (Array, 1 element)
            0 (Array, 1 element)
                  0 (Array, 1 element)
                        0 (Array, 1 element)
                              0 (Array, 1 element)
                                    0 (Array, 1 element)
                                          0 (Array, 1 element)
                                                0 (String, 3 characters ) ACT

theme_activeselect (Array, 2 elements)
      function (String, 18 characters ) theme_activeselect | (Callback) theme_activeselect();
      args (Array, 1 element)
            0 (Array, 22 elements)
                  #type (String, 12 characters ) activeselect
                  #title (String, 26 characters ) Select a mandatory country
                  #description (String, 72 characters ) Be sure to select the right country in <em>Allo...
                        Be sure to select the right country in <em>Allowed Countries</em> above.
                  #default_value (Array, 1 element)
                        0 (String, 2 characters ) AU
                  #multiple (Boolean) FALSE
                  #required (Boolean) FALSE
                  #options (Array, 15 elements)
                        AU (String, 9 characters ) Australia
                        BE (String, 7 characters ) Belgium
                        CA (String, 6 characters ) Canada
                        IC (String, 15 characters ) Channel Islands
                        EN (String, 7 characters ) England
                        de (String, 7 characters ) Germany
                        IN (String, 5 characters ) India
                        IT (String, 5 characters ) Italy
                        lb (String, 7 characters ) Lebanon
                        MX (String, 6 characters ) Mexico
                        ND (String, 16 characters ) Northern Ireland
                        ST (String, 8 characters ) Scotland
                        ES (String, 5 characters ) Spain
                        US (String, 13 characters ) United States
                        WA (String, 5 characters ) Wales
                  #activeselect_path (String, 24 characters ) cck_address/activeselect
                  #activeselect_targets (String, 12 characters ) select-state
                  #activeselect_extra (Array, 1 element)
                        0 (Array, 1 element)
                              0 (Array, 1 element)
                                    0 (Array, 1 element)
                                          0 (Array, 1 element)
                                                0 (Array, 1 element)
                                                      0 (String, 3 characters ) ACT
                  #post (Array, 0 elements)
                  #programmed (Boolean) FALSE
                  #tree (Boolean) FALSE
                  #parents (Array, 1 element)
                        0 (String, 14 characters ) select_country
                  #weight (Float) 0.006
                  #processed (Boolean) FALSE
                  #attributes (Array, 0 elements)
                  #input (Boolean) TRUE
                  #name (String, 14 characters ) select_country
                  #id (String, 19 characters ) edit-select-country
                  #value (Array, 1 element)
                        0 (String, 2 characters ) AU
                  #sorted (Boolean) TRUE
jriddiough@gmail.com’s picture

fix for me was patching activeselect http://drupal.org/node/212465

davemybes’s picture

Updating the ActiveSelect module to the 2007-Apr-10 dev version solved the problem for me.

NewZeal’s picture

Status: Active » Closed (fixed)

Issue inactive for more than six months