Host upgrading php 8.3.16 to 8.3.19 "seemed" to cause a saving issue (406) on the general settings page, cmsb v 3.75 (build 2818) - MOD sec

3 posts by 3 authors in: Forums > CMS Builder
Last Post: May 2   (RSS)

I would suggest checking the server log for mod security error code and just disable that rule if you can. 

Jeff Shields
yaadev.com

Hi Codee,

What I'd recommend (when you have time) is upgrading to the latest version of PHP your host supports and then tracking down the cause of the issue and resolving it.

If you have root access, you can check the logs and try to determine which mod_security rule is being flagged and disable it, as Jeff suggests. Or, if you have a regular web hosting account, you can turn off mod_security or ask the web host to fix it.  

The way we find the "cause" is typically to reduce the content we're submitting by half until we get down to the characters that cause mod_security to be triggered.  Over the last year, we've seen various hosts get false positives for things like: 

  • --> (from an HTML comment in a wysiwyg field)
  • and 1 (from 2 bedrooms and 1/2 bath in a property listing)
  • =https:// (from a GET form post with a link in a field)
  • SELECT * FROM (SQL from the backend) 

Sometimes web hosts add their own rules and it creates false positives.  Sometimes if you ask them they'll fix the rule, othertimes they'll just disable mod_security.

Hope that helps, let me know any other questions.  Let me know if you need help tracking down the cause.

Dave Edis - Senior Developer
interactivetools.com