Maps API works on home page, nowhere else

This topic contains 10 replies, has 3 voices, and was last updated by  Stiofan O’Connor 8 years, 5 months ago.

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

Open Support Ticket

Tagged: , ,

  • Author
    Posts
  • #221327

    MC1171611
    Full Member
    Post count: 180

    Ok, so this is a weird one. I followed the instructions to set up the new maps API key, and it’s working on the home page. But now any maps in the Add Place dialog, the entire back end, and any sub-pages or search results don’t work at all, and I’m getting a message”

    Oops! Something went wrong.
    This page didn’t load Google Maps correctly. See the JavaScript console for technical details.

    I need some help here, please.

    #221328

    MC1171611
    Full Member
    Post count: 180
    This reply has been marked as private.
    #221677

    Kor
    Moderator
    Post count: 16516

    Hi MC1171611,

    I’ve just checked with the developers and this seems to be an issue with the Google API. I’d like you to recreate a new Google API key by referring to this article https://wpgeodirectory.com/docs/add-google-api-key/ then on the maps sections you must add both “yoursite.com” and *.yoursite.com/*” to make it work. Give it a try and let us know how it goes.

    #221863

    MC1171611
    Full Member
    Post count: 180

    No, it’s still not working. I followed the instructions to the letter (for the second time now) and it’s not working.

    #221884

    Stiofan O’Connor
    Site Admin
    Post count: 22956
    This reply has been marked as private.
    #221885

    MC1171611
    Full Member
    Post count: 180
    This reply has been marked as private.
    #221891

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    This is the error in the console,

    Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error

    Maybe wait a bit (15 minz) to see if the last change worked, if not try removing all domains (this is supposed to work but means others could steal ur key and use it

    Stiofan

    #221892

    MC1171611
    Full Member
    Post count: 180

    Ok, thank you very much for helping me troubleshoot this. It’s frustrating when something works, and then all of a sudden doesn’t work.

    #221895

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    Yeah there are a million people cursing Google at the changes…

    #222050

    MC1171611
    Full Member
    Post count: 180

    I had to remove all the domains. This is rather frustrating. Thank you for your directions on this.

    #222597

    Stiofan O’Connor
    Site Admin
    Post count: 22956

    You are welcome, all working now?

    Stiofan

Viewing 11 posts - 1 through 11 (of 11 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