Cornerstone not working after server migration

We recently migrated our websites to a new server. Now, when I try to open Cornerstone, I get a message that says “A conflict on the front end of your site has prevented the preview from loading.” I cannot make any updates or changes. The Customizer works fine; it appears that only Cornerstone has been effected.

Any ideas or advice would be greatly appreciated! Thanks!

Hi,

May I know your entire process in migrating your site.

This usually happens when you manually change the urls in the database.

Try to redo the migration using a plugin.

eg. https://wordpress.org/plugins/duplicator/

For a more detailed information kindly refer to the link below

https://theme.co/apex/forum/t/cornerstone-migration/126

Thanks

Hi Paul,

We hired a SysAdmin for the migration and he followed all of the steps listed in your link. The migration was fine and all of the DB looks good. All of the content on the front end is displaying properly as well.

If it helps, the https://myuvn.com/x/ page is loading fine. It’s not until choosing a specific piece of content to edit that it gives the error message.

Hi There,

Please re-do the migration using ALL IN ONE MIGRATIO OR https://wordpress.org/plugins/duplicator/

Let us know how it goes.

Ok, so it doesn’t have to do with the migration. I think it has something to do with the subdomains. Cornerstone is working on the main domain myuvn.com but not on any of the subdomains like https://samhoustonstate.myuvn.com

I do get this error when I look in the inspector. XMLHttpRequest cannot load http://samhoustonstate.myuvn.com/. Redirect from ‘http://samhoustonstate.myuvn.com/’ to ‘https://samhoustonstate.myuvn.com/’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘https://samhoustonstate.myuvn.com’ is therefore not allowed access.

Could that have something to do with it?

Hi There,

Please install and activate this plugin: https://wordpress.org/plugins/better-search-replace/.

After that find all the http://samhoustonstate.myuvn.com/ URLs then replace with https://samhoustonstate.myuvn.com/ URLs.

If it doesn’t work, please share your admin account so we can take a closer look.

Thanks.

I installed the plugin but everytime I tried to upload the SQL file after doing a find replace the page goes blank. It doesn’t actually upload. But below are the login creds

Hi,

Please install and activate this third plugin.

Hope that helps.

I installed the plugin but it didn’t fix the cornerstone error. Any other suggestions?

Hi There,

Upon further investigating your issue, I see the following errors when loading Cornerstone editor.

Failed to recover from malformed AJAX response:  Object { readyState: 4, getResponseHeader: getResponseHeader(), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(), overrideMimeType: overrideMimeType(), statusCode: statusCode(), abort: abort(), state: state(), always: always(), then: then(), 12 more… }

Failed AJAX request. Switching to fallback. Object { readyState: 4, getResponseHeader: getResponseHeader(), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(), overrideMimeType: overrideMimeType(), statusCode: statusCode(), abort: abort(), state: state(), always: always(), then: then(), 12 more… }

Blocked loading mixed active content “http://samhoustonstate.myuvn.com/cornerstone-test/”

preview-frame::update-aborted Object { readyState: 0, getResponseHeader: getResponseHeader(), getAllResponseHeaders: getAllResponseHeaders(), setRequestHeader: setRequestHeader(), overrideMimeType: overrideMimeType(), statusCode: statusCode(), abort: abort(), state: state(), always: always(), then: then(), 11 more… }

Can you try deleting your Cornerstone plugin folder by connecting through your server FTP (/wp-content/plugins/cornerstone/) and then head over to X -> Overview section to install a fresh copy.

Let us know how it goes.
Thanks!

Got it all worked out thanks!

Glad we were able to help :slight_smile:

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