close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Why When Updating a Subscriber Does the Country Revert to Afghanistan?

Thread began 2/19/2014 10:24 am by M2Media | Last modified 2/19/2014 4:02 pm by Jason Byrnes | 694 views | 5 replies |

M2Media

Why When Updating a Subscriber Does the Country Revert to Afghanistan?

Normally I update the database in MySQL. Since PowerMessenger was open I did some updating there. One subscriber showed up as Afghanistan instead of the United States. When switching to United States the state became Alabama instead of North Carolina.

I thought it was just an odd occurrence. The same happened with the next one and again New York changed to Alabama,

The workaround is to just go back to MySQL but something is seriously wrong.

Any clues?

Sign in to reply to this post

Jason ByrnesWebAssist

In the database, are you using the Country Abbreviation?
US

if you have been entering the users manually and not using the abbreviation for the country, this would cause the problem.

in the users table, the user country column should not use the full country name, it should use the abbreviation.

Sign in to reply to this post

M2Media

BINGO!

You solved it.

Is there a magical way to change all "United States" entries to "US" in one command?

Sign in to reply to this post

Jason ByrnesWebAssist

UPDATE pm1_users SET UserCountry = "US" WHERE UserCountry = "United States"

Sign in to reply to this post

M2Media

Bingo!

On to fix the rest of the world.

Thanks once again.

Sign in to reply to this post

Jason ByrnesWebAssist

you're welcome.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...