By Piret Liv Stern Dahl on Thursday, 26 January 2017
Posted in General
Likes 0
Views 234
Votes 0
Hello,

The countries list in the 'Regions Database' seems to be outdated and has countries like Yugoslavia which haven't existed for decades.

Can this be updated to the latest version ? Alternatively can you provide a file we can use and use that as a source ?
Hello Piret,

Thanks for the input on this. Odd we have actually downloaded this list from one of the ISO site but if you want to modify the list, edit /administrator/components/com_easysocial/defaults/regions/country.json and re-initialize the database again.

I will log this issue into our internal issue tracker
·
Thursday, 26 January 2017 22:58
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you Mark..

A question here, what did you mean by re-initialize db design?

I have tried syncing db from settings > Maintenance > database.
Did I misunderstood as the change did not reflect in db.

Reference for list - Well here is the site, http://data.okfn.org/data/core/country-list
It helps.
·
Friday, 03 February 2017 17:08
·
0 Likes
·
0 Votes
·
0 Comments
·
What you need to do is :

1. Add those country which missing from this json file -> JoomlaFolder/administrator/components/com_easysocial/defaults/regions/country.json (remember add those new country at the next new id)

2. Make sure that is valid JSON string, you can check it from here -> http://jsonlint.com/

3. After you done it, you have go to backend > Easysocial > Regions > click on Initialise database button > click start button

You can refer on my attached screenshot below.
·
Friday, 03 February 2017 18:08
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you, This works
·
Friday, 03 February 2017 22:11
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi there,

You are most welcome. Glad to hear that your issue has been resolved now.

As a gentle reminder, kindly start a new thread if you have any other issue in the future so it will be easier for us to manage your inquiry. I will lock and mark this thread as resolved.
·
Saturday, 04 February 2017 03:37
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post