Beee4life / acf-city-selector

An ACF extension to create a new field type, where you can select a city based on country and provence/state.
38 stars 15 forks source link

add new city not work #127

Closed exolon82 closed 7 months ago

exolon82 commented 7 months ago

Hi, i dont found the tutorial for add new city in the file csv ITA, because, when i use this example Amsterdam;NH;Noord-Holland;NL;Netherlands , not work, even if the program tells me that it has added a new city, when I go to look in the select, the city does not appear

Beee4life commented 7 months ago

I don't know by heart what the delimiter is, but if the delimiter in the csv is , and you use ; then it won't work, they need to be the same.

exolon82 commented 7 months ago

I modified the Italy file that I also paid for, a little while ago, I modified it in the sense that I added a line of the missing village, then I imported it with the delimiter; but not work not show in the field select

exolon82 commented 7 months ago

when import the file, show this words, You have successfully imported 3831 cities from "test it.csv".

exolon82 commented 7 months ago

image i have used this file, and i have only add one row for try .. but not show the new row add from me, in the preview you can see my line, but in the select you can't see it, and I also tried to clear the cache

exolon82 commented 7 months ago

ok, the file is correct i have tried the file in the new site staging, there must be a cache problem, yet I tried deleting everywhere. what is missing!?!

Beee4life commented 7 months ago

have you tried clearing the transients ?

exolon82 commented 7 months ago

have you tried clearing the transients ?

yes

Beee4life commented 7 months ago

can you make a screenshot of the part of the csv where you added a new city ?

exolon82 commented 7 months ago

I tried on a new site, and the country shows, I also tried deleting the plugin and reinstalling it, I also tried deleting the database from phpmyadmin

it's really very strange, because never on a new site, the new field in the select is seen, while on the site where I'm working I don't see it

exolon82 commented 7 months ago

It's really strange,

exolon82 commented 7 months ago

ok solved, i have used, a plugin for flush transient,

exolon82 commented 7 months ago

your flush transient does not work

Beee4life commented 7 months ago

your flush transient does not work

ah, good to know, i will look into it.

You didn't need a plugin to clear all transients . You can use wp-cli or an SQL query, like below.

DELETE FROM wp_options WHERE option_name LIKE ('%\_transient\_%')
Beee4life commented 7 months ago

I have fixed the issue (locally) and will try to release the fix asap.

exolon82 commented 6 months ago

what is the name of database for this plugin?

exolon82 commented 6 months ago

i have this problem in this moment https://www.awesomescreenshot.com/video/25774014?key=faee0ac193a381a9b6fed95ae0758d6f image

I recently moved the site to another domain, and your plugin gave me an error when I tried to insert a new city record, so I deleted it and reinstalled it, also deleting the database, but now it gives me this problem when I import the file,

exolon82 commented 6 months ago

and if try to delete transient, show this message A critical error has occurred on your website. Check your site administrator's inbox for instructions. https://www.awesomescreenshot.com/video/25774198?key=72a62035dc3b57e265c52bb1bab8c788

exolon82 commented 6 months ago

ok sorry, i have solved, the problem was is php version

Beee4life commented 6 months ago

Phjew :) glad to hear, I already thought I needed to do some debugging.