You need to be logged in to post in the forum - Log In

An active JCE Pro Subscription is required to post in the forum - Buy a Subscription

Support is currently Offline

Official support hours
Monday to Friday
09:00 - 17:00 Europe/London (BST)

Please create a new Ticket and we will get back to you as soon as we can.

#116131 Mixed content: Blank page on main article image upload

Posted in ‘Editor’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Latest post by Ryan on Sunday, 11 February 2024 14:49 GMT

jeanphillippe
Hello! I am struggling with an issue on the "Images and links" tabs of any article, when I try to select an existing image by using the JCE media manager it returns a blank page inside the modal. Seeing the console, it returns a mixed content error like this:
Mixed Content: The page at 'https://domain.com/administrator/index.php?option=com_content&view=article&layout=edit' was loaded over HTTPS, but requested an insecure frame 'http://domain.com/administrator/index.php?option=com_jce&task=plugin.display&element=jform_images_image_intro&converted=1&mediatype=images&context=19&plugin=browser&standalone=1&615a391424988b403305b74f0da0befe=1&client=1'. This request has been blocked; the content must be served over HTTPS.


configuration.php live_site is set up with HTTPS at the beginning, but somehow it's still requesting for the HTTP link?
Also, If I change settings to use the default J! image manager for that, it works just fine so I incline to think its a JCE issue.

Updated Joomla and JCE to the latest version, but the problem still persists, do you know what can be happening?
Thanks in advance

Attachments

Ryan
Please send me a login - https://www.joomlacontenteditor.net/contact/site-login

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

Ryan
There appears to be an https configuration issue on your site. After trying to login to the admin, I get an https warning from the browser, and continue to get warnings when trying to navigate around the admin area, creating an article etc.

https://cdn.joomlacontenteditor.net/tmp/116131-mixed-content-blank-page-on-main-article-image-upload.jpg

Allowing the browser to continue in http mode works, with the Image & Links File Browser working, but I don't think this resolves the issue.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.

jeanphillippe
Well that seems weird, havent encountered any of that warnings (screen attached), also considering that the issue is only presenting in the image manager with JCE enabled. So far I solved it myself by rewriting any http: link via .htaccess adding the line:

Header always set Content-Security-Policy "upgrade-insecure-requests;"
So thanks anyway, but would be great to know WHERE the modal is calling the url of the first message screenshots. Have a great day!

Attachments

Ryan
also considering that the issue is only presenting in the image manager with JCE enabled.


No it's not. I got the warning after logging into the admin area, before I did anything else.

Ryan Demmer

Lead Developer / CEO / CTO

Just because you're not paranoid doesn't mean everybody isn't out to get you.