Skip to main content

Precondition Failed

Comments

3 comments

  • User8472
    Just a quick update. When this error occurs the script isn't executed. I can run the script directly with no errors (in this case it doesn't really do anything since it's not getting inputs from a form). Only when the script is called via the submission of a form with a "file" input type the error happens.
    0
  • cPanelMichael
    Hello @User8472, Can you check if your Mod_Security rules are blocking requests to that script? You can review recent ModSecurity hits via WHM >> ModSecurity Tools. Thank you.
    0
  • User8472
    Looks like that was it! Not sure how it got in there. I'll ask around, there's a couple people with whm access but they shouldn't be playing around with such things! Thank you.
    0

Please sign in to leave a comment.