MyBB Community Forums

Full Version: Mixed Content from index.php
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I have a website I just transferred to my server, and I am using cloudflare SSL (with the manager plugin). We've resolved all other mixed content, except this one: 

"Mixed Content: The page at 'https://eternal-rpg.com/index.php' was loaded over HTTPS, but requested an insecure image 'http://eternal-rpg.com/index.php'. This content should also be served over HTTPS."

I've scoured the index templates, headerinclude, footer, etc. Haven't found anywhere where index.php was hard linked as "http". 

MyBB version: 1.8.13 

Is there anywhere in this older version where the index is hard linked? 

Thanks, 
Elise
(2018-08-04, 11:05 PM)tamme Wrote: [ -> ]Hello,

I have a website I just transferred to my server, and I am using cloudflare SSL (with the manager plugin). We've resolved all other mixed content, except this one: 

"Mixed Content: The page at 'https://eternal-rpg.com/index.php' was loaded over HTTPS, but requested an insecure image 'http://eternal-rpg.com/index.php'. This content should also be served over HTTPS."

I've scoured the index templates, headerinclude, footer, etc. Haven't found anywhere where index.php was hard linked as "http". 

MyBB version: 1.8.13 

Is there anywhere in this older version where the index is hard linked? 

Thanks, 
Elise

Your footer is full of http links

<div id="affiliates">
(2018-08-04, 11:05 PM)tamme Wrote: [ -> ]Hello,

I have a website I just transferred to my server, and I am using cloudflare SSL (with the manager plugin). We've resolved all other mixed content, except this one: 

"Mixed Content: The page at 'https://eternal-rpg.com/index.php' was loaded over HTTPS, but requested an insecure image 'http://eternal-rpg.com/index.php'. This content should also be served over HTTPS."

I've scoured the index templates, headerinclude, footer, etc. Haven't found anywhere where index.php was hard linked as "http". 

MyBB version: 1.8.13 

Is there anywhere in this older version where the index is hard linked? 

Thanks, 
Elise

Ashley answered your question.

But...

Why haven't you upgraded to MyBB 1.8.17?
(2018-08-04, 11:42 PM)Ashley1 Wrote: [ -> ]Your footer is full of http links

<div id="affiliates">

This wouldn't cause the mixed content error I am getting. Linking out to an "http" website is different than calling content from an HTTP resource. This error is specifically calling an "image" that is actually a php file. 

-- Also, I just got this site on my server, like I said? I am not upgrading until I can isolate bugs. I don't want to carry bugs over with an upgrade. I am also waiting for the DNS to resolve.

(2018-08-05, 02:22 AM)tamme Wrote: [ -> ]
(2018-08-04, 11:42 PM)Ashley1 Wrote: [ -> ]Your footer is full of http links

<div id="affiliates">

This wouldn't cause the mixed content error I am getting. Linking out to an "http" website is different than calling content from an HTTP resource. This error is specifically calling an "image" that is actually a php file. 

-- Also, I just got this site on my server, like I said? I am not upgrading until I can isolate bugs. I don't want to carry bugs over with an upgrade. I am also waiting for the DNS to resolve.


Found the issue. There was a link that was "hard-linked" to an old URL stuck in a random .css file. It was pointing to the old host which didn't have SSL. 

*** As a sidenote if anyone else views, you can link out to http without messing with your SSL certificates. Just make sure that all images are https! Cloudinary is a great free CDN (bandwidth capped) you can use.