Forum Replies Created
-
AuthorPosts
-
Steven Zahm
Keymaster@ Matt
Hmmm… I missed this when I first looked… the site is reporting that two core Connections javascripts are not found. Reporting status of 404. Load the page in Chrome, hit the F12 key and click the Console tab to see the errors.
PLease deactivate Connections, just the core plugin and delete it. You data and settings are safe. Now reinstall Connections. Do the errors persist? If they do, then log on to your site with FTP and navigate to these folders and verify that the file exist:
- ../wp-content/plugins/connections/vendor/chosen/chosen.jquery.min.js
- ../wp-content/plugins/connections/vendor/jquery-gomap/jquery.gomap.min.js
If the files exist, something on the server is preventing them from being served.
Let me know what you learn.
Steven Zahm
Keymaster@ Matt
There is a fatal javascript error… did you disable the Google Maps API on the Connections : Settings admin page under the Advanced tab in the Compatibility section? If you did, can you please enable it?
Steven Zahm
Keymaster@ Travis
The only way to accomplish this would be to edit the template. You could edit the template, splitting the title string on the demiliter (the comma).
Hope this helps, let me know.
Steven Zahm
Keymaster@ Matt
This indicates that there is either a fatal javascript error on the site, breaking javascript execution or that the javascript for the cMap template is not being loaded like it should. You’ll need to share a link to the directory so I can take a look.
Steven Zahm
Keymaster@ Harald
Well, this is a head scratcher… the Customizer just started working. No changes were done.
I was trying to edit the Widget Pack using the WP plugin editor to comment out the code which registered the Connections Shortcode Widgets sidebar so it would not run. I was not able to make the edit because it seems your web host blocks loopback requests which is required for the WP plugin editor to work. You should contact them about that. If they refuse to enable loopback requests, you might want to seek a more WP friendly host.
Anyway, right after that edit failed to apply, it just started working. There’s no reason I can think of why it would just start working. You see, something can be rare and unique… or perhaps you or someone else made changes while I was debugging???
At the very least I know know there is some condition which exists with the Widget Pack which could cause the Customizer to fail to load. Please let me know when and if it happens again.
Steven Zahm
Keymaster@ Don
RE: When the customizer opens and the default template shows there is no background color, the bio and notes don’t show when clicked and the map doesn’t appear at all.
The Default template does not have a background color. The two entries you have added, there are no notes or bio entered, so, they will not display anything. Can not show it if there is nothing to show. The Default template also does not show a map.
I assume you you wish to customize cMap??? If that is the case, you need to click the Customize button for cMap. Still, there are no notes or bios entered for your two entries so there is nothing to show.
As for the map, your Google Maps API key is not setup correctly. Hit the F12 key and click the Console tab. You’ll see this error, from Google, “Google Maps API error: RefererNotAllowedMapError“. This mean you have a referrer restriction, which you should. But the referrer you have setup is not correct. Please see Step 4 in the Google Maps API key tutorial for a recommended referrer setting.
If you want cMap to be used to display your directory, click its “Activate” button on Connections : Templates admin page. See the cMap installation instructions for step by step instructions.
Hope this helps!
Steven Zahm
Keymaster@ Harald
Ok, I tracked down the conflict. When the Connections Widget Pack plugin is not active, the Customizer loads just fine… not exactly sure why this would be the case yet as I can not replicate on my dev site.
Steven Zahm
Keymaster@ Harald
RE: Seems like all my troubles are unique…
With many thousand in sales and far many more in total installations over nearly a decade, yes, most issues tend to be more unique if they are not straight up conflicts. When more than a handful have experience a similar issue I code in workarounds. Here’s one example to which you can relate:
Over the course of the past several years a few dozen or so users Form would not send when the submit button was clicked. And its Add buttons would just cause the form to jump to the top of the page. For all those past users who experienced this, I simply provided a code snippet that forced the javascript for Form to be loaded vs. doing it the right way. For some reason the right way, for them, was not working. A few days before you posted about this issue another had the same issue. The solution for that user was to check if a specific core WP script was registered and if it was not, register it. Something in that users setup was unregistering a core WP script, something that should not be done because of this exact reason. Other plugins may depend on it. If you recall that solution had not worked for you. When debugging your issue I notice the text editor for the bio/notes field was working which meant other core WP scripts were being loaded into the page footer like they should be, but the javascript for Form was not. So I researched how WP was ensuring that they were and mimicked that process in Form and applied that as a hot patch to your site. One should not have to jump thru those hoops as WP provides a specific method for plugin devs to use to output plugin’s javascript. Now that I have these two workarounds in code, I expect this issue to be even more rare.
I am supporting another user this very moment where the Customizer is not loaded for them, but when I log in, it works for me using the exact same login as he is. Would you not also consider that unique?
Any way, back on to sorting out why the Customizer is not loading for you…
Steven Zahm
Keymaster@ Don
Ops, forgot to answer the other question… set the entry to unlisted to have it not show. You can then set it back to public when you are ready to have it show.
Steven Zahm
Keymaster@ Don
Can you please give me the steps/links clicked in order for me to reproduce the Customizer not loading?
I logged in and clicked Customizer under the Appearance WP menu item and the Customizer loaded just fine.
I exited the Customizer and then navigated to Connections : Templates admin page and clicked the Customize button for both cMap and the Default template. In both instances the Customizer loaded fine.
I looked at the recently active plugins list and reactivated the Child Theme Configurator plugin and repeated those steps. The Customizer still loaded as it should. I then deactivated Child Theme Configurator since it did not seem to make a difference.
I’m guess I am misunderstanding what the issue is exactly so the have the exact steps to reproduce will help me replicate and debug it.
-
AuthorPosts
