Cornerstone: preview could not load

Hi there,

I’m having an error when I load cornerstone:

"The preview could not load due to the iframe response being incomplete. This is most often related to a plugin conflict, or customizations introducing a PHP error.

Origin URL: http://websitename.com

Preview URL: http://websitename.com/"

I then hit the “Retry” and the message appears again…

Right now I only have WPML, Cornerstone and Slider Revolution plugins enabled.

I have no caching plugins installed also.

Any Idea?

Thanks

Hi There,

Thanks for writing in! Please make sure that you’re fully updated including X theme and Cornerstone. You can check the latest version numbers from here (https://theme.co/apex/forum/t/troubleshooting-version-compatibility/195).

Then follow the troubleshooting guide below to isolate your issue.

First of all, try re-generating your permalink settings and see if that is related to your .htaccess file.

  • Check your permalink settings (General -> Permalinks) and set Postname save changes to re-create your .htaccess file.

Then the next possible issue would be that you’re running out of your memory. You can try increasing your PHP Memory limit. You can do this by editing your wp-config.php file which can be located under the root of your WordPress installation.

Add the following lines into that file.

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

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

Then check your server configurations.

  • Make sure that you’re running at least PHP v5.6.x 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.
  • Check your PHP Max Execution Time and set it for 120 or higher for optimal usage.

Let us know how it goes.
Thanks!

Hi there,

i checked all the items and they are ok except for: max_execution_time = 30 (MAXIMUM in seconds)
that is one of the PHP Settings that Cannot be Changed when using Hostgator

changed the wp-config.phpwith new the Memory Limit and Max Memory Limit

PHP v5.6.30
X Theme: | Version: 6.0.4
Cornerston: 3.0.4
Sliderrevolution: Versão 5.4.7.1

As I said, I only have Cornerstone, Slider Rev and WPML enabled.
I did not use CloudFlare.

Before, when I had more plugings enabled, I could load Cornerstone. Sometimes this problem were happening but after hiting “Retry” the page was loading… now, with almost no plugin it’s not loading anymore…

any other idea?

Thanks

Hello @apxds,

Thanks for asking. :slight_smile:

Another support staff here.

I checked your website and don’t see any issues that might throw the PHP related error message. However, I noticed that the home page of website is showing blank page https://cl.ly/3k0E3k14071O. Most probably you’re getting a PHP fatal error. Please change the following line of code in your wp-config.php file to enable WP_DEBUG mode.

define('WP_DEBUG', true);

When you re-visit your website, you will see detailed error messages which will help you to identify the issue.

Along with that please share FTP details in a secure note for us to take a closer look.

Thanks.

Hello @Prasant

The blank page is because the website is under construction (I temporarily deactivate the “Under Construction” plugin) and I put a empty index.html. So there is no problem about this.

sending the secure note

Thanks

Hi There,

I have investigated this issue further. When you have utilized decent number of Cornerstone elements in a page, you also need to increase PHP max script execution time so that it will output the page correctly.

Please contact your hosting provider and ask them to increase PHP max execution time to 120 and test your issue again.

Thanks!

Hi @mldarshana,

ok, changed to 120, but the problem continues.

any other idea?

Thanks

Hi There,

I was able to open a new test page on Cornerstone, so this seems to be an issue with a translated page.
Would you mind changing your translated page URL format? To do this navigate to WPML > Languages > Language URL Format and choose the first option.

Then navigate to Settings > Permalinks and just save, to reset your permalinks.

Hope it helps,
Cheers!

Hi there,

ok, I changed the WPML and permalinks settings but the main page, the only page, is still with the same problem.

If I create another page cornerstone works.

So I will have to create another new page, with the same content, for cornerstone to work?

Thanks

Hello @apxds,

Thanks for updating the thread. :slight_smile:

Actually there is no need to recreate the page. You can save the layout as template and then import it again. I tried doing so and in the problem occurs only in the translated version of the page.

Can you please try installing the Transient Cleaner plugin https://en-ca.wordpress.org/plugins/artiss-transient-cleaner/.

  1. Install Transient Cleaner
  2. Navigate Dashboard -> Tools > Transients
  3. Set Clear Expired Transients > Enable
  4. Select Run Now
  5. Set Remove All Transients > Enable
  6. Set Remove All Transients > Optimize Afterwards
  7. Select Run Now
  8. Recheck Cornerstone.

Please let us know how it goes.

Thanks.

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