Forum Replies Created
-
AuthorPosts
-
CiciKeymaster
Ok, Also the SLP Developer said if you want to send screenshots to our contact us support email. he will be able to look for you as well. Screenshots should be of
1) SLP General Settings showing both Google API Key fields.
2) Google API Key DETAILS screen for the Browser Key (showing the key ID , restriction settings, etc.)
3) Google API Key Details screen for the Geocoder key.
CiciKeymasterIf you use IP Address restrictions the IP address must be the direct IP address of the server not a proxy service address. Could that be why Google is sending you the API error?
P.S. Are you on SLP version 5.03 now?
CiciKeymasterHere are some cool CSS suggestions and you can see the fields that can be changed
https://docs.storelocatorplus.com/blog/store-pages-templates-slp_pages-work/
and how to make the phone clickable and the shortcode for the SEO Pages
https://docs.storelocatorplus.com/blog/make-a-dial-link-phone-number-clickable/
More info, attributes Creating StorePages scrol down to the info for custom templates
CiciKeymasterNot sure, ,what is your plugin environment, i.e Under SLp Info? will show versions etc.
https://docs.storelocatorplus.com/blog/store-locator-plus-info-plug-environment/
CiciKeymasterAndrew,
I am at a loss but have the developer trying to figure this out. It is a lot of different errors I am seeing reported by customers but they are all related to geocoder, so I do nto know if Google changed something on us yet again or what is going on. We had a customer who fixed his API key restrictions and it wirked and now the problem is back.
Long story short, can you send , via the contact us any WP debug logs you might have if you have tried that, and/or send a temporary log-in via Support for your staging site so our developer can look at it?
Ugh so frustrating I know.
CiciKeymasterAha, This may be very helpful to solve some of our missing locations cases. I do not know if Google has yet again changed something or what, but the developer needs as much info as possible because we cannot replicate the issue on our end. We understand people wanting to restrict the APi key, in reality the chances of everyone having the wherewithal to even be able to find your API key is very small.
Do you have a test site or a staging or dev site that you might be able to provide our developer if he needs one ? (not in the forum bu via our secure support contact us)
CiciKeymasterAha, This may be very helpful to solve some of our missing locations cases. I do not know if Google has yet again changed something or what, but the developer needs as much info as possible because we cannot replicate the issue on our end. We understand people wanting to restrict the APi key, in reality the chances of everyone having the wherewithal to even be able to find your API key is very small.
Do you have a test site or a staging or dev site that you might be able to provide our developer if he needs one ? (not in the forum bu via our secure support contact us)
CiciKeymasterOk, i had to reformat your text for that one.
can you go to the SLP general Tab under Admin and enable Debug. and run the debug log . You will see the link to docs on the side: “Hover over a setting to learn what it does.
Enable WP Debug
Turns on WP_DEBUG and WP_DEBUG_LOG. Use with caution: it can display warnings and errors on your web pages. View debug.log
View the documentation for Enable WP Debug.“
CiciKeymasterI cannot see the screenshot you attached due to its size , but thats ok. The developer and I are mystified because we cannot reproduce this issue in any of our test sites or domains. a couple of people have reported similar. I sent Lance your plugin environment. So unfortunately we need you to provide us a little more help to resolve the issue or to find the conflict with your configuration or with another plugin.
Could you go to the SLP General/Admin and enable WP debug. Please send us the debug log. , send it to the contact us support
CiciKeymasterDo you see the drop down menu under Maps where to select Map domain under SLP? Some people have reported some missing on sites they already had running but updated. Trying to track down any culprits that may be json related.
See docs and the screenshot in the docs
This is not the same as geocoding APi key, it is what Google geocoding needs to find the region , i,.e map domain.
CiciKeymasterHey Andrew, We are tryint o track down the bug,
On the site that you already have and returning errors, Do you see the map domain list? If you cannot see screenshot see where the map domain dropdown menu is under Documentation about how to select map domains
Attachments:
You must be logged in to view attached files.CiciKeymasterSo you do not see this screenshot attached??/ Documentation https://docs.storelocatorplus.com/blog/google-map-domains-supported-in-slp/
Attachments:
You must be logged in to view attached files.CiciKeymasterDrew you mentioned SSl…did you recently migrate site to Https? Is there a difference between the staging site SSL and the actual live site?
CiciKeymasterDrew can you try something for us on the site url that isnt working? Goto Settings/MAP and map domain and set it to something else, save, then set it back to United States or whatever you had before
And report back what it says.
CiciKeymasterHmmm,,, Ok So here is a test that Lance would like you to try, we noticed there was no region set on your map search when I searched it and sent the string to Lance:
try going to Settings/map/map domain and set it to something else, save, then set it back to United States
And report back if you see changes, errors or fixes
CiciKeymasterHere is an article to help you with what you need to know about Google keys. There should be two boxes under the google , MAPS AND PLACES, CHECK BOTH OFF
https://www.storelocatorplus.com/wordpress-store-locator-plus-google-api-key/
CiciKeymasterI just answered in Premier forum, also running by Lance, but I see 7 errors when I inspect your site, not all are from performing the search. There is an issue with the Geocoder APi key on your site is my guess but I am running it by Lance.
CiciKeymasterIf you do not have any referrer restrictions you do not need to be obtaining a unique geocoding KEY. I can see your geocoding key when I inspect and search in that site so I am guessing that may be one of the issues.
Yes The error is the same , you can see it if you just use the browser tool to inspecyt and look under the console tab at the bottom when it opens up
Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchange
The other error that I see now when using the “search for a specific zip code; using browser console inspector is a 404 error.
I am discussing this with the developer.
CiciKeymasterDoes your Google APi have a referrer restriction? If I do not add anything into the search form and change radius and click on find locations the locations appear. But when I type in a zip code it appears the geocoder is not working. I am going over the issue with lance. The geocoder APi on your site does not seem to be working correctly. Did you update your APIs when you added a billing account with Google?
CiciKeymasterBuy Here for WooCommerce has not been updated or tested with current versions of WP or SLP. I will ask the developer if he has any ideas. I do not believe you need it but I will ask the developer.
CiciKeymasterAwesome, thx for letting us know. bSLP also updated the base plugin to 5.0.3 that took care of the accent in the search. WP updates required SLP updates to correct for missing spaces, commas or character, language accents
CiciKeymasterAwesome, thx for letting us know!
CiciKeymasterMore info on setting up the browser key without restrictions
See info on what not to do
If you did not set any referrer restrictions then is it possible you are using an outdated version of the Maps Javascrit API on the live site ?
https://developers.google.com/maps/documentation/javascript/v2tov3
According to Google transition team and support, you would most likely need a new key to go from version 2 to version 3. Be sure to read the article and contact Google support with questions on what you need to do, always make sure you have a backup of your site..
CiciKeymasterI just went to this site: Is this the correct url ?
https://barreamped.com/take-a-class/
It looks like you may have an old version of geocoder and/or have not correctly set up the key. The error message on that page indicates you may not be using the referrer correctly ( To use the Maps JavaScript API client side services, you will need to create a separate API key which can be secured with an HTTP referrers restriction)
The error on that public site:
Failed to set referrer policy: The value ” is not one of ‘no-referrer’, ‘no-referrer-when-downgrade’, ‘origin’, ‘origin-when-cross-origin’, ‘same-origin’, ‘strict-origin’, ‘strict-origin-when-cross-origin’, or ‘unsafe-url’. The referrer policy has been left unchanged. index
Here is an article and instructions written by the developer and in docs site. Unfortunately Google instructions stink and a lot of people are misled by Google on how to use the referrer info.
CiciKeymasterP.S. Also set the domain name to the country.
https://docs.storelocatorplus.com/blog/google-map-domains-supported-in-slp/
note that only aids Google it does not restrict the search
If you have the Experience add-on you can also use the append shortcode which will add (in the background) the Country region (CR) so results and search will be for the country designated. Experience will also allow you to have a discrete search.
-
AuthorPosts