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

    GamerJota
    Participant

    Hey there!
    The following problem started to happen with Cornerstone, when loading the Cornerstone editor I get the following two errors on console:

    POST http://www.example.com/cornerstone-endpoint?action=cs_setting_sections 404 (Not Found)
    POST http://www.example.com/cornerstone-endpoint?action=cs_templates 404 (Not Found)

    So the settings and templates doesn’t loads.

    And when trying to add any element into a section the following happens on an infinite loop reloading the page:

    POST http://www.example.com/wp-admin/admin-ajax.php?action=cs_render_element 403 (Forbidden)
    Could not reach render endpoint. Attempting fallback...
    POST http://www.example.com/wp-admin/admin-ajax.php?action=cs_legacy_ajax 403 (Forbidden)
    POST http://www.example.com/wp-admin/admin-ajax.php?action=cs_render_element 403 (Forbidden)
    Unhandled AJAX error.

    I checked for errors in Apache and weird enough there are none for the above.
    Cornerstone was working fine before the recent updates, seriously no idea why this started to happen and also there haven’t been changes in the server, seriously need help on this one.

    Running on Amazon Beanstalk and using W3 Total Cache with CloudFront as CDN with an Origin Push config.

    Any ideas?
    Thanks!

    #783976

    Thai
    Moderator

    Hi There,

    Sorry to hear that your site is having the issue.

    Could you please update the permalink settings and then try again?

    If it doesn’t help, 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 login to your site
    – WordPress Admin username / Password

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

    Thanks.

    #784129

    GamerJota
    Participant
    This reply has been marked as private.
    #784550

    Rue Nel
    Moderator

    Hello There,

    Thanks for providing the login information. Please try re install Cornerstone. There might be some files that were corrupted during the updates. Or it could be a caching issue since you have installed a caching plugin W3 Total Cache, please clear your plugin cache first and test your again. I also notice that you are using CloudFlare. The Cornerstone builder takes place on the front end, so sometimes CloudFare tries to cache its resources. This can cause stale data to be loaded. To resolve this, you’ll need to disable Cloudfare when the builder is in use. This won’t effect front end performance at all.

    1. Log into CloudFlare and navigate to “Page Rules”
    2. Add a new rule using this URL pattern: *.example.com/*?cornerstone=1
    3. Under custom caching, enable “Bypass cache”
    4. Turn Performance “Off”

    If you’re still having issues editing a page, you may need to login to Cloudfare again and purge the cache.

    Hope this helps. Kindly let us know.

    #784571

    GamerJota
    Participant

    Hello again!
    I already tried clearing the cache and reinstalling Cornerstone several times.
    Also I already had that CloudFlare rule in effect.
    Any other ideas of what it could be?
    Thanks!

    #784841

    Paul R
    Moderator

    Hi,

    You can try this third party plugin – https://wordpress.org/plugins/cloudflare-rocket-loader-ignore/

    If that doesn’t work there could be another plugin that is in conflict.

    You could try testing by deactivating all third party plugins, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can narrow down which one by reactivating them one at a time.

    Thanks

    #798344

    josealb
    Participant

    I am having this same problem on my website. Did you find a solution?

    #799157

    Christian
    Moderator

    Hey there,

    Please try the suggestion given previously. This issue is mostly due to incorrect server or WordPress setup. You may wish to consult a developer to assist you with this.

    Thanks for understanding. Take care!