• Resolved 20101012

    (@20101012-1)


    Hi,

    My site was just upgraded to WordPress 4.4.1 running Bootstrap Basic theme.

    Before it was upgraded, I had a post which contained some SQL inside

     tags. The SQL is Oracle SQL, but I don't suppose that matters.
    
    I went to update the post after the upgrade, but got this error:
    
    The page you are trying to access is restricted due to a security rule.
    
    If you believe the security rule is affecting the normal operation of your website, contact your host support team and provide detailed instructions how to recreate this error.
    They will be able to assist you with rectifying the problem and adjusting the security configuration if needed.
    
    Via trial and error, I found that if I create a new post where the content include this:
    
    (REPLACE(REPLACE(aida.description,CHR(10),''),CHR(13),' ')) distrib_description
    
    I get the error. I wondered if anyone else is able to replicate this issue?
    
    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • I don’t think it has anything to do about theme. You may try to change to WP default theme and see if problem still exists then it really is not about theme.

    Thread Starter 20101012

    (@20101012-1)

    Thanks for your reply.

    I have deactivated all plugins, and have tried on the default 2016 and 2015 themes, and still get the error.

    I’ve narrowed it down to erroring on either of these:

    REPLACE(this,CHR(10),”)
    REPLACE(this,CHR(13),”)

    Does it error if you try with either of those?

    Thanks

    I was able to publish this code on my WordPress site without issue. From this similar thread, it seems like the problem might not be with WordPress itself.

    Thread Starter 20101012

    (@20101012-1)

    Sorted this out – it was a problem on the hosting side, as per the other thread.

    The host fixed it:
    Cause of the problem was a security rule triggered under mod_security in the Apache server.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Error on entering specific text on WP 4.4.1’ is closed to new replies.