Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #620627

    cspiegl
    Participant

    Hello Support – did not think to write in here so quickly after installing the theme to my new site but I noticed two problems with Cornerstone and the Visual Composer.

    My site is fully https. Please take a look and I hope you can help me with these problems:

    Cornerstone:

    • x-head.min.js?ver=4.1.1:1 Uncaught TypeError: c.hoverIntent is not a function

    Visual Composer:

    • post.php?vc_action=vc_inline&post_id=18&post_type=page:1 Mixed Content: The page at ‘https://crispexplainervideos.com/wp-admin/post.php?vc_action=vc_inline&post_id=18&post_type=page’ was loaded over HTTPS, but requested an insecure stylesheet ‘http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800&subset=cyrillic,latin,greek’. This request has been blocked; the content must be served over HTTPS.
    • shortcodes_builder.js?ver=4.7.4:74 Uncaught TypeError: vc.frame_window.jQuery is not a function
    • x-head.min.js?ver=4.1.1:1 Uncaught TypeError: c.hoverIntent is not a function

    Plugins I am running other than X installed:

    • CloudFlare
    • Sunny (Connection CloudFlare and WordPress)
    • Google Analytics by Yoast
    • InfiniteWP – Client
    • iTheme Security

    Hope you can help fast,

    Chris

    #620713

    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password
    – FTP credentials

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #622975

    cspiegl
    Participant
    This reply has been marked as private.
    #622996

    Jack
    Keymaster

    Hi there Chris,

    Thanks for writing back, I’ve just checked the issue and from my test it looks like it’s being caused by cloudflare.

    Can you just try disabling both cloudflare and the cloudflare connection plugin so we can further debug? πŸ™‚

    Thank you! πŸ™‚

    #623004

    cspiegl
    Participant

    I set CloudFlare into Development mode – making it bypass all the caching and stuff.
    Also I disabled the Plugin and CloudFlare Plugin in WordPress and the Rocket Loader (Javascript Loading setting in CloudFlare).

    Let’s see if that helps?

    #623037

    Paul R
    Moderator

    Hi Chris,

    Upon checking, I can no longer see the error.

    Cloudflare is known to cause an issue with cornerstone.

    To prevent this, kindly do the following.

    1) Login to CloudFlare and go to Page Rules
    2) Create a new page rule
    3) In the page rule link put: *yourdomain.com/*cornerstone=1* Type this exactly how it’s seen including the * and replace yourdomain with the name of your domain
    4) Leave everything the same but change settings:

    Custom Caching: Bypass Caching
    Browser cache expire TTL: 30 minutes
    Always Online: OFF
    Performance: OFF

    If this doesn’t work, try tinkering and turning some more settings off.

    Hope that helps.

    #623040

    cspiegl
    Participant

    Ok, I will try to get this rule in as well (I already have 3 rules πŸ™ ). But this will have to work.
    Thanks for the help.

    #623059

    Christopher
    Moderator

    Let us know how it goes.

    #623406

    cspiegl
    Participant

    It works with the Page Rule. Problem is that a free cloudflare account only has 3 free page rules. Now it’ll be interesting to find a way to make WordPress work nicely with just 3 rules.

    I use rules on the wp-admin (no caching and stuff) the “preview=true” and then also a “cache everything” on the rest of the page (because otherwise some content is not cached by CloudFlare). Probably will have to replace the “preview=true” rule with the “cornerstone=1” one for development – and remember to set it correctly once I want to make changes to it.

    #623516

    Jack
    Keymaster

    Hi there Chris,

    Glad to hear it works with the page rule in place, unfortunately I think 3 rules wouldn’t be enough taking into account not only Cornerstone, but also other plugins, I myself use cloudflare and have 5 rules setup on a paid plan.

    Let us know if we can assist at all. πŸ™‚

    Thank you!