Theme settings not saving

Posted in: Newspaper
Post count: 72

Hello,
the theme panel is not saving settings anymore. When I click on SAVE SETTINGS the OK symbol appears, as it should, but after I refresh the page everything remains as it was before.
I’ve already tried:
1) disabling cache on my browser
2) disabling all plugins
3) switching from the child-theme to the main theme (all my widgets sidebar settings are lost :'( )
4) updating the theme to the latest version
5) increasing my WP_MEMORY_LIMIT to 96MB
6) updated my .htaccess file following the guide here: https://forum.tagdiv.com/system-status-parameters-guide/

Plus, I’ve noticed when I use HTTPS connection on my website the theme settings goes on loop: when I click on SAVE SETTINGS the theme keeps loading infinitely: http://i66.tinypic.com/11ad4q0.png

Post count: 72

When I click on SAVE SETTINGS the OK symbol appears, as it should, but after I refresh the page everything remains as it was before.

I had to switch to the HTTP connection since on HTTPS the theme’s settings goes on loop.

  • This reply was modified 9 years by truth.
Post count: 72

Here some system INFO of the current installation:http://i66.tinypic.com/2dkjr5l.png

For some testing, I made a copy of the website and run it on a different server (with no SSL) and the theme worked as before, without any problem.
The funny part is that on the testing server, the requirements suggested on you guide were not satisfied. Have a look by yourself: http://i67.tinypic.com/2z9mnbq.png

  • This reply was modified 9 years by truth.
Post count: 72

I am using Cloudflare service. I am facing this issue also with Cloudflare in development mode.

Post count: 72

So I’ve done some more tests:
I’ve made a fresh installation of the theme on my (same) HTTPS enabled server and everything is working fine.
So the problem is not related to my hosting for sure.

Post count: 72

Any idea? I would like to fix this issue ASAP.
do you need any further details?

Post count: 23312

Hello truth,

If you need more assistance in this regard, please send us an email at contact@tagdiv.com with your log-in information (wp-admin) so we can further inspect it closer your setup page. Also, you can provide a full access to FTP, it may be necessary.

Thanks for your understanding!

Post count: 72

I’ve just sent the email, Catalin.
Looking forward to your reply

Post count: 72

Hello,
I’ve investigated and found the reason behind my nightmare: ModSecurity (https://modsecurity.org).
Basically on my apache based web hosing the mod_sec module was blocking the Facebook SDK web API call (https://developers.facebook.com/docs/javascript/quickstart):

<script>
  window.fbAsyncInit = function() {
    FB.init({
      appId      : 'your-app-id',
      xfbml      : true,
      version    : 'v2.8'
    });
    FB.AppEvents.logPageView();
  };

  (function(d, s, id){
     var js, fjs = d.getElementsByTagName(s)[0];
     if (d.getElementById(id)) {return;}
     js = d.createElement(s); js.id = id;
     js.src = "//connect.facebook.net/en_US/sdk.js";
     fjs.parentNode.insertBefore(js, fjs);
   }(document, 'script', 'facebook-jssdk'));
</script>

In particular facebook-jssdk was blocked.
Since this script was loaded through the theme’s custom code -> custom html panel all the theme settings were blocked from being modified.
After whitelisting this script the issue was solved automatically.

I hope this could help other users or the support staff in the future 🙂

P.S.: thanks to all the support staff for assisting me with this issue. Special thanks to Alvin 😉

  • This reply was modified 9 years by truth.
Post count: 8

I am having the same problem. Can aybody help me?

my php setting are ok, u can check php info here
http://www.portaldorugby.com.br/2017/pedro.php

Post count: 30

I’m having the same problem. Currently I’m using wp 4.6.6 y theme 7.4. While I’m going to update both to the last version I want to solve this problem first.
All of a sudden all sidebars disappeared. I rebuilt them and it was ok for a short time. A few days latter it happened again plus the backup plugin was unable to work as the path has been mysteriously changed.
After this episode not only the sidebars disappear but all customization as well. The problem I have now is that while I can change the theme settings and they seem to be applied as soon as I refresh the page they are gone.
Any idea please?
Thanks

Post count: 23312

Hello @schauvin and @pedromantovani,

I recommend you to make to make a full backup to your database and then, update the theme to the latest theme version which is 8.0 via FTP way and check the results. Clear all the caches and purge CDN files. If you are using some untested plugins which can interact with the theme core files, you should remove all of them and leave just only required plugins to be active and check the results. Also, check your dedicated server to be according to our documentation here -> https://forum.tagdiv.com/requirements-for-newspaper/

Thanks for your understanding!

Viewing 12 posts - 1 through 12 (of 12 total)
You must be logged in to reply to this topic.