Update to the latest version

Hi, I have just updated a clients site to the latest version of X and cornerstone, now whilst the site ‘front-end’ has updated, whatever route I take I get a config error when trying to edit anything via Cornerstone.

Also for some reason UpDraft is hanging when trying to roll back… hopefully this can be sorted so I can take a new backup, thanks…quite urgent…

Please help!

Hello There,

Please follow up the steps below:

  1. Increase the PHP Memory Limit of your server. Click here for more detailed information and how to increase the PHP memory limit.

  2. Ensure everything is up to date according to our version compatibility list here. Please follow the best practices when updating your theme and plugins. Click here for more information.

  3. Go to X > Settings and click on the Clear Style Cache button.

  4. If you’re using a CDN(ex: CloudFlare), please clear the CDN’s cache and disable optimization services. For the CloudFlare you also need to follow the steps below besides the developer mode: https://xthemetips.com/using-cloudflare-rocket-loader-with-x-pro-and-x5/928/1

  5. 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.

  6. Remove custom CSS and Javascript from the options or Child Theme and test the case.

  7. Reset your htaccess file by renaming it to .htaccess-bak. Then in WP Admin Menu, go to Settings > Permalinks and just click the Save Changes button.

Let us know how itoes!

Have just done all of that, problem persists, please look for me with the details provided, as your the expert! Thank you

Hi There,

Could you please try adding the following code into your wp-config.php file in the root of your WordPress installation?

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

If that doesn’t help, please provide us with your FTP login credentials to check your current setup.

Thanks!

Hi, nope :frowning: please find FTP attached

Have you logged in and seen whats happening within WP?

Hey @wolfproductions,

I logged to your server and checked the debug log and there’s nothing pointing to Cornerstone. I deactivated the plugins that generated errors in the debug log and still the Internal Server Error persists.

I then checked your htaccess. It contained some custom rules which has the potential to cause server error when not configured correctly. I tried renaming it so I could generate the basic WP htaccess rules and it caused a server error to your whole site so I suspect this is related to the Cornerstone issue too.

Regretfully, we are not the right personnel to fix server errors. You will need to forward this to your web host as they have control over the server. Moreover, this issue was not caused by Cornerstone. If your host could not resolve this issue, you will need to move to a better host.

Thanks.

Server has been updated 2048 MB

The issue is with Cornerstone, please advice, this is really urgent, thank you.

The site is completely debugged.

Please ignore message… I have now managed to get it to work :slight_smile:

Glad it’s working now, cheers!

Actually I just tested and while I can now access cornerstone, it’s still not working.

This is the reply I had from host:

Hi James,

Thank you for your reply.

I am happy to inform you that the edit page is not showing the error 500 now.

There were couple of things causing the issue:

the memory limit was set in couple of places and was set to 2048MB which is a value the server ignores, because the max possible value for the PHP memory limit on the shared hosting is 512MB
the PHP version 7.2. That version appears not to be completely compatible with all features of your site and was causing issues. I have set PHP 5.6 to make the things work.
the max memory limit set in the wp-config.php file was set to 2048MB which is a value that the server ignores

Please feel free to contact us back if you need anything else.

After testing, although I can now access CS, this is what happens, when I try to save (see video) https://www.dropbox.com/s/85ewiqili7klv3s/save.mp4?dl=0

Hi There,

Can you try re-installing Cornerstone plugin and see if that helps. Basically you can delete your current version of Cornerstone plugin through WordPress plugins section. Then head over to X -> Validation section and wait for few seconds to to install the latest version automatically.

Also regenerate your permalinks by head over to Settings > Permalinks section. Select the option postname and save changes to re-generate.

Let us know how it goes.
Thanks!

Hi, tried that, has made no difference, I just get the following (see screenshot)

Hi @wolfproductions,

In that case, please provide the latest admin login credentials so we could check it.

Thanks!

Thank you, please see secure note

At first, when I edited and saved the same page in your screencast, I encountered no issue. But, when I tried to do the same thing again, that is when the issue happened (see secure note)

There is still an issue with your server. I could say that because going to the normal WordPress page editor returns a server error. Please contact your web host to fix the server error.

Also ask your host to whitelist the cornerstone-endpoint directory from Mod Security or other security systems.

Also try resetting your salt keys.

Thanks.

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