Answers.Body: <p>That's it. mod_security is on by default and a rule is getting triggered. Turned it off and now the entry can be modified and saved. Thank you Brad! </p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-08-23T23:21:18.967Z
Answers.LastActivityDate: 2017-08-23T23:21:18.967Z
Answers.UserDisplayName: user7150
Body: <p>Recently moved site to a new server. </p>
  
  <p>Attempting to edit a post created before migration fails. The edit page reloads with the changes removed. Note: 1) this happens for only SOME, but not ALL of entries in the same channel. 2) the entries that fail and those that succeed are set to use the same templates.</p>
  
  <p>Utilities - Logs shows this error message:</p>
  
  <p>Level     error</p>
  
  <p>Category  exception.Craft\HttpException.404</p>
  
  <p>Message   Craft\HttpException in 
    /home/method/craft/app/controllers/TemplatesController.php:72</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-22T19:00:23.980Z
Comments.Text: So you're getting a 404 when saving an entry, but it only happens on _some_ entries in a particular section?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-22T19:27:38.060Z
Comments.Text: Well, I don't ever see a 404...the entry page just refreshes. The log is what shows the 404.  And yes, only some entries have this problem. Other ones act normally. I have only seen it in one section, but I haven't tested entry after entry in each one to try to find additional problems.
Comments.UserDisplayName: user7150
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-22T19:34:18.107Z
Comments.Text: Note that the published entry can be viewed on the web. Craft is blocking me from editing it.
Comments.UserDisplayName: user7150
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-22T20:21:09.270Z
Comments.Text: Do you have anything like Suhosin or mod_security installed on that box by chance?
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-23T00:43:10.843Z
Comments.Text: That's it. mod_security is on by default and a rule is getting triggered. Turned it off and now the entry can be modified and saved.  Thank you Brad!
Comments.UserDisplayName: user7150
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-08-23T02:27:03.950Z
Comments.Text: mod_security strikes again!  Can you add that as an official answer in case it ends up helping someone in the future?
Comments.UserDisplayName: Brad Bell
Tags: <error-message>
Title: Fixing Craft\HttpException Error
ThreadText: # Fixing Craft\HttpException Error
  
  (Asked by: username_0 on 2017-08-22)
  
  Recently moved site to a new server.
  
  Attempting to edit a post created before migration fails. The edit page reloads with the changes removed. Note: 1) this happens for only SOME, but not ALL of entries in the same channel. 2) the entries that fail and those that succeed are set to use the same templates.
  
  Utilities - Logs shows this error message:
  
  Level error
  
  Category exception.Craft\HttpException.404
  
  Message Craft\HttpException in
  /home/method/craft/app/controllers/TemplatesController.php:72
  
  **Tags:** error-message
  
  > **Comments:**
  > **username_1**: So you're getting a 404 when saving an entry, but it only happens on _some_ entries in a particular section?  
  > **username_0**: Well, I don't ever see a 404...the entry page just refreshes. The log is what shows the 404.  And yes, only some entries have this problem. Other ones act normally. I have only seen it in one section, but I haven't tested entry after entry in each one to try to find additional problems.  
  > **username_0**: Note that the published entry can be viewed on the web. Craft is blocking me from editing it.  
  > **username_1**: Do you have anything like Suhosin or mod_security installed on that box by chance?  
  > **username_0**: That's it. mod_security is on by default and a rule is getting triggered. Turned it off and now the entry can be modified and saved.  Thank you username_1!  
  > **username_1**: mod_security strikes again!  Can you add that as an official answer in case it ends up helping someone in the future?  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2017-08-23. Score: 2
  
  That's it. mod\_security is on by default and a rule is getting triggered. Turned it off and now the entry can be modified and saved. Thank you username_1!
  
  
  ---
  
  