Tagged: , ,

Viewing 15 posts - 1 through 15 (of 15 total)
  • #240143
    smete135
    Member
    Post count: 20

    After seeing the error message that some unsafe scripts weren’t loaded, I checked my inspector and saw this:

    Mixed Content: The page at ‘https://aponia.com.tr/’ was loaded over HTTPS, but requested an insecure script ‘http://f.fontdeck.com/s/css-ssl/js/aponia.com.tr/29651.js’. This request has been blocked; the content must be served over HTTPS.

    How can I resolve this without breaking anything?

    #240368
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please check it now and let me know your feedback.
    Thanks
    Mohammad

    #240381
    smete135
    Member
    Post count: 20

    Hi Mohammad, I don’t see anything different. What did you change?

    #240388
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Where did you insert code for fontdeck? Please provide me screenshot of error.
    Thanks
    Mohammad

    #240488
    smete135
    Member
    Post count: 20

    I didn’t insert any code. This is your theme in its default configuration.
    Screenshot attached.

    Attachments:
    You must be logged in to view attached files.
    #240510
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Try to check it again.
    Thanks
    Mohammad

    #240521
    smete135
    Member
    Post count: 20

    It’s gone now, thanks!

    #240734
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    You most welcome and glad to help you.
    Thanks
    Mohammad

    #241933
    unicco
    Member
    Post count: 7

    I’m receiving the same error on http://f.fontdeck.com/s/css-ssl/js/webshopudstyr.dk/29651.js, see attachment.

    Attachments:
    You must be logged in to view attached files.
    #241940
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Please open your htaccess file in the WP root. Inside this add:

    <FilesMatch ".(eot|ttf|otf|woff|svg)">
    	Header set Access-Control-Allow-Origin "*"
    </FilesMatch>

    Thanks.

    #241986
    unicco
    Member
    Post count: 7

    I’m using nginx

    #242001
    David Martin – Support
    Moderator
    Post count: 20834

    In that case:

    # nginx config
    if ($filename ~* ^.*?\.(eot)|(ttf)|(woff)|(svg)$){
    	add_header Access-Control-Allow-Origin *;
    }

    Thanks.

    #242023
    unicco
    Member
    Post count: 7

    Your nginx-conf wont execute; course it aren’t executeable – aren’t you trying things out, before replying?

    Guess you mean:

    location ~* \.(eot|ttf|woff|woff2|svg)$ {
        add_header Access-Control-Allow-Origin *;
    }

    But doesn’t work for http://f.fontdeck.com/s/css-ssl/js/webshopudstyr.dk/29651.js

    What is 29651.js? And why is it even using an external fontdeck reference? I’m unable to grep it from your sourcefiles.

    #242027
    unicco
    Member
    Post count: 7

    Maybe it’s due to Fontdeck is retiring, and the destinations aren’t available anymore?

    Fontdeck is Retiring

    Attachments:
    You must be logged in to view attached files.
    #242034
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    The code above is to help load the icon fonts over the https/http domain origin error you are seeing.

    The font deck JS code is part of their code they use to load in your fonts, it’s not something we control.

    Thanks,
    David.

Viewing 15 posts - 1 through 15 (of 15 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register