gmc Posted August 23, 2019 Share Posted August 23, 2019 My home page is not secure. When I inspect the page It shows a mixed content error. Mixed Content: The page at 'https://homepage.com/' was loaded over HTTPS, but requested an insecure image 'http://www.homepage.com/admin_abcxyz.php?_g=filemanager&mode=fck&CKEditor=doc-content&CKEditorFuncNum=1&langCode=en'. This content should also be served over HTTPS. How do I fix this this. I can not find the PHP file to edit. Link to comment Share on other sites More sharing options...
bsmither Posted August 23, 2019 Share Posted August 23, 2019 Welcome gmc! Glad to see you made it to the forums. So, what you did was to ask the CKEditor to open a means to select an image that you are wanting to add to the document you are editing. From the editor's Image Properties dialog, you clicked "Browse Server". In the file /includes/ckeditor/config.js, there is this: config.filebrowserBrowseUrl = document.location.pathname+'?_g=filemanager&mode=fck'; The value for document.location.pathname should be simply /admin_aBcXyZ.php (where aBcXyZ is specific to your site). Please double check that statement in that file. Link to comment Share on other sites More sharing options...
gmc Posted August 23, 2019 Author Share Posted August 23, 2019 bsmither Thanks for responding. Your way looks interesting . I did not edit the config.js file. Only because I was playing around in the admin panel and found under documents, edit the home page, went to content, and selected source. Change the the text from http to https and it worked. For what every reason it was hard coded there. <p><a href="https://images/source/asset_03.png"><img alt="" src="/images/source/home.png" style="width: 852px; height: 595px;" /><img alt="" longdesc="www://home.com/images/source/asset_03.png" src="asset_3.png" /></a><img alt="" src="https://www.home.com/admin_abcxyz.php?_g=filemanager&mode=fck&CKEditor=doc-content&CKEditorFuncNum=1&langCode=en" /></p> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.