2015-08-26 90 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