Mixed contents errors

  • Manohar Rao
    Manohar Rao
    Newbie
     
    15 points

    I have recently purchased and implemented SSL. As per advice of technical team, I installed Really Simple SSL plugin. It broke the website when first activated. I restored the website and again installed the same plugin. This time it worked, but the few of the mixed content error are still present due to stylesheet. Now Stylesheet can not be edited through editor, so how can I fix the errors? Here is the link to those error https://prnt.sc/jj2oqd.

    Somebody help me please to fix these errors.

    Thanks,
    M. Manohar Rao



    Janak
    Super Guru
     
    1,261 points

    Hi, what version of the theme are you using?


    Manohar Rao
    Manohar Rao
    Newbie
     
    15 points

    Thanks for your reply.

    Currently I am using 8.9.7 version. There is a issue here too, I want upgrade to next 9.1 version but the upgrade link is not appearing. At the dashboard, it is saying the theme is up-to date.

    I am facing this SSL issue for the past week or so. If PremiumPress allows me to edit the css file directly, then I can fix the issue right away but unfortunately, the theme does not allow me to edit anything in the css file.

    Manohar Rao


    Adnan
    Adnan
    Senior Member
     
    394 points

    @Manohar install a child theme, so you can make your own changes.

    v9 is a rewrite and if you upgrade it will break your website. I hope there will be a tool available for upgrade sometime this year.


    Manohar Rao
    Manohar Rao
    Newbie
     
    15 points

    Dear Adnan,

    Thanks for your advice.I will wait for the upgrade tool. Child theme will change the design of my website and hence can not install it.

    M. Manohar Rao


    Adnan
    Adnan
    Senior Member
     
    394 points

    Manohar, you are welcome.

    If you don’t want to install a child theme, then you need to change this file to solve your SSL problem:

    ./DT/templates/template_directory_theme/_functions.php

    Put here https for:

    wp_register_style(‘googleFonts’, ‘https://fonts.googleapis.com ….


    Mark Fail
    Mark Fail
    Super Guru
     
    12,322 points

    @Adnan, thanks for helping.


    Manohar Rao
    Manohar Rao
    Newbie
     
    15 points

    Sorry for my late reply as I was stuck with other work. I did tried the solution you mentioned but it is not working. Basically the problem is with fonts and googleapis as can be observed in this screen https://prnt.sc/jje62q. Rest everything is fixed.



    Janak
    Super Guru
     
    1,261 points

    There’s another http reference in this file, don’t know if changing this to https will help but worth a try maybe.

    class_colors.php in \DT\framework\class\


    Manohar Rao
    Manohar Rao
    Newbie
     
    15 points

    I finally fixed the issue. I directly edited style.css file in templates directory.

    Thanks to everybody, especially Mr. Adnan for taking time to help me.

    The trick is to find the file where the links are present and simply change http to https. I searched, each and every folder and file and finally hit the nail.

    Thanks once again to everybody.

    M. Manohar Rao


    Adnan
    Adnan
    Senior Member
     
    394 points

    Manohar, if you are using caching plugin please purge and clear your browser cache too.


    Adnan
    Adnan
    Senior Member
     
    394 points

    Manoha, you are welcome.


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

You must be logged in to reply to this topic.