Jump to content

Forum WYSIWYG Editor, problem modifying links


Go to solution Solved by Mark H,

Recommended Posts

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

Posted

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.  

Posted

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

Posted

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.

Posted (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 by NAWAC
Posted (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 by NAWAC
  • Solution
Posted

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. 

Posted
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!

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...