Error when editing
|
Posted
#82283
(In Topic #17150)
|
|
|---|---|
|
Fan in action |
shuts the site downPrecondition Failed The precondition on the request for the URL /cms/index.php evaluated to false. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. |
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
ocStaff (admin) |
If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
Precondition Failed The precondition on the request for the URL /cms/index.php evaluated to false. |
|
Posted
|
|
|
ocStaff (admin) |
I just re-read your topic title. Incompetent web hosts often trigger this by sensing any posted HTML as a hack attack. Which just happens to block all WYSIWYG editors. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
ocStaff (admin) |
It's just this kind of thing annoys me If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
The issue is not with the firewall in the server. The editor you are using in the portal is trying to inject code, as detected by the Modsecurity module in the webserver. Thus, server is denying the request. Please see the errors from the logs given below. They gave me the logs and we do have mod_security enbled on the server. All I was doing was trying to edit a blog, then I tried to edit the news and the same thing happened. |
|
Posted
|
|
|
ocStaff (admin) |
That is pure incompetency. Of course the editor is injecting code, it is an HTML editor… If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
ocStaff (admin) |
To be honest, I don't know what the default configuration(s), but even if the default configuration is mad, the host has no excuse. I do know though that lots (possibly even most) hosts now have mod_security, and no problems. If I answered something that you think should be in the documentation, please take the initiative and add it to the community documentation. We really need people to help out here and build a well-organised large support resource. |
|
Posted
|
|
|
Community saint |
I don't know if my case can help you sort this out, but I had a similar situation a few months ago when routine edits on my sites caused the exact same reactions from my host, shutting down my sites until a request was made to reset the server's permission. This went on for a few days and must have stretched the goodwill of my Host eLief, but they immediately enabled my connections upon notification each time without complaints. I was mortified at triggering this upon every visit as an admin. No other user was causing this. I was told that the following situation was going on while I attempted to edit anything: *Port Scan* detected from IP. (11 hits in the last 256 seconds) I could not find anything wrong on my computer: no viruses, malwares or any backdoor illicit UDP activities, but reaching my sites from a different computer did not cause any troubles. Uninstalling my browsers for fresh ones did nothing to fix this. I ended up switching to an emergency partition on my computer with a fresh OS and browsers and the nightmare went away. I hope your situation is different and that you will not have to go to that extreme. I can understand your pain just now Jean |
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
Fan in action |
|
|
Posted
|
|
|
Community saint |
|
|
Posted
|
|
|
Fan in training |
Hi! I have the same problem just can not save any configuration changes! So, how to shut down the mod-security? Thanks! |
|
Posted
|
|
|
Community saint |
If you are on shared hosting - you can't! Talk to your web hosts, explain the problem, and ask them to adjust the settings so that they are not so restrictive to your script. ocPortal has a 'strong' security modal, and often 'mod_security' on the server is badly set up and is conflicting somewhere.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
|
Posted
|
|
|
Fan in training |
Thank you very much for your quick reply! I will ask my web host to fix it! |
|
Posted
|
|
|
Community saint |
If you are still having problems, renew this topic and hopefully you will get a more detailed and succinct explanation from the staff that you can use to 'discuss' the matter further with your hosts. Good luck.
Take my advice. I'm not using it!
View my working ocPortal site (version 9.x.x) at Anglo-Indian Portal |
1 guests and 0 members have just viewed this: None
Control functions:








