Forum Replies Created
-
AuthorPosts
-
CiciKeymaster
With that many locations exporting, You should export to hosted CSV because the site is clearly timing out. WP has limits and WPE definitely sets a PHP process limit
If you are on a dedicated server you SHOULD be able to login and edit your php.ini file to change the default timeout (usually 30s) to something a lot longer.
it is definitely a server issue — the developer exports 10,000+ locations multiple times/year and it still worked for us.if you read the troubleshooting export article here
it explains in detail suggested changes on your end to assist you. EX” Have you tried changing the PHP ini file? As mentioned it could take 5 minutes for large datasets to export
ALso WordPress has a wp-config.php file and various define set within the main code that set limits on how much memory can be consumed by a single WordPress session. This will override the PHP memory limits and should be checked. Many larger applications, especially ecommerce applications, require you to edit this setting to change the default value. Store Locator Plus consumes little additional memory per exported location, however the aforementioned memory leaks in some environments can be an problem for this setting.CiciKeymasterThanks for letting us know
August 29, 2019 at 11:21 AM in reply to: Locations disappear if I do not answer browser location pop-up #65530CiciKeymasterIf you see a message about anything to do with API restrictions that is google. I believe we had answered a few similar questions last year in the forums about this and the developer wrote a few articles such as this one.
If Google says you cant use restrictors with your API key, click on their message and it will redirect you
The error message I see on your site when I click on Allow and search is this
Uncaught ReferenceError: GambitSmoothScroll is not defined
at (index):4
And that is under your locations index. I would clean up that error if you can since you have a lot of customization going on.You might also want to use WP debugger to see if any errors are coming from your theme , another plugin or SLP. We do not see any errors related to WPSLP
When I open the window and DO NOT allow access, I see the warning not to share credit card info etc. Maybe Google Chrome has tightened up or is covering their butt by announcing privacy….The Do you want this site to allow access has to do with security measures with most browsers now as part of their privacy policies. That has been an auto pop up with Firefox, Avast web browsers and many others for quite some time. Chrome would block it if you were not running the latest security certificate and HTTPS and not even ask you. Apparently they now are asking .
Location sensor talks to Google and as the article suggests it shows locations nearest you. I do not know where you are in relation to the sites locations so I am not sure how to guide you. There are no locations near me and you do not have the radius dropdown so i cant change radiusAttachments:
You must be logged in to view attached files.August 28, 2019 at 11:50 AM in reply to: Page reloads when trying to search (instead of showing results) #65461CiciKeymasterHi Kevin,.
i answered and provided a screenshot of the error in the premier forum.
CiciKeymasterThis is when it is useful to use any browser dev tools, Inspect, do the search and look at errors that appear in the bottom window.
Our developer wrote a good article about this and Javascript execution
https://www.storelocatorplus.com/good-javascript-code-critical-locator/It also includes a video
Here is a screen shot of the error I found when doing the search using browser tools. Undefiuned index
Attachments:
You must be logged in to view attached files.CiciKeymasterHi Kevin
The browser used does not matter at all with exports. It is not browser depenedent
There are a few other things that are involved when exporting and if it suddenly stopped working.
The Troubleshooting exports explains in more depth, your Web processor, your server size, are you on a shared hosting site such as go daddy etc.
CiciKeymasterThanks Kevin, Got it. I just tested the export on my site and it worked correctly, Did you export to csv file?
You need to have Power activated to export.If it worked before and suddenly stopped, how many locations were you exporting / Was it a large list?
Otherwise maybe you can use the WP Debugger to narrow it down a bit.
Did you make sure you have a back-up of your site before updating? It would be great if we knew if it worked on previous versions and not now….so we know whether we need to have the developer look into the recent update of SLP to 5.2.8 and power
August 28, 2019 at 11:27 AM in reply to: Page reloads when trying to search (instead of showing results) #65455CiciKeymasterWhen posting please look at it when you are done, I can edit and reformat but I did that for the last one.
As on the other request, cannot assist you without knowing what you are using, your plugin environment for one. Please see forum guidelines
Your site has this error:
Uncaught TypeError: $ is not a function
at (index):11And I cannot see what you are using on that site for Plugins but by inspecting the error
Use any dev tools and inspect and you can see, Has someone has copied over or migrated site incorrectly. This is the r=error that is thrown.CiciKeymasterWhat have you done differently that makes it “not work” today as opposed to another day, have you done updates etc?
Please review the Forum posting guidelines and provide the information requested, i,e plugin environment that shows us what you have for SLP products and versions of WP, PHP, site url etc , screenshot is best
CiciKeymaster1) You can customize the label as to what is required to perform a search or text use address placeholder .and under settings to only search after something is entered. And under results do not check off show locations at start up and check off disable intitila directory . You can Use Discrete search Address Input filter if you want them to see the cities as drop down for instance but it sounds like you do not want them to see anything is that correct?
The search functionality is dynamic and not like a typical form. You need to use a combination of settings under the three, Search and Results. You can customize any of the layouts , add css and /or add HTML . You need to be familiar with those tools to get the most benefit. Premier is best used by expert skill sets using WP and CSS and HTML See Search Shortcodes in docs
You might also want to try a different plugin style under Settings/View.
If you need customization for a unique case you can send an email to support and we will have the developer look at it and provide a quote.
2) No, You can use the short code with different values on each page, if you do not have the additional shortcode it will use the default , they are on the link I provided. I.E Shortcode attributes
Example
1[SLPLUS initial_results_returned=“1”]CiciKeymasterP.S. One of your team contacted us via email and we provided them the exact same answer. Please follow up with the steps we sent to
Victoria”.She said there was no code, actually
there is a “code’ if you know how to use the Browser dev tools . All Browsers have that function , you can inspect the url page that is giving you problems and under the Console tab it shows you any errors’
. if you need assistance with how to find issues on your Do it yourself Self managed plugin yoiu may want to contact your IT dept or the people who established your site. They should know about Web dev and browser tools. The issue is not with SLP or WP but with your site and using the Google MAPS API.
Our MYSLP customers do not need to worry about that, we take care of all the Google MAP interface tools for a monthly subscription plan
CiciKeymasterWe have multiple articles (such as this one that provides step by step) and documentation (such as this) about adding API and billing accounts for Google, since you are using the WPSLP self managed plug-in, we have no access and you may need to contact google support, which they should provide you now that you have to for use of their MAPS API
The error message (using Dev tools in any browser and inspect and under Console you see error messages:
This site , https://www.moons.co.uk/contact/where-to-buy/
has the error
Google Maps JavaScript API error: ApiNotActivatedMapError
_.Wc @ js?
If you follow the link in the error it brings you to the error codes for google:
ApiNotActivatedMapError
Error The Maps JavaScript API is not activated on your API project. You may need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console.
For more information, see Get Started with Google Maps Platform.
CiciKeymaster1) Large Import and Troubleshooting should shed some light, a lot depends on how many locations you try adding to one map, Google MAPS API functions and the time to draw a map will have a big impact and every time a map tile is drawn it will hit your limits and will bill you accordingly.
See the info here about large import , ignore the part about using MYSLP, there is no plan that would allow 100K locations
2) Depends on your server, your configuration, the WP CrOn limits etc. again look at the Large import t for more info
3) I do not know, I have never tested 100K locations on my site as the bill from Google would be astronomical to load and geocode I cannot test for you
Geocoding is responsible for 35% of the Google billing fees with the Google Maps API on most accounts. Also you may be getting throttled by Google when loading that many locations to geocode Unfortunately there is not much you can do to eliminate the map rendering fees.
CiciKeymasterYou cannot have two totally separate data sets , the Location data is all one.
You can use categories and use the Shortcode on one page “only_with-_category = “xx:” as shown in the link to the shortcodes I shared. and then either another short code on another page, or the category button bar or horiz checkbox..
I do not understand why you cannot use categories to separate your locations into two differentiating locations using something like the taxonomy functionality .
Or you can use the Directory landing page shortcode to work around your issue.
You might be able to do something like that with two different embed scripts if you had two separate Professional or Enterprise accounts in MYSLP and then use the two different embeds (one per page) …but since I am not really sure what it is you need to do due to the privacy factor you mentioned I am not sure how to advise you. If you need to , please send in the details of what you are trying to do to the support team or contact us and I will try to get the developer to look at your unique circumstances.
CiciKeymasterAlso if you do not want them to see a map until after search:
You can click the cjhjeck box to Hide map until search…
and other SLP shortcodes to be used on each page
But first under SLP/ Settings/Results you will also want to check off the box Disable Initial directory , that will disable results being shown until after a search has been done,. Hope this helps
- This reply was modified 5 years, 3 months ago by Cici.
CiciKeymasterHello Juergen,
1) With Premier you can add the location limit Url
or search auto complete could be used
or discrete search could be enabled,
Since you have Premier there are a lot of additional features to use, you need to check to see which ones make the most sense for your business model and site.
2)Number of results to show after start up, after search etc is set under the Settings/Results Tab under the Store Locator Plus plugin.
More info
about appearance and layouts displaying data fields, shortcodes etc in Documentation
CiciKeymasterFixed in version 5..2.2
CiciKeymasterPatched ( I cant read your post) but I think this is addressed
5.2.2
PATCHED re-instate the recently missing description and hours fields on location edit forms.
CiciKeymasterP>S
SLP absolutely has to have the ability to communicate with Google APIs to get locations, so you might want to read up on the Microsoft edge info and support page to see if you need to enable cookies etc. I know when using Avast browser I am constantly getting messages from google to enable cookies, and to change configuration etc. So if I had to guess I would start there. i you provide your site url I may be able to look for errors.
. The WordPress Store Locator Plus map rendering is managed by the slp.js JavaScript file. It sets up the communication with the built-in WordPress AJAX handler, admin-ajax. Your server must be setup to allow the built-in WordPress AJAX handler to execute. Additionally, ANY PLUGIN or THEME that is breaking javascript will break SLP functionality. This is rarely an issue with the SLP plugin.
CiciKeymasterI use a Windows 10 computer and have not had issues using Chrome, Firefox, IE, I have not heard this before. Is there an additional layer of security with any of the browsers with Edge? I know that Lance uses a test suite before releases that tests scripts with all browsers.
What errors are you getting? What is your site url?
CiciKeymasterDo you have the Experience Add-on? The very first sentence on that page states” he ability to change results layout is included in the Experience add on.”
CiciKeymasterPlease provide your Plugin environment. (see posting guidelines) so we can assist you
I am having trouble deciphering your post with all the div texts
.ARE YOU SAYING THERE ARE FIELDS IN BACK END YOU CANNOT CLICK ON? ARE YOU USING A MINIFYING PLUGIN LIKE SMUSH?
if so , see other responses in support about the conflict and disable smush . You can also try using WP debugger.
Until we hear back from you with a clean up of your post and provide your plugin environment in response I cannot answer your question
CiciKeymasterI am directing this to the developer, he has a fix in place for SLP 5.2. I revisited your site and it appears correct. Did you recently update SLP?
Thx for following
CiciKeymasterOh goodie, glad it worked for you.
-
AuthorPosts