EmpireKicking Posted December 4, 2022 Posted December 4, 2022 I have no logs or report logs however getting error saying "An error has occured" while editing image and link for that image from one of my members and I redone it on my end and also getting the same error. I added an image to the signature and while the image is highlighted I click "LInk" from the editor bar and it does insert the URL and save - No errors Double-click the image and a tab opens up to able to edit the URL link, edited the link with no problems and doesn't matter if it's https:// or without as it detects and adds HTTP anyway - Seems to be all good also, well from my point of view. However, When the image is highlighted and select "Link" from the editor bar, I myself I get an error saying "An error has occurred" - Yep - now is an error Anyone else gets it?? I mean should get unlink open but nothing
teraßyte Posted December 4, 2022 Posted December 4, 2022 (edited) I had the same issue recently. Adding a link worked just fine but editing it caused an error. It turned out to be Mod Security, there was a rule trigger it when a URL parameter contained https://. Once that rule was disabled the error disappeared. You'll need to ask your hosting about it. Edited December 4, 2022 by teraßyte
EmpireKicking Posted December 4, 2022 Author Posted December 4, 2022 15 minutes ago, teraßyte said: I had the same issue recently. Adding a link worked just fine but editing it caused an error. It turned out to be Mod Security, there was a rule trigger it when a URL parameter contained https://. Once that rule was disabled the error disappeared. You'll need to ask your hosting about it. Never had this error before unless IPB made or chnaged there software. Are you using Cloudflare also?
teraßyte Posted December 4, 2022 Posted December 4, 2022 No, the server where I encountered the issue wasn't using Cloudflare. It could be that some kind of recent server update added new mod security rules, or re-enabled some disabled ones. I've seen it happen a few times.
Marc Posted December 5, 2022 Posted December 5, 2022 Ive also seen this happen a few times. Please could you confirm this resolves the problem?
EmpireKicking Posted December 5, 2022 Author Posted December 5, 2022 (edited) 4 hours ago, Marc Stridgen said: Ive also seen this happen a few times. Please could you confirm this resolves the problem? Not yet.... Trying to work out what needs to be disable or what security rules that is been set that may affact it Edited December 5, 2022 by EmpireKicking
Marc Posted December 5, 2022 Posted December 5, 2022 I would start by disabling all mod_security to see if that resolves the issue first of all. Then is that works, at least you know it is indeed that causing the problem
EmpireKicking Posted December 5, 2022 Author Posted December 5, 2022 Well, no idea if this is the right code to add to htaccess as I do not have mod_security options on shared hosting ;( If this does work from the Htaccess then I can tell you that I still get the error from the signature. <IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule> No idea if that's the right code input though as that is based before 2006 I think. Simple fast way for me at the moment
Mark H Posted December 5, 2022 Posted December 5, 2022 If this is Shared hosting, it's unlikely that the mod_security settings can be overridden on a per-account basis in an .htaccess file, but that's something only your Host would be able to tell you. I'd first ask them if mod_security is actually in use and, if it is, can it be turned off completely, even briefly for testing.
Recommended Posts