• Resolved AMedia

    (@abramarket)


    Hello,

    We have had this plugin in place since May without issue, however today we found that the map is broken:

    http://www.myowens.com/locations/

    We went into the settings to troubleshoot the issue and we’re receiving a new error:

    Please provide the name of a city or country that can be used as a starting point under “Map Settings”.

    This will only be used if auto-locating the user fails, or the option itself is disabled.

    We’re not sure if that is why the map has stopped appearing, but the “Start Point” field is broken so we cannot enter a start point. Please see screenshot of what the field looks like in the admin:

    http://www.myowens.com/owenshealthcare/wp-content/uploads/2016/10/map-locator-screen.jpg

    1. We do have the ‘Server Key’ and ‘Browser Key’ in place.

    2. The plugin is up-to-date

    Please let us know what we can do to fix this?

    Thank you!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Tijmen Smit

    (@tijmensmit)

    This is the error that shows up.

    Google Maps API error: RefererNotAllowedMapError https://developers.google.com/maps/documentation/javascript/error-messages#referer-not-allowed-map-error
    Your site URL to be authorized: http://www.myowens.com/locations/

    You can fix this by restricting the browser key in the Google Developers Console, and set it to http://www.myowens.com/*

    Thread Starter AMedia

    (@abramarket)

    Hi!

    Unfortunately this isn’t solving the issues :\.

    The back end issue with the “Start Point” is still present:

    http://www.myowens.com/owenshealthcare/wp-content/uploads/2016/10/map-locator-screen.jpg

    And the map is displaying a default map of the entire globe now, but it’s not showing any results:

    http://www.myowens.com/locations/

    It’s requiring an address to be manually entered before it will show any results. It did not have this issue before. The map used to auto-locate properly and have a defined area upon arriving at the page.

    What else can we do to get this properly working again?

    Thank you!

    • This reply was modified 9 years, 3 months ago by AMedia. Reason: typo fix
    Plugin Author Tijmen Smit

    (@tijmensmit)

    How did you create the API keys? Did you follow the links ( “Create Browser key” button ) on this page, or did you do it manually? As in you went to the Google Developers Console page and created the keys?

    If you created them yourself, then make sure you enabled all the API’s listed on this page. What happens when you follow the “Create Browser key” button is that all the required API’s are automatically enabled.

    Thread Starter AMedia

    (@abramarket)

    Hi,

    Ok, I just started from scratch and created new keys from this page:

    https://wpstorelocator.co/document/create-google-api-keys/

    I then added the new keys to the WP Store Locator dashboard settings, and then saved the settings.

    Unfortunately the same issues are still present:

    http://www.myowens.com/locations/

    http://www.myowens.com/owenshealthcare/wp-content/uploads/2016/10/map-locator-screen.jpg

    We had this plugin installed and working from May until now with the prior API keys, so it’s just recently stopped working. And now we have replaced the API keys from scratch following the instructions, so the API keys don’t seem to be the issue? Are there any other options to troubleshoot this to solve the issues?

    • This reply was modified 9 years, 3 months ago by AMedia.
    Thread Starter AMedia

    (@abramarket)

    Hi!

    We ended up having to verify the domain in the Google Dashboard, and then this worked:

    http://www.myowens.com/*

    thank you so much!

    • This reply was modified 9 years, 3 months ago by AMedia.
    Plugin Author Tijmen Smit

    (@tijmensmit)

    I wasn’t aware it could sometimes not work because the domain wasn’t verified. I will include that in the troubleshooting documentation.

    Are you using any other services from the Google Console, other then the API keys? Because it says “You need to verify domain ownership to allow webhook notifications to be sent to your external domains.” Not sure that by itself has something to with Google Maps, but it still did solve the issue for you.

    You verified the domain by Going here > Credentials > Domain verification, or did you do it somewhere else?

    Thread Starter AMedia

    (@abramarket)

    Hi!

    Yes, that’s correct, we verified through Credentials > Domain verification.

    This is the first time we have needed to verify to get a Google API to work for a Map, so we were not aware of that either. This plugin actually worked fine without doing so until recently, so we were debating as to whether or not it was possibly a new change on Google’s end of things?

    The only other Google item tied into this account we are aware of is Security Keys for Recaptcha. Not from the Google Console, but thought we’d mention it in case?

    Again, thank you so much for your help!

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Map & Starting Point Broken’ is closed to new replies.