Cornerstone preview not working on home url

Hi there

I hope you can help. I am getting the error below when I try to edit my home page, add a new page or change any of the X theme settings:

The preview could not load. This is most often related to a plugin conflict or aggressive page cacheing. Checking the developer console for errors could indicate what went wrong.

Origin URL: http://www.veracitydigital.tv

Preview URL: http://www.veracitydigital.tv

For all other pages the preview is loading correctly - please could you advise? I’ve turned off my caching plugin and deactivated every other plugin and this doesn’t make any difference. I’m running the latest versions of X and Cornerstone and have just applied to update to Pro but not happy to install this if I can’t edit the theme options.

Thanks in advance for your help

Best wishes

Sarah

Hello Sarah,

Thanks for asking. :slight_smile:

I see that you are using Pro Theme on the website. I am really sorry for the problems you are facing with Pro Theme. Further checking the website I see that you are using iThemes Security plugin. For the moment can you please deactivate the same and see if preview is working fine. Along with that please try out following solutions and let us know the outcome.

  1. Remove custom CSS and Javascript from the options or Child Theme and test the case.
  2. Increase the PHP Memory Limit of your server. Click here for more detailed information and how to increase the PHP memory limit.
  3. Make sure that you’re running at least PHP v7.0 or later to avoid any WordPress related incompatibility issues. If you’re not sure what your server configurations and settings are, install a plugin like WP-Serverinfo (https://wordpress.org/plugins/wp-serverinfo/) and check your server info by head over to Dashboard -> WP Serverinfo area. Please take a look at following page for service requirement. https://wordpress.org/about/requirements/
  • Check your PHP Max Execution Time and set it for 300 for optimal usage.

If you still have problems kindly get back to us with the result of the steps above and URL/User/Pass of your WordPress dashboard using the Secure Note functionality of the post to follow up the case.

Thank you.

Hi Prasant

Thanks so much for your reply. I’ve replied with a secure note.

Please let me know if you ned any further info

Best wishes

Sarah

Hi Sarah,

There is a javascript error originating from builder’s script but I can’t find what’s causing it as I can’t deactivate any plugin (it loops). Would you mind providing your FTP login credentials as well so I could deactivate them there?

Your site has 768mb memory limit which is more than enough. But please try upgrading your PHP to 7.2, it’s the new requirement of Wordpress core currently installed in your site. Please contact your hosting about the PHP upgrade for a proper upgrade along with its dependencies.

Thanks!

Hi Rad

Thanks for your help - I’ve sent a secure note with ftp details

Best wishes

Sarah

Hi Sarah,

It’s due to this htaccess entry

# BEGIN Rewrite by GoodCallConsultants
RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteCond %{HTTP_HOST} ^(www\.)?veracitydigital\.tv$ [NC]
RewriteRule ^$ https://www.veracitydigital.tv/%{REQUEST_URI} [R,L]
# END Rewrite by GoodCallConsultants

It creates redirect on your site, I went ahead and added # each line to disable it. The builder is now loading okay.

Cheers!

Thanks so much for your help Rad!

Have a gerat day

Sarah

Hey Sarah,

You’re welcome!
We’re glad @Rad were able to help you out.

Best Regards.

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