Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted December 4, 20222 yr 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
December 4, 20222 yr Community Expert 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, 20222 yr by teraßyte
December 4, 20222 yr Author 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?
December 4, 20222 yr Community Expert 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.
December 5, 20222 yr Community Expert Ive also seen this happen a few times. Please could you confirm this resolves the problem?
December 5, 20222 yr Author 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, 20222 yr by EmpireKicking
December 5, 20222 yr Community Expert 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
December 5, 20222 yr Author 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
December 5, 20222 yr 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.