Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1283802

    lily
    Participant

    Hi,

    I have encrypted Let’s Encrypt SSL and changed my cloudflare.com standalong account page rules as follows:

    1. http://*viktoriyaandoksana.com/* always use HTTPs
    2. http://*viktoriyaandoksana.com/*?cornerstone* Rocket Loader: Off

    I have installed SSL Insecure Content Fixer and Really Simple SSL wordpress plugins.

    And made all Settings > General > WordPress Address and Site Address set to https.

    My cornerstone does not stop loading in wordpress.

    Could you advise?

    SSL Implementation Breaks Cornerstone

    could you do this for me as well?

    Cornerstone not working with Cloudflare

    #1283803

    lily
    Participant
    This reply has been marked as private.
    #1284110

    lily
    Participant

    resolved by following by turning rockerloader OFF on cloudflare.com via the thread above.

    When I am in cornerstone, such as viktoriyandoksana.com/?cornerstone=1

    I am getting a mixed content error again, but when i’m out of cornerstone, I am not getting this error. Is that okay?

    Uncaught SyntaxError: Invalid or unexpected token
    https://viktoriyaandoksana.com/wp-content/uploads/2016/10/1449585545__close.png Failed to load resource: the server responded with a status of 404 ()
    viktoriyaandoksana.com/:1 Mixed Content: The page at ‘https://viktoriyaandoksana.com/golden-milk/?cornerstone=1’ was loaded over HTTPS, but requested an insecure image ‘http://viktoriyaandoksana.com/wp-content/uploads/2016/10/ANTI-AGING-HERBAL-GOLDEN-MILK02.jpg’. This content should also be served over HTTPS.
    viktoriyaandoksana.com/:1 Mixed Content: The page at ‘https://viktoriyaandoksana.com/golden-milk/?cornerstone=1’ was loaded over HTTPS, but requested an insecure image ‘http://viktoriyaandoksana.com/wp-content/uploads/2016/10/8-essential-plant-based-protein-sources-list.jpg’. This content should also be served over HTTPS.
    jquery.js:3 Mixed Content: The page at ‘https://viktoriyaandoksana.com/golden-milk/?cornerstone=1’ was loaded over HTTPS, but requested an insecure image ‘http://viktoriyaandoksana.com/wp-content/uploads/2016/10/8-essential-plant-based-protein-sources-list.jpg’. This content should also be served over HTTPS.

    #1284258

    Christian
    Moderator

    Looks like you haven’t redirected http to https. Please contact your hosting or a third party developer for assistance.

    Thanks.

    #1284770

    lily
    Participant

    they are redirected if you see the website. Everything is going through https:// EXCEPT for cornerstone.

    I did contact hosting and they told me to contact cornerstone

    #1284900

    Jade
    Moderator

    Hi Lily,

    You have two options whether to manually re add the images in Cornerstone so that the image source links will be the https URL or you can use the Better Search and Replace plugin to update all non https links and source files to https.

    You can find the plugin here: https://wordpress.org/plugins/better-search-replace/

    But before doing anything, please make sure that you have a complete backup of the entire site. Once you’re ready, you can try searching for http://viktoriyaandoksana.com and replace it with https://viktoriyaandoksana.com. You can tick the Run As Dry option at first so that no changes will be made just searching for a matching string. You can untick the option and run the search and replace again to make the final changes. Expectedly, all the http:// links in your website will be updated to https://.

    Again, please make sure to keep a full backup of your website before making any changes.

    Hope this helps.

    #1285090

    lily
    Participant
    This reply has been marked as private.
    #1285259

    lily
    Participant

    1. During the search/replace, 126 tables were searched, with 4796 cells changed in 4348 updates.

    2. switched cloudflare ON for the following:

    Automatic HTTPS Rewrites
    Automatic HTTPS Rewrites helps fix mixed content by changing “http” to “https” for all resources or links on your web site that can be served with HTTPS.

    these did not fix it.

    #1285589

    Rad
    Moderator

    Hi there,

    I checked and it’s working and loading. Maybe it’s cache, but there is an error that may causing it too. Please remove this code from your customizer’s custom javascript.

     (function(i,s,o,g,r,a,m){i[\'GoogleAnalyticsObject\']=r;i[r]=i[r]||function(){
      (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
      m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,\'script\',\'//www.google-analytics.com/analytics.js\',\'ga\');
    
      ga(\'create\', \'UA-49952085-1\', \'theme.co\');
      ga(\'send\', \'pageview\');
    
    jQuery( function($) {
    
    $(\'.variations select\').live(\'change\',  function () {
    
    var image = $(\'.woocommerce-main-image img\');
    image.removeAttr(\'width\');
    image.removeAttr(\'height\');
    image.attr(\'src\', image.attr(\'src\').replace(\'-50x50\',\'\') );
    
    } );
    
    } );
    
    jQuery( function( $ ) {
    
    $(\'.variations select\').live(\'change\', function() {
    
    $(\'.single_variation .amount\').removeClass(\'amount\').hide(0);
    
    setTimeout( function() { $(\'.single_variation .price > span\').addClass(\'amount\').show(0); }, 100 );
    
    } );
    
    } );

    Or simply remove the backslash as it causes token error.

    Thanks!

    #1286150

    lily
    Participant

    Hi Rad,

    thank you very much for your suggestion.

    I removed the code, but the error still persists.

    I clear all cache.

    It appears that mixed content error is appearing on pages with images, like this one:
    https://viktoriyaandoksana.com/?cornerstone=1

    even though I have 3 plugins installed that are supposed to force https://

    I still searching how to fix this.

    thank you

    #1286257

    lily
    Participant

    i’m referring to this: http://prnt.sc/dgyg4x

    #1286542

    lily
    Participant

    the green SSL lock icon disappears only when I’m logged onto WP-admin dashboard and editing the page with cornerstone and seeing mixed content.

    https://postimg.org/image/5g459ivg7/

    #1286686

    Rad
    Moderator

    Hi there,

    It should be okay now, the problem is that you have three cache plugin. And they cache each other’s cache, and no matter what you change, it will not gonna reflect since clearing cache will only regenerate another copy of cache from another plugin.

    I disabled all the cache plugin, but still the same. Is it okay if I disable the CloudFlare too? Would you mind switching it on Development mode?

    I did a database search for unsecured images and nothing found. It could be pulling the old data from cache.

    Thanks!

    #1286725

    lily
    Participant

    Hi Rad!

    Thank you very much for getting back to me.

    as per this post:

    Need Cornerstone fix for HTTPS

    i turned rocket off and i unchecked auto minify.

    I put my cloudflare.com account under development mode and also deactivated the plugin on my wordpress.
    https://postimg.org/image/4pkn5w6bz/
    https://postimg.org/image/fb4ihwcnj/

    I talked to cloudflare tech support and they told me let’s encrypt SSL should work with a free standalone cloudflare account. When I asked about cornerstone, they told me to contact my hosting or cornerstone.

    I have been in touch with the tech support from my hosting and they told me what I have already done.

    could you please check on your site if the problem still persists, because i’m still seeing that SSL is getting broken when I am editing a page in cornerstone.

    https://viktoriyaandoksana.com/?cornerstone=1
    please login to my WP dashboard first.

    is it okay if SSL is being broken when in cornerstone?
    https://postimg.org/image/5g459ivg7/

    Thank you

    #1287032

    Rad
    Moderator

    Hi there,

    As long as the front works okay, then it should be okay. There is no way a visitor or user could go to the backend. Though, since it’s working on the front then what’s on the back is probably just cache. I also did string search and unable to find it from your database.

    What I did is removed those images and re-added it again, that seems cleared the cache. And now mixed error are gone.

    Thanks!