*

Hi.Os

  • **
  • 7 posts
The problem of country city import
« on: April 02, 2022, 12:07:06 PM »
Hi,
I tried to import the French positioning list. After importing, I found that only the list of French regions was imported, and the cities in each region were not imported.
How can I import a list containing cities (it would be convenient for users to have this list)

thank

*

MB Themes

Re: The problem of country city import
« Reply #1 on: April 04, 2022, 02:33:39 PM »
@hello.bin
It is possible that file you imported does not have cities in those regions.
In latest osclass version, France SQL file has 5MB and a lot of cities.

https://osclass-classifieds.com/geolocation
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hi.Os

  • **
  • 7 posts
Re: The problem of country city import
« Reply #2 on: April 04, 2022, 05:23:11 PM »
Hi,

I checked the background import location and it is not the same as the address you provided.
I downloaded the country and city data package, how should I import it into the database?

thank!

@hello.bin
It is possible that file you imported does not have cities in those regions.
In latest osclass version, France SQL file has 5MB and a lot of cities.

https://osclass-classifieds.com/geolocation
« Last Edit: April 04, 2022, 06:00:34 PM by hello.bin »

*

MB Themes

Re: The problem of country city import
« Reply #3 on: April 04, 2022, 07:53:28 PM »
It looks similar. Do you use latest osclass version?
You can upload it
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hi.Os

  • **
  • 7 posts
Re: The problem of country city import
« Reply #4 on: April 04, 2022, 08:18:22 PM »
Osclass version: 8.0.1
Add the country as shown in the screenshot, and check that the city is not imported.
Where should I import this datatable?

thank!

It looks similar. Do you use latest osclass version?
You can upload it

*

MB Themes

Re: The problem of country city import
« Reply #5 on: April 05, 2022, 02:56:51 PM »
@hello.bin
Thank you, will investigate this week hopefuly.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: The problem of country city import
« Reply #6 on: April 06, 2022, 01:56:01 PM »
Maybe I live in future, probably new locations will be used from Osclass 8.0.2
For some reason most of cities are duplicated so it looks like datasource problem
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

MB Themes

Re: The problem of country city import
« Reply #7 on: April 06, 2022, 02:18:21 PM »
//Update: duplicated cities fixed ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hi.Os

  • **
  • 7 posts
Re: The problem of country city import
« Reply #8 on: April 07, 2022, 05:08:19 PM »
Hi!

thank you for your reply! Test adding France to find that the city is still empty.
(Can users update now?)
thank!

//Update: duplicated cities fixed ;)

*

MB Themes

Re: The problem of country city import
« Reply #9 on: April 08, 2022, 01:17:57 PM »
@Hi.Os
If you would run downloaded SQL, you would have cities as well. Country must be completely removed before that.
You can manually add cities in backoffice.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Hi.Os

  • **
  • 7 posts
Re: The problem of country city import
« Reply #10 on: April 08, 2022, 02:01:37 PM »
@MB Themes

I downloaded 2 country files and imported them separately for testing. China can be successfully imported, but the French import prompts an error.
(Confirm that the country and region have been completely removed)

@Hi.Os
If you would run downloaded SQL, you would have cities as well. Country must be completely removed before that.
You can manually add cities in backoffice.

*

MB Themes

Re: The problem of country city import
« Reply #11 on: April 08, 2022, 02:52:36 PM »
@Hi.Os
You must run that file on your database.
Honestly I am not sure about import option.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots