Theme settings not saving / Import not working

Posted in: Newspaper
Post count: 5

Hi!

We are trying to migrate our website from the staging server to production, and we can’t seem to either save the theme settings, or import them.

Both save settings and import displays success messages, but nothing actually happens. What can be the reason? Where should we start investigating? It’s probably a difference in server settings, but can’t find out what exactly.

Post count: 22421

Hello,

Please check the browser console under the network tab and see if the import or export provide any error codes. Also try this without any plugins as they can also affect the procedure.

Thanks.

Post count: 5

There’s nothing in the console/network tabs, all ajax calls return with status code 200 and content 0. Tried with plugins disabled as well.

I am testing this on the translations page as that seems the easiest to reproduce to me. I load translation from Hungarian, all fields all filled with the Hungarian translations, I click Save Settings, success message is shown (network tab show 200 response), but if I refresh the page, the old settings are shown.

Post count: 5

Found the problem:

On the new server, the hosting provider automatically set the db encoding the latin1, so we had to reimport with utf8.

The WP update_options() method used in your theme seems to have problems with latin1.

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.