1

I'm using the Bootstrap base theme and a sub-theme (cdn) in one of my websites.

Normally everything was fine. Then I installed a fresh Drupal into another server and installed the themes I was using before. The problem appears there, I couldn't change any theme settings of Bootstrap themes via Drupal interface. For example I tick the Fluid container and save but it doesn't change, the box goes back to being unchecked.

enter image description here

The new server configurations may be different from old one.

Does anybody know what Bootstrap need for theme settings?

  • 1
    What versions of each (Drupal, Bootstrap) are concerned? Any other theming modules previously installed? Any chance the previous theme version would use database variables to store some of the configuration settings? What about Jquery update version for each site? Is there a file permission issue? What server distro are concerned? Actually there could be quite a few options to evaluate... – Tritof Apr 15 '16 at 12:26
  • 1
    Also, by "but it doesn't change," do you mean the box goes back to being unchecked? Or the box remains checked but doesn't apply the setting to the pertinent pages? If the latter, you should try flushing your cache. – rrr45 Apr 15 '16 at 16:05
  • @Tritof, yes you're right. There are lots of questions to ask before. Thanks. – herci Apr 20 '16 at 4:13
  • @rrr45, the box goes back to unchecked. I will add my "solution" soon. Thanks. – herci Apr 20 '16 at 4:14
4

I solved this problem by disabling the ModSecurity on cPanel.

ModSecurity is an Apache module that applies a set of rules to the activities of software run on Apache. It is used by some hosting environments to assure security, but some rules can interfere with the normal operation of Drupal.

  • 1
    Any idea what exactly causes that "interfere"? – Pierre.Vriens Jun 22 '16 at 6:26
  • Actually I don't have any idea but there is something here: drupal.org/node/695902 – herci Jun 22 '16 at 8:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.