Jump to:

546 Posts in 2160 Topics by 237 members

Hosting Requirements

SilverStripe Forums » Hosting Requirements » One way to fix one cause of "Error Saving Page" problem...

What you need to consider when choosing a hosting provider and plan.

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

Page: 1
Go to End
Author Topic: 916 Views
  • vwd
    Avatar
    Community Member
    157 Posts

    One way to fix one cause of "Error Saving Page" problem... Link to this post

    Hi,

    It appears that my webhost has done some server upgrades and must have tightened up security a little. This resulted in one of the pages on my site being prevented from being saved - every time I would hit "Save" or "Save & Publish", it would result in "Error Saving Page".

    The error console revealed that it was a "403 Forbidden" error on /admin/EditForm. It reminded me of an earlier issue I was having with the same page for which I made a post in the forums. I suspected that there was some filtering going on somewhere (wasn't sure where at that stage) as it was picking up the word "system" in alt/title tags and causing the same "Error Saving Page" issue.

    I stumbled across this post which made me aware of a web host issues wiki page

    To cut a long story short, by including the following lines in the .htaccess file, I was able to eliminate the problem:

    # Disable mod_security to prevent restrictive calls between the server and client
    <IfModule mod_security.c>
    SecFilterEngine off
    </IfModule>

    It turns out that the content on that page must have formed a signature that triggered mod_security, preventing it from being saved. Other pages were fine.

    Anyway, I hope that info helps someone who might be pulling their hair out with similar issues.

    VWD.

  • Tim1701
    Avatar
    Community Member
    1 Post

    Re: One way to fix one cause of "Error Saving Page" problem... Link to this post

    Perfect. Thanks -- had a similar mod_security problem with a Nucleus CMS site a while back, but for some reason it didn't occur to me that the same security protocol was the culprit in an issue with this silverstripe site.

    916 Views
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.