State and Country dropdowns Not Populating - tried all solutions :(

Discussion in 'Troubleshooting' started by lancito, May 21, 2009.

  1. lancito

    lancito New Member

    Joined:
    Mar 7, 2008
    Messages:
    4
    My state and country dropdowns are not populating.

    Posted solutions I already acknowledged:
    I am NOT using https.
    I did upgrade the database by running \amember\admin\upgrade_db.php. Here is what it showed:

    "
    aMember Database Upgrade
    Current database version: [316] (may be different from aMember version number).
    Version of amember.sql file is [316].

    Upgrade finished successfully. Go to aMember Admin CP.

    "

    I visited the admin cp, "Countries" and the countries populate in the Active Countries list. (but still do not show up on the signup.php).

    I clicked "Load States" and the active states box is empty; i.e. no states show up. However, I did see the states in the active states box before I ran the database upgrade, but only sometimes; erratic behavior, but the have never showed up on signup.php.

    So now I am really confused.

    Any help and/or guidance would be greatly appreciated!

    Thanks.

    -Lance

    FYI, you can see for yourself at http://www.foreclosureexposure.net/amember/signup.php
  2. codeispoetry

    codeispoetry aMember Pro Customer

    Joined:
    Jan 12, 2009
    Messages:
    336
    Hey Lancito,

    Popped by your site to have a look. The countries and states are loading ok.

    Has your issue been resolved already? :)

    Lee
  3. powerkeys

    powerkeys Member

    Joined:
    Aug 29, 2006
    Messages:
    192
    I had the same problem, but in the Affiliate Info - Check payout method form.

    It came down to an incorrect tag in the template. I don't recall the details, but I know that once I copied the tag from the signup form to the check payout form, it worked.
  4. lancito

    lancito New Member

    Joined:
    Mar 7, 2008
    Messages:
    4
    support fixed it... thanks to all!

    codeispoetry and powerkeys,

    thanks for your input.

    I submitted a ticket to support and they fixed it.

    Unfortunately, they did not give me any info that I could share with other users, but they pretty much wiped out my template formatting so I would have to assume that their was a coding error on the page so they just started from scratch with a new signup.php file and it fixed it.

    Thanks for your desire to help, it is user's like you that make this such a powerful resource!

    -Lance
  5. jbround39

    jbround39 aMember Pro Customer

    Joined:
    Mar 20, 2008
    Messages:
    61
    Just in case anyone else has this problem, the field names changed, so if you upgraded and kept your templates, the fields are not named properly.

    Make sure the country select in the cc_info.html (or signup) is: {country_options selected=$cc_address.cc_country}

    The state will also change, but your best bet is to go in and cut the code from the new version template because it is conditional.
  6. mighty

    mighty New Member

    Joined:
    Jun 3, 2010
    Messages:
    1
    Thanks jbround39 I followed what you told and got success.

Share This Page