WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Chr( in post causes 500 Server Error

[Resolved] Chr( in post causes 500 Server Error

  • Robanybody

    @robanybody

    When I create a post on my WordPress 3.2.1. site, that contains Chr( and I click Preview or Publish I get a 500 Server Error.

    On a friends WordPress 3.1 site a post that conains Chr( can be viewed and published without a problem.

    How can I fix this in my version 3.2.1 WordPress? Thanks in advance. Any help is appreciated.

    More info. I tried to post some VBScript that contained Chr(34). It was quite a large script and it took me a while to narrow it down to chr( (case insensitive).

Viewing 1 replies (of 1 total)
  • Robanybody

    @robanybody

    My WordPress site is hosted on a Apache server on which the apache module mod_security is running.

    By adding the following two lines to the .htaccess file the problem was fixed:
    SecFilterEngine Off
    SecFilterScanPOST Off

    My apologies for thinking it was caused by WordPress.

Viewing 1 replies (of 1 total)
  • The topic ‘[Resolved] Chr( in post causes 500 Server Error’ is closed to new replies.