Jump to content

Featured Replies

Posted

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).

 

image.png.862e682259dcd4f20e189c92d3ca2b78.png

Solved by Mark H

Go to solution

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.  

  • Community Expert

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

  • Author

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.

  • Community Expert

Do you know how to check if there is anything showing in console at the time? Have you checked your server error logs also?

  • Author
 

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?

 

 

Have you checked your server error logs also?

No errors in log.

Edited by NAWAC

  • Community Expert

Please provide a link to the item in question, then we can take a look for you

  • Author

It's a private forum. No public access.

  • Author
 

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 by NAWAC

  • Solution

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. 

  • Author
 

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!

You're welcome, we're glad we could be of service. 🙂

 

Recently Browsing 0

  • No registered users viewing this page.