Jump to:

23486 Posts in 18995 Topics by 2878 members

General Questions

SilverStripe Forums » General Questions » **SOLVED**Error Saving Content

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 581 Views
  • ambient
    Community Member
    123 Posts

    **SOLVED**Error Saving Content Link to this post

    Hey all,
    Well I'm at my wits end with this one.

    On some pages in my site I'm getting the "Error Saving Content" when I click "Save" or "Save and Publish"

    Sometimes the problem is the words "from" or "select" appearing in the text. If I remove them it will save okay.

    Sometimes the problem is an image I've inserted in the HTML content editor. If I remove the image it will save okay.

    I get the errors "NetworkError: 404 Not Found - http://mysite.com/admin/EditForm"

    And with the images I get this error "NetworkError: 404 Not Found - http://mysite.com/assets/resampled/resizedimage600423-myimage.jpg"

    I have tried reinstalling uploadify and dataobject_manager

    I have tried the line UploadifyField::disable_authentication() and that caused a fatal error even though I installed the latest version of uploadify

    I have tried installing userforms

    I have tried the line SecFilterEngine Off in htaccess but it causes a 500 error - I haven't asked the hosting company to change this for me because it was all working before so I don't think its the problem, does that make sense?

    Can anyone please help with this

    Okay so I got the hosting company to look at the SecFilterEngine and they fixed it. When I asked what the problem was they said:

    "We can't know for sure but it seems what ever CMS or template you were using triggered modsec when you tried to save some text."

    I'm not sure if this problem will repeat itself or not. Hopefully not.

  • figjam
    Community Member
    10 Posts

    Re: **SOLVED**Error Saving Content Link to this post

    FYI - Using Silverstripe 3, I was having a similar problem - my CMS was returning "Internal Server Error" whenever I try to save any page containing the words "select" and "from".

    The root cause was a hosting problem. My provider was using a WAF (www.modsecurity.org) which was blocking the CMS HTTP Post based on the following pattern match:

    The fix was for my hosting provider to whitelist my hostname and the CMS URI "/admin/pages/edit/EditForm".

    BTW - A huge thankyou for the above post. This problem has been driving me nuts for ages. (My online documentation has lots of "Please select this item from this menu...".

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.