- Posts: 8
- Thank you received: 0
Wrong country code
- Alice
- Topic Author
- Offline
- New Member
-
Less
More
8 years 7 months ago - 8 years 7 months ago #87265
by Alice
Wrong country code was created by Alice
In the database table #_osmembership_countries the country "The Democratic Republic of Congo" has been wrongly coded as contry_3_code = "DRC" and country_2_code = "DC".
Actually, its official "ISO 3166-1 alpha-2" coding is "CD" (not "DC"), and its official "ISO 3166-1 alpha-3" coding is "COD" (not "DRC").
The database queries in install.osmembership.sql should be changed accordingly.
Actually, its official "ISO 3166-1 alpha-2" coding is "CD" (not "DC"), and its official "ISO 3166-1 alpha-3" coding is "COD" (not "DRC").
The database queries in install.osmembership.sql should be changed accordingly.
Last edit: 8 years 7 months ago by Alice.
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Away
- Administrator
-
8 years 7 months ago #87290
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Wrong country code
Thanks Alice. I am going to check and update it. You can go to Membership Pro -> Countries, you can edit the country and change the data yourself, too
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- Alice
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
8 years 7 months ago - 8 years 7 months ago #87295
by Alice
Replied by Alice on topic Wrong country code
Thanks.
Last edit: 8 years 7 months ago by Alice.
Please Log in or Create an account to join the conversation.
- Alice
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
8 years 7 months ago #87522
by Alice
Replied by Alice on topic Wrong country code
According to the official ISO codes linked in the first post, 4 more countries need to be updated:
Code:
UPDATE `#__osmembership_countries` SET
`country_3_code` = 'BLM',
`country_2_code` = 'BL'
WHERE `id` =242;
Code:
UPDATE `#__osmembership_countries` SET
`country_3_code` = 'JEY',
`country_2_code` = 'JE'
WHERE `id` = 241;
Code:
UPDATE `#__osmembership_countries` SET `name` = 'Timor-Leste',
`country_3_code` = 'TLS',
`country_2_code` = 'TL'
WHERE `id` = 240;
Code:
UPDATE `#__osmembership_countries` SET `name` = 'Bonaire, Sint Eustatius and Saba',
`country_3_code` = 'BES',
`country_2_code` = 'BQ'
WHERE `id` = 243;
Please Log in or Create an account to join the conversation.
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.