• Resolved j

    (@julicheng)


    Hello,

    I am trying to test the fontsampler on one of my pages but when I preview the page on any browser the fontsampler does not appear. When I inspect the element of where the fontsampler should be placed, there is an invisible outline of the elements (just white).

    I’ve looked in the console and it says there is mixed active content because of a font I have uploaded. The console says: ‘ (fontsampler plugin and my page) was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ‘(font file upload that is causing the trouble)’ This request has been blocked; the content must be served over HTTPS.’

    Is there a solution to this to make it serve over HTTPS as I’m guessing the problem is because the file is HTTP? I’m not too sure. Hope you can help.

    Many thanks.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author kontur

    (@kontur)

    Hey!

    By default Fontsampler just uses the asset paths WordPress provides, so https is not a problem specific to Fontsampler – or so is my working assumption, since I have myself sites running over https that use Fontsampler without generating any warnings.

    Do you have the page online somewhere for me to take a peek? If not public, you can also email me at [email protected].

    A couple of other questions:
    – How have you set up ssl on your site?
    – In the WordPress settings (or in your wp-config.php, if set as constants) what are the values for your site URL?
    – Do you get any other assets as http, like when you add media like an image to a post or page and view that page?
    – Are you using any https rewrite or any caching plugins that perform protocol rewrites for you?

    Plugin Author kontur

    (@kontur)

    And also, what version of WP and Fontsampler are you using?

    Plugin Author kontur

    (@kontur)

    After getting more info this appears to not be a Fontsampler specific problem. Generally make sure all media gallery uploads have a https URL in the media gallery when serving your site over https.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fontsampler not showing up because of “mixed active content”’ is closed to new replies.