2015-08-26 36 views

回答

0

Chrome网上应用检查报告如下错误

Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/classie.js'. This request has been blocked; the content must be served over HTTPS. 
Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/modalEffects.js'. This request has been blocked; the content must be served over HTTPS. 
Mixed Content: The page at 'https://fmsc.org/15-mn-gala-pre-gala-content-test' was loaded over HTTPS, but requested an insecure script 'http://www.fmsc.org/file/modernizr.custom.js'. This request has been blocked; the content must be served over HTTPS. 

这意味着你要加载HTTP页面上资源上HTTPS送达,一个办法解决它是使用相对路径到服务器根目录使用/file/modernizr.custom.js而不是http://www.fmsc.org/file/modernizr.custom.js(例如)

+0

你太棒了!非常感谢。并认为我正在测试几个小时......现在它就像一个魅力。 –

+0

大多数现代浏览器都有一个“Web检查器”或“Web开发人员”工具,它们可以显着提高您的故障排除速度 – dvhh