Map and photo upload not working
This topic contains 16 replies, has 4 voices, and was last updated by Stiofan O’Connor 8 years ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
October 20, 2016 at 7:39 am #288145
Hi,
We’ve built a listings website for pubs and bars in London using GD v 1.6.10. I’ve got one question and two faults.
The question – as far as I can see, GD can’t determine map locations from United Kingdom postcodes? Ideally people would just type in their venue’s address and postcode, and not have to pick the location from the map as well, since many users don’t realise they have to do this using the map, and their venue pins are put at the default location (which the admins then have to go and manually fix afterwards). Is this possible to change in any way?
Fault 1 – I tried to change the map settings in “Place settings / Address”, and now when a user tries to add a new listing, the map doesn’t appear on the add listing form, instead there is this error message (which goes over the fields below where the map should be):
“No Records Found
Sorry, no record were found. Please adjust your search criteria and try again.”
Fault 2 – Also when a user tries to add a new listing, or edit an existing listing, the “Add images / Select files” button does not work (it does nothing).
Both faults only happen when a non-admin user tries to add or edit a location. At the admin panel/dashboard both features work fine. Any ideas how to fix these? I can give you admin access if you send me an email address.
Thanks!
October 20, 2016 at 8:00 am #288156Hi Laura,
You can post the details here using the private reply option below so that we can take a better look at it.
P.S – Only GD staffs are able to see private replies.
October 20, 2016 at 8:50 am #288167This reply has been marked as private.October 20, 2016 at 10:31 am #288201Hi Laura,
We’ve just checked your Website and it looks like some files and images are still pointing to localhost. Looks like you did not perform the migration properly hence causing this issue. You’ll need to find and replace all instances with the correct URL in the database. Check out this link https://interconnectit.com/products/search-and-replace-for-wordpress-databases/ or try this plugin https://wordpress.org/plugins/search-and-replace/
October 20, 2016 at 12:48 pm #288248Ok, thanks I’ll look into that. What about my question about using UK postcodes?
As far as I can see, GD can’t determine map locations from United Kingdom postcodes? Ideally people would just type in their venue’s address and postcode, and not have to pick the location from the map as well, since many users don’t realise they have to do this using the map, and their venue pins are put at the default location (which the admins then have to go and manually fix afterwards). Is this possible to change in any way?
October 20, 2016 at 7:46 pm #288689hi,
if you have the Location Manager installed, the address field becomes an autocompleter.
If they start typing an address, zip code or location name and they select the correct result, everything else will be automatically filled.
Adding just the zip code in the zip code field and leaving the other field empty is not an option.
Thanks
October 23, 2016 at 11:08 am #290026Hi again,
We’ve fixed the localhost adderssing issue, thanks for spotting that!
And thanks for the clarification on the addresses Paolo, I’ve now installed Location Manager too.
But neither of these still helps with the two problems in my original post – the map doesn’t appear in the “Add listing” page, and the “Add images” button doesn’t do anything. I’ve added a screenshot of the map so you can see what I mean.
Thanks again.
October 24, 2016 at 12:32 pm #290574This reply has been marked as private.October 24, 2016 at 4:18 pm #290888Hi Laura,
I tried logging in with the credentials provided here: https://wpgeodirectory.com/support/topic/map-and-photo-upload-not-working/#post-288167, but they don’t have admin role.
If you upgrade that account, I’ll check.
Let us know,
Thanks
October 24, 2016 at 4:21 pm #290892I’ve upgraded that user!
October 24, 2016 at 9:48 pm #291170Hi Laura
I see a jQuery error, I believe it is a conflict with another script from the theme.
TypeError: jQuery(…).chosen is not a function
http://clubsodaguide.com/wp-content/plugins/geodirectory/geodirectory-assets/js/geodirectory.min.js?ver=1.6.10
Line 1Also you didn’t migrate correctly from the staging website. I installed Better Search Replace that works on all DB tables and fixed that.
I asked to the developers to follow up on the 1st issue and let us know,
Thanks for your patience,
October 25, 2016 at 9:59 am #291362Ok thanks Paolo. I had a chat with our tech support, he says this is all the Javascript he has added into the theme:
jQuery(document).ready(function($) {
// Opens and closes side menu
$(‘#nav-toggle’).on(‘click’, function() {
$(this).toggleClass(‘active’);
$(‘.main-menu’).slideToggle();
});});
There should be nothing there for it to clash with – all that does is open and close the menu at mobile. So it has to be a problem with the plug-in, or how it interacts with the other plug-ins.
Here’s a screenshot attached which shows a cascade of errors, all in parts of the Geodirectory plug-in.
October 26, 2016 at 8:46 am #292025You have jQuery on the page multiple times, i am not sure of the problem, if you provide FTP i should be able to track it down.
Thanks,
Stiofan
October 26, 2016 at 9:26 am #292036This reply has been marked as private.October 26, 2016 at 10:51 am #292076For some reason in GD>Design>Scripts>Header script code, you had an extra call to jquery, i dont know why you would have this but i removed it and it now works.
Thanks,
Stiofan
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket