Oops! Something went wrong. JavaScript????

New home Forums Basic Version Troubleshooting Oops! Something went wrong. JavaScript????

Viewing 14 posts - 31 through 44 (of 44 total)
  • Author
    Posts
  • #23001
    Dylan
    Moderator

    Hi there,

    Thank you so much for your feedback on this one. It appears the issue is still the referrer not being allowed through.

    Please remove all the referrers from the API project and enter the following instead:
    – *.thewaywardroad.com/*
    – *thewaywardroad.com/*

    This should resolve the issues you are having.

    Please let me know if it does? 🙂

    #23002
    thewaywardroad
    Member

    Just added them:
    It says it might take up to 5 min so I will write an update in a few min!

    Attachments:
    You must be logged in to view attached files.
    #23004
    thewaywardroad
    Member

    This is very weird, I still get the same message…

    Attachments:
    You must be logged in to view attached files.
    #23006
    Dylan
    Moderator

    Hi again,

    Would you perhaps be comfortable with creating a temporary admin account for me on your site? I will then login and add a development API key for you to see if this resolves the issue.

    If so, please send the login details as a Private Reply and I will get to this as soon as possible. 🙂

    #23363
    kevh
    Member

    Hi, I am also having this problem since upgrading to version 6.4.00. Everything has been working fine until now (over a year). I have tried following the instructions to set an API key (although I don’t remember having to do this before). I have set the key restrictions to http referrers and used the address *maxwellcomms.com and *.maxwellcomms.com
    The address of the map page is http:/www.maxwellcomms.com/contact/
    Thank you, in advance, for any help you can give.

    #23375
    Dylan
    Moderator

    Hi there,

    Thank you so much for getting in touch, we appreciate your time.

    The API key restriction is something that was introduced by the Google Maps API, and therefore became a requirement for WP Google Maps users as well.

    With regards to the API key referrers you have setup, please try removing those referrers and entering these instead:

    *.maxwellcomms.com/*
    *maxwellcomms.com/*

    As the ‘wildcard’ (*) symbol needs to be in place on both ends of the domain.

    This should resolve the issue? 🙂

    #23377
    thewaywardroad
    Member
    This reply has been marked as private.
    #23390
    Dylan
    Moderator
    This reply has been marked as private.
    #23515
    kevh
    Member

    Hi Dylan,

    I’ve changed the referrers in the API key as suggested. Unfortunately, I’m still getting the same error.

    http://www.maxwellcomms.com/contact/

    Any other ideas?

    #23536
    Dylan
    Moderator

    Hi Kevh,

    Thank you so much for your time on this one.

    I had a look at your site and it appears the ‘DeletedApiProjectMapError’, which as seen below, suggests the project may no longer be present in your console?

    “Your API project may have been deleted from the Google API Console. Please check the project for which you generated the API key that’s included in JavaScript API loader. You can create a new API project and get a new key on the Google API Console.” – Reference: Google Maps API – Error List

    Could I ask that you check your console to ensure you are still using the same API project?

    #23663
    kevh
    Member

    Hi Dylan,

    Sorry for the delay in replying, only just had a chance to look at this!

    Thank you for your help. I’ve realised my mistake. After re-reading the documentation I realised that I hadn’t completed the instructions. I’ve just added the Google Maps Javascript API and the map now works.

    I must say, the Google interface is very confusing to a non-techie. All good now, though 😀

    #23691
    Dylan
    Moderator

    Hi Kevh,

    So glad to hear you got this sorted! 🙂

    Please do let me know if you need anything else in future.

    #23744
    thewaywardroad
    Member

    Hey Dylan, I created a temp admin account for you as you suggested. Please, let me know if you are able to access your account and identify the issue with our map. Many thanks in advance,

    #23774
    Dylan
    Moderator
    This reply has been marked as private.
Viewing 14 posts - 31 through 44 (of 44 total)
  • You must be logged in to reply to this topic.