Map and photo upload not working

This topic contains 16 replies, has 4 voices, and was last updated by  Stiofan O’Connor 7 years, 11 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #288145

    Laura Willoughby
    Expired Member
    Post count: 13

    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!

    #288156

    Kor
    Moderator
    Post count: 16516

    Hi 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.

    #288167

    Laura Willoughby
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #288201

    Kor
    Moderator
    Post count: 16516

    Hi 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/

    #288248

    Laura Willoughby
    Expired Member
    Post count: 13

    Ok, 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?

    #288689

    Paolo
    Site Admin
    Post count: 31206

    hi,

    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

    #290026

    Laura Willoughby
    Expired Member
    Post count: 13

    Hi 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.

    #290574

    Laura Willoughby
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #290888

    Paolo
    Site Admin
    Post count: 31206

    Hi 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

    #290892

    Laura Willoughby
    Expired Member
    Post count: 13

    I’ve upgraded that user!

    #291170

    Paolo
    Site Admin
    Post count: 31206

    Hi 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 1

    Also 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,

    #291362

    Laura Willoughby
    Expired Member
    Post count: 13

    Ok 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.

    #292025

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You 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

    #292036

    Laura Willoughby
    Expired Member
    Post count: 13
    This reply has been marked as private.
    #292076

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    For 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

Viewing 15 posts - 1 through 15 (of 17 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount