Enclavely / tailor

Build beautiful page layouts quickly and easily using your favourite WordPress theme.
https://www.tailorwp.com
GNU General Public License v3.0
1.05k stars 102 forks source link

Mixed Content Error #80

Open pgrapes opened 7 years ago

pgrapes commented 7 years ago

Hi,

When I upload a custom icon font and can't seem to avoid a mixed content error when the site is served https. It is the path to the icon font.

andrew-worsfold commented 7 years ago

Hi @pgrapes -

Testing locally on https I am unable to reproduce the problem. Would you be able to shed some light on the steps to reproduce?

Cheers, Andrew.

pgrapes commented 7 years ago

The error is only in admin. And seems to occur for any uploaded icon pack. The included dashicons are fine.

screen-01

Also, when I add a background image to a section, it is fine in admin but the front end shows 'insecure image' mixed content.

Everything else seems to load over https fine.

Cheers

m9n commented 7 years ago

I'm currently getting this too (on the front-end and back-end). I'll leave my website here for a day or two, but I'll need to use an alternative to Tailor's icon plugin if I can't find a fix soon: https://minanielsen.net/

Steps to get to this:

  1. I put the site together without HTTPS, using icomoon to create the icon font file.
  2. I swapped the site over the HTTPS just now, using the Really Simple SSL plugin.
  3. This was when icomoon fonts stopped loading, as you can see from the link above.
  4. I tried using the Insecure Content Fixer plugin, but even on it's strongest setting it didn't fix this issue.
  5. I've also double checked the Site URL settings and they're set to use https://
  6. Finally, I used InterconnectIT's search/replace tool to replace all instances of http://minaetc with https://minaetc. I also deleted and re-uploaded the font file at this point. So I can't see how there can be any trace of any settings without https left, but I'm still getting the mixed content warning.

I'm baffled.

[edit] I should add - all this on completely upgraded WP core and plugins, as of today.

m9n commented 7 years ago

I've needed to update my site to fix the icon issue, so I've used Shortcoder to make temporary shortcodes to supply Font Awesome icons (which are included in my theme anyway). I can still demo the problem, as the icon picker tools Tailor provides show squares instead of characters from my icomoon font, and I can see the mixed content warning.

Would be good to try to figure out what's causing this issue for me, but not sure what else I can try. But at least I've got a workaround for now so I'm not looking stupid to the public :)