Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1076943
    Nic Design
    Participant

    I used to be able to get this to work so I don’t know if it’s because of an update with X/Cornerstone or if it’s because of the new changes to how Cloudflare handles it’s page rules but I no longer can get Cornerstone to work with Cloudflare. I’ve reviewed other post with similar issues and have added a page rule for *nicdesign.ca/?*cornerstone=1* and turned off Rocket Loader, disabled security, set the browser cache TTL to 30 min and cache level to bypass, and set always online to off but still no luck. It just says uh oh switching to skeleton mode. Please have a look at my site and tell me what I am missing.

    #1076947
    Nic Design
    Participant
    This reply has been marked as private.
    #1077498
    Rad
    Moderator
    This reply has been marked as private.
    #1078567
    Nic Design
    Participant
    This reply has been marked as private.
    #1079031
    Rue Nel
    Moderator

    Hello There,

    I did some further investigation. I noticed that you are using PHP version 5.5.35 and WordPress 4.5 requires at least 5.6 (https://wordpress.org/about/requirements/). This could possibly be the cause of the issue. In most cases you cannot update your PHP version yourself and need to contact your host about this. The upgrade process is an easy process and should be something your host can do for you without affecting your website or charging you for it. Here’s a letter you can send to your hosting company:

    Dear host,
    
    I\'m interested in running the open-source WordPress <https://wordpress.org/> web software and 
    I was wondering if my account supported the following:
    
    - PHP 5.6 or greater
    - MySQL 5.6 or greater
    - The mod_rewrite Apache module
    
    Looking forward to your reply.

    And another thing, you maybe experiencing PHP memory limit exhaustion. I recommend that you increase your memory allocated to PHP. To increase it, please edit your wp-config.php file and insert these lines:

    define( 'WP_MEMORY_LIMIT', '256M' );
    define( 'WP_MAX_MEMORY_LIMIT', '512M' );

    You can add it before the line
    /*That's all, stop editing! Happy Blogging. */

    We would loved to know if this has work for you. Thank you.

    #1080525
    Nic Design
    Participant

    Thank you. I will contact my hosting and let you know if that resolves the issue.

    #1080551
    Nico
    Moderator

    Feel free to let us know how it goes.

    Thanks.

    #1082077
    Nic Design
    Participant

    My hosting does not have php 5.6 available yet but say they will have it available in the near future so I can’t tell you if that solves the issue yet but I found that if I turn off Rocket Loader in Cloudflare everything works fine but I would rather only have Rocket Loader turned off for Cornerstone instead of having to disable it for the entire site. I have a page rule to turn off Rocket Loader for Cornerstone (as you can see in the screenshot from my July 8 reply) but it doesn’t seem to be taking effect. Is this the correct URL that I should be using for my page rule:

    *nicdesign.ca/?*cornerstone=1*

    #1082578
    Friech
    Moderator

    Hi There,

    Not good, WordPress requires PHP and MySQL version 5.6 or greater (https://wordpress.org/about/requirements/).

    Please try updating your page rule pattern to this:

    *nicdesign.ca/*?cornerstone=1*

    And make sure you “Bypass cache” is enable. After updating the rule, place clear your CloudFlare cache (Purge Everything)

    Let us know how it goes.

    Thanks.

    #1083852
    Nic Design
    Participant

    I updated the page rule pattern and already had cache set to bypass. I just get:

    Uh oh!
    An unidentifiable error is preventing the live preview from loading. Switching to Skeleton Mode.

    #1084645
    Paul R
    Moderator

    Hi,

    Please try installing transient cleaner plugin.

    Transient Cleaner

    Then go to transient cleaner settings check the clean now check boxes and click on save changes.

    Hope that helps.

    #1085626
    Nic Design
    Participant

    I tried installing Transient cleaner and got this message:

    An external object cache is in use so Transient Cleaner is not required. Please disable the plugin!

    When I try going into the settings for the plugin anyway it gives me this error:

    You do not have sufficient permissions to access this page.

    I can still only use skeleton mode in Cornerstone.

    #1086378
    Rad
    Moderator

    Hi there,

    Your hosting won’t allow it, and that means it has external transients/caching you can’t control.

    The source code still shows that the rocket loader is still active. I really can’t tell why as we’re not familiar how your Cloudflare set them up. Maybe you could contact them and see if you can find some information about the page exclusion for rocket loader.

    Thanks!

    #1087795
    Nic Design
    Participant

    I figured out the issue! Because I was testing editing posts with Cornerstone and not actual pages the url in the page rules of Cloudflare needed to be *nicdesign.ca/*/*?cornerstone* because of the post categories. So because my post was http://nicdesign.ca/uncategorized/test-post/?cornerstone=1 the url needed to include the extra /* to compensate for the post category where parent pages would only require *nicdesign.ca/*?cornerstone=1*. This would probably also apply to sub pages. Seems so obvious now that I figured it out. Hope this will help out others with similar issues.

    #1088163
    Paul R
    Moderator

    Hi,

    Glad you were able to figure it out.

    Have a nice day! 🙂

  • <script> jQuery(function($){ $("#no-reply-1076943 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>