Cornerstone preview no long working

Just upgraded to latest version of X theme 5.2.5 and Cornerstone 2.1.7. Since then page preview in Cornerstone is not working on some but not all pages. Having done a quick scan of the support forum this seems to be an issue affecting a lot of end users however there doesn’t seem to be a common fix/solution.

The page throws a jquery.js:4 POST https://commnet.ac.uk/5g-air-interface-home/ 500 (Internal Server Error)

and if you view the server error log it relates to the following JS.

Error Log Snippet
[Wed Nov 22 09:33:19.638091 2017] [access_compat:error] [pid 27146:tid 139898187110144] [client 143.167.254.160:58467] AH01797: client denied by server configuration: /home/commnetac/public_html/wp-content/plugins/cornerstone/assets/dist-app/css/cs.css.map
[Wed Nov 22 09:33:19.633834 2017] [access_compat:error] [pid 27148:tid 139898176620288] [client 143.167.254.160:40035] AH01797: client denied by server configuration: /home/commnetac/public_html/wp-content/plugins/cornerstone/assets/dist-app/js/cs.map
[Wed Nov 22 09:33:19.604059 2017] [access_compat:error] [pid 27145:tid 139898155640576] [client 143.167.254.160:29539] AH01797: client denied by server configuration: /home/commnetac/public_html/wp-content/plugins/cornerstone/assets/dist-app/js/cs-vendor.map

Therefore would you please investigate and advise how this can be fixed please. We are in the middle of creating content to launch various microsites under this site and at the moment we can’t edit and finish these pages.

Thanks,
Mark

Hi Mark,

Please try removing Cornerstone and re-installing it.

Before doing that, in case you have any cache plugins make sure to flush the cache and turn them off during the development process.

If the issue persists, please provide your Wp Admin credentials in a secure note.

Thank you

I have just done everything you suggested and unfortunately the problem still exists.
Info. requested to follow now.

Please investigate and advise how to fix.
Thanks

Hello There,

Thank you for providing the information. I have logged in and edited one of your pages in Cornerstone. I can confirmed that it is not loading. Upon taking a closer look, I found out that there is a fatal error behind the preview.

Could you please enable the debug mode? You can do this by opening wp-config.php and adding this

define('WP_DEBUG', true);

/* That's all, stop editing! Happy blogging. */

When we re edit the page, we should have some error output describing the issue in more detail. Or maybe you can give us ftp details so that we can investigate further.

Thank you in advance.

I have updated the wp-config.php file as requested.
Other info. requested to follow now.

Hello There,

I have seen the error messages and it seems that WP Mail Logging plugin is causing some issues. Please deactivate this plugin and test your site again.

Please let us know how it goes.

I disabled that plugin but it still throws the same error.

I have just compared the errors/warnings in the JS console and on the page where the preview fails there is an additional msg which suggest that shield firewall is blocking access to the preview. Please see screenshot and let me know your thoughts. Thanks.

Hey There,

I’ve taken some time trying to figure out the cause of the issue. I ended up testing for a plugin conflict. It turns out that “Shield Security” plugin is the one that caused it. At the moment, I have deactivated the plugin and I could edit the page in Cornerstone just as shown here:

I have re activated the plugin again. To avoid any further issues with your site. If you want to test it again, please deactivate the plugin and test Cornerstone so that you can replicate it.

Please let us know how it goes.

OK thanks for your help and I will investigate further.

You’re welcome! :slight_smile:

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