I am getting a little shield warning me that my checkout page is trying to load scripts from unauthenticated sources.
I am guessing that some file(s) are being loaded via http instead of https, os some other similar error?
How do I find out which script(s) are being incorrectly loaded?
1 Answer 1
Most browsers have a console that opens with F12. There you should see detailed error messages like this:
Mixed Content: The page at 'https://www.example.com/' was loaded over HTTPS, but requested an insecure image 'http://example.com/media/image.jpg'. This content should also be served over HTTPS.
Most likely this comes from an extension/theme that either does not use Mage::getBaseUrl() properly or includes external scripts over HTTP (like for tracking)
If such external scripts are also available via HTTPS, you should search for them in the code (XML or PHTML files) and change the URLs either to https://example.com/... (to always use HTTPS) or to //example.com/... (to use the same protocol as the current page)
-
Thanks, I had to use ctrl alt J to access the console, but this enabled me to identify the problem. Now I'm after the solution though!Atomic– Atomic2015年07月12日 23:29:50 +00:00Commented Jul 12, 2015 at 23:29