Cornerstone not saving changes and not giving errors

Hi, I have some sort of problem with Cornerstone.
I do whatever changes to my articles, click save, it says “Awesome, content saved”, but when I reload the page, changes have not been saved.

I’ve tried deactivating cache plugins, but still not working. I use:
W3 Total Cache
Autoptimize
Cloudflare

Need help. Thanks.

Hi Yukuza,

Thanks for writing in! I have tried to login to your WordPress back-end, but it is redirecting to the following URL (see secure note).

Please disable any redirection plugins you have and re-generate permalink settings by head over to Settings -> Permalinks sections. You just need to select the option postname and save the changes.

Let us know how it goes.
Thanks!

Hi, I have updated the link to the website login, try again please.

What it seems… is that even it appears to save the new content, and it even shows the new content in the site, when we try to edit the entry again, it edits the previous version again. As if I could not edit the last edited version of posts.

What could it be? Thanks.

Hello Yukuza,

Regretfully the given credentials has a very limited privileges. We cannot check your pages. Do not just deactivate the plugins. Before testing your site, you must clear all your plugin caches. You need to login to CloudFlare and purge your site cache as well.

Hope this helps. Please let us know how it goes.

Hi,

Purging caches didn’t help. I tried with Cloudflare in developer mode, but not working.
I’ve never had such problem before with cache plugins and cloudflare when using X Theme (almost for 3 years now in this website).

I updated your user rights to Administrator so you can check it.

Hi @yukuza,

There are two issue that I’m seeing, one is admin ajax request returns 404 and the second one is this error message

No ha sido posible actualizar la entrada en la base de datos

Which based on my translation, it’s unable to update the database? The database is handled by Wordpress and it only provides the API that theme and plugin could use for data processing. Maybe something in your database is affecting this process? Please provide your database logs where you can get from your hosting provider, then please provide your FTP login credentials in a secure note for further testing.

Thanks!

Hi… this is a Virtual Private Server. The truth is that I don’t know where to get database logs from.
I do can give you FTP Access in a secure note.
I have also set to true WP_DEBUG and WP_DEBUG_LOG so logs are saved.

I can see things like this:
WordPress database error Got a packet bigger than ‘max_allowed_packet’…
PHP Warning: Error while sending QUERY packet. PID=23523 in /var/www/vhosts/ludobooks.com/wordpress/wp-includes/wp-db.php on line 1924

UPDATE: i’ve changed the variable max_allowed_packet in my.cnf and restarted mysql server… i will give it a try. Maybe this was the cause, but I need to make some more trials. I will update again later in a few hours.

Hi @yukuza,

Yes, that could be the cause. And please share your result :slight_smile:

Thanks!

Hi! Definately it seems to work find again now, so 'max_allowed_packet" was the problem.
Thanks anyway! Checking the logs helped me out to find the solution.

Glad to hear that. :slight_smile:

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