NAWAC Posted December 21, 2021 Posted December 21, 2021 I'm running Invision Community v4.6.9. When editing a link inside a post using the WYSIWYG editor, when I double-click on the link text to modify the URL of the link I get an error. Same thing happens if I just highlight the text and click the "Link" icon to modify the URL. I get the popup notification saying "There was a problem loading this content" (see below screenshot). It doesn't matter which browser I'm using or which type of device (PC or smartphone).
Randy Calvert Posted December 21, 2021 Posted December 21, 2021 There are two scenarios that I've seen trigger this previously; mod_security blocking the request Using a WAF that is intercepting/blocking the request I would suggest start by checking if you're using a WAF first. If so, for testing purposes disable it long enough to confirm. If that does not do it, move onto checking mod_security. https://ubiq.co/tech-blog/how-to-disable-mod_security-in-apache-using-htaccess/ The above URL has some guidance on various ways of how to do this.
Marc Posted December 22, 2021 Posted December 22, 2021 As mentioned above, its likely something is blocking this. Securi is another prime candidate, as is cloudflare. You would really need to check with your host
NAWAC Posted December 22, 2021 Author Posted December 22, 2021 I've disabled mod_security on server. Problem still remains. I whitelisted my forum in my McAfee firewall settings. Problem still remains. Note: if it makes any difference, forum is on Hostgator.
Marc Posted December 22, 2021 Posted December 22, 2021 Do you know how to check if there is anything showing in console at the time? Have you checked your server error logs also?
NAWAC Posted December 22, 2021 Author Posted December 22, 2021 (edited) 11 minutes ago, Marc Stridgen said: Do you know how to check if there is anything showing in console at the time? Not sure what you mean. Do you mean the javascript log? 11 minutes ago, Marc Stridgen said: Have you checked your server error logs also? No errors in log. Edited December 22, 2021 by NAWAC
Marc Posted December 22, 2021 Posted December 22, 2021 Please provide a link to the item in question, then we can take a look for you
NAWAC Posted December 22, 2021 Author Posted December 22, 2021 It's a private forum. No public access.
NAWAC Posted December 22, 2021 Author Posted December 22, 2021 (edited) 25 minutes ago, Marc Stridgen said: Do you know how to check if there is anything showing in console at the time? Ok, I used developer mode in browser to view the errror. The XHR header response says... Quote Status: 406 Not Acceptable Version: HTTP/2 Transferred: 394 B (226 B size) Referrer Policy: strict-origin-when-cross-origin The HTML response says this... Quote Not Acceptable! An appropriate representation of the requested resource could not be found on this server. This error was generated by Mod_Security. Edited December 22, 2021 by NAWAC
Solution Mark H Posted December 22, 2021 Solution Posted December 22, 2021 That error means that mod_security is not disabled. Please engage your server provider to assist in either getting it disabled entirely (preferred), or determining which rules of mod_sec are being triggered, and whitelist those specific rules. SeNioR- and NAWAC 1 1
NAWAC Posted December 22, 2021 Author Posted December 22, 2021 2 hours ago, Mark H said: or determining which rules of mod_sec are being triggered, and whitelist those specific rules. This one resolved the issue. Since I'm on a shared hosting environment, Hostgator had to do it for me, but they did disable the specific mod_security rule causing the problem and now it's resolved. Thanks for the help! Mark H 1
Mark H Posted December 22, 2021 Posted December 22, 2021 You're welcome, we're glad we could be of service. 🙂
Recommended Posts