Country is not filled anymore when editing places
This topic contains 15 replies, has 4 voices, and was last updated by Stiofan O’Connor 9 years, 9 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
January 13, 2016 at 5:07 pm #68201
When I create a new entry in places (using MultiLocations) I can enter an address and the country/region/city/postal code will be filled automaticly in the selectboxes. This works great.
After I save the item and get back to it later to edit it, the country is shown empty, and the selectbox value is “Select country”.
For every change we need to redefine the address, could you check this out?
This is very annoying.We are using GeoDirectory 1.5.6 and Location Manager 1.4.3.
We have localized the country names, but I hope that should not be an issue?January 13, 2016 at 7:21 pm #68245Hi,
we will need a link and admin credentials to check where the problem could be.
If you set the reply as private, only our staff will be able to read them.
Let us know,
Thanks
January 14, 2016 at 10:22 am #68336This reply has been marked as private.January 19, 2016 at 9:56 am #69286This reply has been marked as private.January 19, 2016 at 7:47 pm #69398Hi,
there is a bit of a mess in your locations.
1st a biggest problem is that you have a Country “All”, that shouldn’t be there and a lot of your listings are assigned to it.
For almost every city you have 3 locations:
Aalsmeerderbrug, Noord-Holland, all
Aalsmeerderbrug, Noord-Holland, Nederland
Aalsmeerderbrug, Noord-Holland, NederlandMake sure to merge wrong locations with the correct one and to leave only one. Once you’ll have fixed all this the country all should disappear from everywhere and the system should start working correctly.
Let us know,
Thanks
January 21, 2016 at 9:42 am #69690Thanks, that works!
Any idea how it happened, or how we can avoid it?
[edit]
If country is not filled (select country option), it will get to “all”.
Country was required before and I will change it back to avoid the all-country.January 21, 2016 at 10:36 am #69696For old places it works to merge the locations.
If I create a new place, it see just 1 new record in the multilocations, if I edit it in the multilocations plugin I selects “Nederland”, but if I edit the place it doesn’t.Am I still doing something wrong?
January 21, 2016 at 11:44 am #69704You still have 2 Nederlanden, and “all” as a country in the locations.
/wp-admin/admin.php?page=geodirectory&tab=managelocation_fields&subtab=geodir_location_manager&s&country=all
/wp-admin/admin.php?page=geodirectory&tab=managelocation_fields&subtab=geodir_location_translate
January 21, 2016 at 1:23 pm #69721Ok, every Dutch place is Nederland now.
And when I start to edit a location Nederland is selected — good!
But when I save the place, a new location with Netherlands is added.
As a result of that also “all” comes in, since there are more Nederlanden.
So it starts all over?January 21, 2016 at 4:05 pm #69750Hi,
you still have the country netherland and all in your database in the Table: wp_geodir_countries
See image attached.
Please delete the last 2 rows (id 278 and 279) of that table via phpmyadmin.
That should fix it once and for all.
Let us know how you went,
Thanks
January 22, 2016 at 9:43 am #69897Hi,
Thank you for your support.
I have deleted the two keys.Places are showing “Nederland” correct the first time now, but if a place gets saved again the country combo switches to “Select country” again.
If I select “Nederland” manually and save it, it is not saved, but gets back to “Select country” again.
Am I missing something?
January 22, 2016 at 4:19 pm #70019Hello,
Three was a bug with function geodir_get_limited_country_dl() setting the correct country if translated, i have fixed this now and it will be in the next version.
Thanks,
Stiofan
January 25, 2016 at 11:46 am #111056Thanks for looking into it!
Could I get the changed function already?
January 25, 2016 at 11:57 am #111057Yes i have applied the fix to your site, the new version also includes the fix.
Thanks,
Stiofan
January 25, 2016 at 12:30 pm #111059Thank you.
I think you need the same fix on GeoDirectory -> MultiLocations -> Add/Edit location 🙂
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket