Forum Replies Created
-
AuthorPosts
-
June 26, 2019 at 10:47 AM in reply to: "Could not locate this address…" Locations only show with blank search #59472CiciKeymaster
SLP is compatible with the latest version of PHP.
Other Troubleshooting options here if search does not work , check for Javascript and PHP handler, or if your site is over zealous and turned off the Ajax handler
see here to troubleshoot suggestions for Ajax
Could not Locate this address if no other errors showing could be as a result of the radius behavior setting for results being set to too low a number, or it could be Google does not have enough info when the search criteria is set or your center map is not set
But in your case, when i go to that site url (Greenjoylife) and type in a zip code I see this come back when I inspect for errors using the Console developer tools:
Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Not sure if your host is preventing the communication between WP and Google for the geocoding request to work which is required for the search by zip to work or if it is because you are revamping the site. But the 500 internal error is on your end I believe
I see if I refresh and wait a while and set the radius out further some locations appear. If you do not have Center map set, in your settings/map to an address that is more central to all your locations it defaults to where Google thinks the center of US is, somewhere in Kansas (check that you have set the Map region as well)
Other hints for better performance; Check the SLP settings under Map and results.
See documentation and use keywords to search , example radius
Try setting Results to immediately show a larger number as well
double check that your security on the server is not also blocking the geocoder
CiciKeymasterHello catherine,
To better assist you we ask for your plugin environment which shows us your versions.
1) I am not sure I understand your question. With Premier you can make the phone number dial on click : Instructions here
If you are looking for a built in report for that function, that does not exist in SLP, there may be some way to measure that using Google Analytics but I am not familiar with any.
2) You can change your SEO Pages layout if that is where your Course guide is. I am not sure what you are asking here. It looks like you have Course Guides on your page as part of a menu item that then can be redirected. The developer might be able to take a look when he has some time, but we would need additional information including your plugin environment and how you are using the available add-ons.
CiciKeymasterPlease provide the info requested in posting guidelines, i.e plugin environment.
if you backed up your data before updating can you see what plugin style you were using and/or if you had an outdated legacy add-on that allowed you to change your results layout befor or if you had some CSS saved in your WP ooptions table ? I am unaware of any updates to the base SLP plugin that would break or change how the results displayed
https://docs.storelocatorplus.com/blog/appearance-layouts/
There are a multiple styles that work better with some themes. than others, you may want to check them out on your staging or test or dev site.
The Experience add-on allows you to manipulate and change the Layouts and Appearances as well as add CSS if you need to override your theme style.
.
CiciKeymasterGet rid of SL_Id the first column.
Since you deleted your locations that sl_id does not exist.
Read here about the use and purpose for sl_id,
It is used for import duplicates, it is a specific id assigned when locations are loaded.
also the correct formats for csv file headers
Also refer to troubleshooting import if after you fix your files you still have issues you need to look at your WP config (assume it wasnt just one location you are trying to upload)
For anything else, we need to know your WP Plugin environment and the url where you are using SLP, I do not know if you have current versions or not. See Posting guidelines
CiciKeymasterPlease read the posting guidelines and provide your plugin environment, I do not know what versions you have and cannot help you, the center map at shortcode was fixed quite a while ago, it works on my site and I do recall I had reported it and it was subsequently fixed. So I do not know what version you are using
CiciKeymasterThanks for that info. i will pass it along to the developer, Lance,. I am sure a lot of what you are explaining is understood by him . He has a blog where he writes technical articles and some info for a class he teaches
As you probably know, the majority of people using the WordPress plugin do not have in depth knowledge of anything remotely as detailed as what you describe and many have little or no IT assistance never mind someone with developer skills other then building a web site page.
When I mentioned changes since the doc page you referenced was written,92016) here is an example: Updated in December 2018 the geocode requests go through the WP REST API now. This was in response to the google API changes last year and trying to save customers some money . Also a more recent update requires PHP min to be 5.6
https://www.storelocatorplus.com/fewer-geocode-requests-with-store-locator-plus-5/
My skill set is general about WordPress and more about how the general plugin works .
P.S. there are newer versions /updates to SLP, Power add-on (changelog) and Premier. You might want to check the SLP changelog for what was changed for each version of the base plugin and can be found on the WP Store locator Plus development page
CiciKeymasterSorry, We cannot help you with this method of adding locations . , this is far and beyond the general Store locator Plus plugin questions and requires an in depth knowledge base of your specific server, host, configuration, Word Press, REST API , plugin development and how they all work together. You also have not followed the Posting guidelines above (READ THIS BEFORE POSTING) and have not provided screens shots of your Info Plugin environment. I can only assume that you do not have a legit copy of pour plugin and are trying to build or develop an APP to work with our plugin, sorry I cannot help you with that.
The docs that you are referring to are from 2016. WordPress and SLP have undergone a lot of major changes since then and since we have no idea what versions you are using we cannot verify. That article does not belong in the current docs archives and will be removed, thanks for pointing it out to us. It is way too technical for the general population.
If your l configuration is preventing REST API with communicating with WP , that is not as a result of the Store Locator Plus plugin and is outside of the realm of our support either in the forums or even for a paid support option
You should be adding locations via the basic SLP plugin under Locations add, I do not know what you are attempting to do with the screenshots. There used to be a third party add-on that allowed user managed locations, if you are trying to replicate that capability. you can look at that authors site if you are trying to provide capabilities for a user :
search for him in WordPress under DeBAAT.
CiciKeymasterSince it is working for me and I do not have any other plugins that would interfere with the WPSLP functionality and am using a WP theme, I cannot replicate your issue.
Using any Browser tools, inspect your side and look under console, you will see this error on your site.
Uncaught TypeError: $(…).autocomplete is not a function
at HTMLDocument.<anonymous> (bw-gemeinden.js?ver=1.1:17)
at i (jquery.js?ver=1.12.4:2)
at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
at Function.ready (jquery.js?ver=1.12.4:2)
at HTMLDocument.K (jquery.js?ver=1.12.4:2)
When inspecting the Network and XHR headers the WPSLP geocode header GET is green and is working correctly. I do not know what to tell you other then you may need to perform some debugging on your site.
Request URL: https://www.polizei-bw.de/wp-json/store-locator-plus/v2/geocode/d0015aa9c336272f521caeee2feb7c35/de/T%C3%BCbingen
Request Method: GET
Status Code: 200 OK
CiciKeymasterPremier URL controls were expanded and added over the past few years as far as I know. if you had legacy add-ons that from 4 or 5 years ago I do not have that information available. There have been many updates over the past 5 years . You can check the Changelogs under the products on the home page that may help you. or the news feeds , this news feed from 2017 describes the capability If you were able to get around it with just Power and Experience add-on, perhaps I am not understanding the functionality you are referring to.
https://www.storelocatorplus.com/version-4-7-9-allows-location-highlighting-via-url/
CiciKeymasterOk, No Problem. As mentioned this is not a plugin issue. The developer has written a few articles about the rest api but the later versions/updates of WP fixed the issue., what you are describing is preventing communication, but this is out of my realm and will require vetting by your team with the help of the WordPress developer community at large and Sucuri.
I will close the topic
CiciKeymasterPlease read the Posting guidelines and provide the information requested, i.e your plugin environment (see what is meant by plugin environment), without that info we cannot help you.
The allow addy in Url features you are referring to requires you to have Premier subscription. You bought two stand alone add-ons back in 2017, not Premier subscription so you never had that feature..
See the video and info here in doc shttps://docs.storelocatorplus.com/blog/tag/url-control-description/
CiciKeymasterSLP has nothing to do with the http to https issue., The developer uses Sucuri extensively and there is absolutely no reason to have to hack anything in order to allow a plugin to communicate with the outside world if your configuration and network server is set up correctly. . If you have HTTPS on your server it should automatically route to/from i.e. — if someone goes to http:// blahyah.com it will auto-redirect
either way, if you are having to hack, you have not configured your network and web app firewall (sucuri) properly
article the developer has written that mentions Sucuri and caching
As far as our plugin , the only thing that would be effected regarding the search functionality would be if using Chrome you will not have advantage of the Location sensor aware.
Mixed content , as far as this topic, I am not sure how you are even getting that error since your site is http not https . so it does not appear to have been migrated
I would do some research especially on the WordPress support to find out how to properly configure and migrate, or check out the Sucuri blog
CiciKeymasterArnulf, I added a location in Germany recently; and it appeared correctly without adding the br in shortcode as long as I entered something in place of the “state” field, if you do not want to modify your layout by adding the br in the shortcode try entering a comma or anything under the field “state” . It may be a solution your customer can live with for now
CiciKeymasterThe error isn indicating the string is invalid as it does not follow the UTF 8 requirements
Please refer to the rules under the Import functionality, assume you imported the location? Do you have a location with that address under your SLP locations? If so is it showing as geocoded active?
I added a location in Tübingen, Germany with a full address to my site. Not only did it geocode correctly but I also had no issue with it appearing on my map when I searched by the town / city name, see my screenshot.
This indicates that it is not a problem with the SLP plugin but something in your configuration or set-up .
Make sure you have the location added correctly, add the country and postal code
Attachments:
You must be logged in to view attached files.CiciKeymasterOr you can also just change and add the shortcode in the results layout and save it, he may also have some other suggestions for you that would not require a purchase.
CiciKeymaster@ Arnulf
Please refer to Jorgens reply above. To change the results layout, or any of the WPSLP layouts, to add the space, etc you can use the Experience add-on
CiciKeymasterThanks Jorgen,
Yes, it can be changed if you have the Experience add-on and you can change it in the results layout. Arnulf did not provide the information requested regarding his Plugin environment , version etc.
Thank you for providing the correct span for the layout
CiciKeymasterP.S please show a screenshot of your Plugin environment and provide a url where you are seeing that error? Are using the plugin on a NAM , i.e. multisite? I see that you downloaded the experience add-on 4 times which is a bit unusual in one day.
If you do have a Network-Active Multisite WordPress configuration , an active Premier subscription will be required
if you still need help, we will need more info (refer to the Posting guidelines)
CiciKeymasterThe “expected” is indeed what you should be seeing. if you are missing ANY sub tabs then the issue is not wPSLP but another plugin. Are you using a Minify plugin such as SMUSH? Some people reported that some of the sub menu tabs were not appearing when they used that plugin,The way their plugin was written ,to minify, ,conflicts with SLP which already is compressed. https://wp.storelocatorplus.com/forums/topic/admin-section-not-allowing-me-to-click-on-anything/
If that is not the issue, did you copy or migrate your site recently? If so you may want to check your back up before you did that or may need to use the WP debugger and troubleshoot and check to see if the migration was complete and all your data tables moved over completely.
For others who may stumble upon this support and not see what you are referring to , or think this post is about the actual API keys:
Once you have that issue resolved:
Look at the examples in docs:
If you added referrer restrictions (click on that article and watch the video ) and also obtained a unique geocoding key enter that key under Google Geocoding.
Read that article it should explain to you what the two fields “Browser and geocoding keys) are. and what the difference is.
In the Docs Google API keys and WPSLP
CiciKeymasterNo Problem, Hope you get it sorted out. If you click on the pop up showing on your Google Map on that site it will direct you to the Google API info for the pop up.
If you answer the questions in order:
Error Messages
This page describes the error messages that can be returned by the Maps JavaScript API. The Maps JavaScript API writes error and warning messages to the JavaScript console. Certain error conditions may also occur, which result in the display of a darkened watermarked map.
If you are NOT the website owner, there are no steps you can take to fix any of these errors. However, you may want to notify the site owner if possible.
API Key and Billing Errors:
Troubleshooting
. In order to use Google Maps Platform products, billing must be enabled on your account, and all requests must include a valid API key. The following flow will help you troubleshoot the issue.
Are you using an API key?
IF YES:
Is billing enabled on your account?
How can I check if billing is enabled on my account?
Navigate to the Google Cloud Platform Console and select the project under which your API key was created. To confirm the key is associated with the project:
Go to the Credentials section, which can be accessed from the left side bar under APIs & Services > Credentials.
Check that the API key you currently use on your website is listed. If that’s not the case, switch to a different project, and check the credentials there.
If you cannot locate the project for your API key, you may have lost access to this project. Ask others in your organization for help. If the original project cannot be located, you should:
Create a new project. This can be done by selecting New Project from the projects list, or by selecting Create Project via the Resource Manager page.
Create a new API key. This can be done on the Credentials page. Once there click Create credentials and then select API key.
Once you have located your project in the Google Cloud Platform Console, check if billing is enabled by navigating to the Billing section in the left side menu.
CiciKeymasterJust as a footnote,
I just visited your site. page for store locations on the site shown in your screenshot. You have NOT updated your Google JAVASCRIPT API projects according to Google, you are showing a “do you own this site” pop up.
That indicates that the API you obtained once upon a time is either not valid or is not associated and updated with a billing account. You really need to contact Google or click on those links and follow through with what they are advising you.
Whatever API was previously obtained by your group was most likely never updated and attached to a billing account, you need to follow the Google API links where you are seeing those error messages!!! If it was updated and you migrated the site recently, make sure you have the correct project and correct API key in the WPSLP for browser and that you are not inadvertently using an old one
- This reply was modified 6 years, 1 month ago by Cici.
CiciKeymasterApparently someone on your end has set quotas through their Google API billing account. SLP has no insight into any sites that are using the WPSLP self managed plugin.
as an FYI: Some info our developer had to consider and vet when he wrote his subscription based (MYSLP) fully managed software,
Map views do not always align with page views by an “individual visit”.
Example: Someone can go to your site and and visit 5 pages. Web traffic will report this as one visitor but if you had a map on each of those pages that would be 5 map views.
Or the visitor goes to your where to buy page and types in 3 addresses; each time the map is drawn it is considered a map view.
Another example, a full screen map using Google’s map view counter usually counts as 2 or 3 map views.
Not to plug MYSLP specifically but with the MYSLP subscription platform , we only count each time a map update is requested from Google. MySLP uses a LESS aggressive version of the counter than Google uses.
either way, since you are referring to the WordPress SLP you own it, you manage it and you manage your own Google API keys, so best thing for you to do is talk to google and lodge any complaints with them, they offer free support now since , they charge everyone to use their maps.
Sorry I cannot be of assistance or provide an absolute explanation for your case.
You might want to peruse the SLP news feed here to see if you glean anything that might help you.
CiciKeymasterHi Andrew, No it is not a known issue and it is not a bug as far as I know.
Not sure about your particulars, but the last time you wrote about the permalinks, Lance answered you with an extensive reply. see what he replied back in January it may shed some light (especially if you are not the same person who worked on that part of that customers WP site before. )
https://wp.storelocatorplus.com/forums/topic/store-pages-custom-changes/
I do see some errors on your site and realize you are using a lot of customization and caching
Lance wrote an article sometime ago about the caching and updating
https://www.storelocatorplus.com/how-caching-can-break-websites-after-updates/
CiciKeymasterDid this just start happening after you updated to WP 5.2/
Did you migrate your site recently?
Review the WordPress support forums. I did not update to WP 5.2 but it looks like it may have some issues.
https://wordpress.org/support/topic/read-this-first-wordpress-5-2-master-list/
Nothing in SLP would effect breaking your internal links to your pages
You can also view the Power changelog to see what changes were made. I do not see anything that would effect your SEO page links in recent updates, the last time anything to do with SEO Pages changed was Power version 5.. Make sure you still have Enable Pages turned on.
You may need to debug with WP debugger to get to the bottom of the issue
CiciKeymasterAlso, there are a few other SLP plugin styles, left for red, left for blue, and other Gallery styles available for premier customers. You might want to check them out on your dev site, make sure you have a back up of your site before changing anything permanent.
-
AuthorPosts