Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #45760
    Kristin
    Participant

    Each time we add a store now, we get a GeoCoding error message that says it cannot add the location. We have an API installed, this is a new message that has just popped up. How do we fix?

    #45764
    Cici
    Keymaster

    could you please provide the information required , see read this before posting guidelines and also read looking for tech support. I will be better able to assist you when you provide more info, such as versions, plugin environment, etc.

    ALso you may find your answers more readily in documentation’
    https://docs.storelocatorplus.com/blog/geocoding-errors/
    For example:

     

    #45765
    Kristin
    Participant

    Hello, i already looked through the documentation and do not see our geo coding error message on it, it says denied when we try to add them in. Our site is up to date on all themes, plugins and the WP core.

    #45767
    Cici
    Keymaster

    Saying it is up to date does not provide me the info I need to help you. Please provide your plugin environment.

    That would also include your site url

    #45768
    Kristin
    Participant

    https://www.pecard.com/ is the website.  The plugin is Store Locator Plus, this is the version: Version 4.7.8.  What else do you need?

     

    #45769
    Cici
    Keymaster

    Also did you add a Google APi key in the right spot?

    https://docs.storelocatorplus.com/blog/getting-started/

    I honestly cannot troubleshoot without more info. something on your site , or your hosting , is causing you to have unique issues, we have not had any reports of failure to add one location or geocode unless the address is bad or you have reached your query limit, Query limits often happen when you are on a shared server.

    More Troubleshooting

    #45770
    Cici
    Keymaster

    Inspected your site, using Chrome Developer tools in browser, under console:

    util.js:210 Google Maps API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key
    

    #45771
    Cici
    Keymaster

    Follow the link, you have an invalid key”
    https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key

    Warning
    The API key included in the script element that loads the API does not look correct. Please make sure you are using a correct API key. You can generate a new API key on the Google API Console.

    See Obtaining an API key.

    #45772
    Cici
    Keymaster

    P.S. Is this a new site or one that you moved over with a new domain name? If you changed even from http to https, that would require a new API key.

    #45775
    Kristin
    Participant

    Ok i will check out the API key. Its a site that has been up for awhile, i will see if they forgot to change the http to https in Google.

    #45779
    Cici
    Keymaster

    Ok, That may be the issue. If the site changes domain in any way , new rules as of June 2016 (see our Post last year). Google states MUST have API key. The good news, if you are now https, Google Chrome allows the location sensor to work.

    Note: Your  API key must be for the exact domain. The error message indicates that is the issue.  Upgrading to ssl would change the domain.   Lance updated this site to SSL certification in 2015 , it was a big undertaking.
    He wrote this article in 2015 about the process.

     

    Hope that resolves your issue, let me know.

     

    Thanks

    #45793
    Kristin
    Participant

    I fixed the Geo Code error message by getting a new API, now I get a message that says it “cannot add location”, even though Google comes back as able to find the location.

    #45820
    Cici
    Keymaster

    I checked your site today and there is still a Google Invalid Key warning coming through. It isnt preventing the site from searching but somewhere along the line it comes across something that might have an old APi key or info that was with http version of your site.  In our troubleshooting guide

    Different Host or Domain Name

    Some sites use a variety of host and domain names for different sections of their site.   Web servers and browsers will block most AJAX requests that do not original from the same host and domain as the back end server process.    The easiest way to manage this conflict is to use web configuration, such as Apache’s mod_rewrite rules via the .htaccess file,  to redirect AJAX requests to the proper URL.

     

    Please refer to how to debug your site under troubleshoot.

    It is taking quite a while to load your Map, possibly because of your theme, or another plugin. (also you have mixed content, your icons are sill under http but your site is https.  its working but you want to be cautious when building and transferring plugins and data to a new site.)

Viewing 13 posts - 1 through 13 (of 13 total)
  • You must be logged in to reply to this topic.