Javascript Not Loading: Mixed Content Error when Admin is Forced SSL
-
Hello,
Thanks for making such a useful plugin. It’s really come in handy for our site.
Like a few others here, I am having issues with the new version of your plugin (the date picker doesn’t work, settings don’t load, etc). I’m wondering if it has to do with the mixed content error I’m getting from Google Chrome.
My live site forces SSL on the admin screens. So when I try to make a new event or click on the settings page I get a shield icon in the URL bar alerting me that “this page is trying to load scripts from unauthorized sources.”
In the google console, I see this error message:
Mixed Content: The page at 'https://www.###/wp-admin/options-general.php' was loaded over HTTPS, but requested an insecure script 'https://www.###/?ai1ec_render_js=common_backend&is_backend=true&ver=2.5.14'. This request has been blocked; the content must be served over HTTPS.
And I get this on all admin pages, not just the ai1ec pages.
In addition to the live site, I have a fully reproduced dev site. The calendar is working normally on the dev site. And the only difference between the two sites is that my live site forces SSL on the admin screen and my dev site does not.
So with that I think I figured out the cause… but I’m not sure how to fix it yet. I’m not ready to move my entire live site to SSL, but I need to add some important calendar events soon– like real soon.
I could turn off SSL for a brief period of time, but I don’t want to do that every time I need to add an event.
Thanks for your help.
- The topic ‘Javascript Not Loading: Mixed Content Error when Admin is Forced SSL’ is closed to new replies.