Page loads in Cornerstone but not in normal view

Hi, I have an odd issue.

I built a page on a demo site, saved it as a template, exported it, loaded it into a live site, saved the template on the new page, added the CSS.

In Cornerstone, everything loads fine.

When I save and take a look at the actual page, its blank. Only the header and footer.

If I take out the some of the sections on the template, the page works.

If I add in a new section with just some text in, the page loads with the change.

If I then re-build the sections I deleted on the live site, the whole page doesn’t load.

I remove them, the page loads.

If I add in a new section, add in some text AND a headline, the whole page doesn’t load.

To re-cap, its always fine in Cornerstone, just messes up on the actual page.

All themes and WP versions are up to date. All works fine on the demo site.

No JS errors on the blank page.

Please help as it makes no sense.

Hi There,

thanks for writing in!
Its difficult to understand the issue without checking it. As we don’t have access to your siteI only can suggest you some fixes to check the reason of the issue.

Incorrect setup of SSL. If you have an SSL certificate on your site. You should have the WordPress Site URL and Address URL settings set to HTTPS if you are loading the builder via HTTPS. This can be checked via your wp-admin > general > settings. If you aren’t using SSL you can ignore this step.

Caching. If you have a caching plugin activated or any form of server side caching please disable it to test for any possible conflicts. If you have server side caching or aren’t sure if you do, your host should be able to advise of this and disable it for testing purposes on your account.

Cloudflare. If you are using Cloudflare please disable this for testing purposes. Cloudflare by default enables an auto minification function to compress the JS and CSS files of the theme. As the theme already serves minified files, re-minifying said files only causes to break the entire site.

Custom code syntax error. If you have a child theme, please enable the child theme and check if the issue still exists. If you have entered any custom JS or CSS into their respective editors. Please review the code for any syntax errors. A mis-placed semi-colon or a missing bracket will cause the issue you’re seeing.

If you could please try the above and if you still have the issue we’d be more than happy to assist.

Please provide following information:
Set it as Secure Note

  • Link to your site
  • WordPress Admin username / password
  • FTP credentials
    All the best!

Thanks for getting back to me :slight_smile:

CloudFlare isn’t installed on this site, SSL is all ok and addresses for site and WP are the same with https.

Custom code is all ok, as all pages would have issues if so. I also have some CSS in there but removing that doesn’t solve the issue.

I disabled caching plugins but that didn’t do it.

I have noticed though, that Cornerstone is shown as not activated, though is working in the backend.

I am seeing this error now, that I didn’t see before:

{“status”:400,“error”:“BadRequestError: Missing content-type”}

Hi There @techwhisperer

I have tried to login to your site, but I’m getting the following error.
ERROR: Invalid username.

Could you please confirm with the correct information, so that we can look into your issue.

In the meantime, also check your PHP version running on your server and make sure to use PHP 5.6.x or later to avoid possible incompatibility issues.

Further, you can enable WP_DEBUG mode on WordPress by following this guide (https://codex.wordpress.org/WP_DEBUG) and then re-visit your page to see if you’re getting any PHP errors.

Thanks!

Sorry! My bad, forgot to hit save

Can you try to login again?

Debug also activated

Hello @techwhisperer,

Thanks for updating the thread. :slight_smile:

I saved the page as template and exported the same. Then I imported to my local dev setup and it’s working fine. Next, I created a test page and imported the same template in that. Thought the import was successful, on frond end it was not working.

Next I cleared cache and then deactivated plugins. It seems to be a plugin conflict issue as upon deactivating plugins, on front end page is working fine. So I suggest you to test for a plugin conflict. You can do this by deactivating all third-party plugins, and see 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.

Cheers :slight_smile:

It was the Enlighter Syntax Highlighter Plugin.

Thanks for all your help!

We are delighted to assist you with this.

Cheers!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.