Page 1 of 1

TinyMCE - Unable to use File Manager

Posted: Fri Jun 14, 2019 10:39 am
by WDJames
Hi All,

I'm having an issue with TinyMCE. I'm using the latest the version of TinyMCE (3.2-beta 6) with CMSMS (2.2.10) & PHP 7.2.

I am getting an error 404 when trying to use the File Manager within the WYSIWYG. The error also happens when I use the File Manager on the Insert Image window.

The weird thing is that I am able to use the File Manager on the Insert Image window of MicroTiny.

I have another website running the same version of TinyMCE but on a 2.2.8 version of CMSMS and using PHP 7.0 which works as it should.

Any ideas what is causing the error?

Thanks,
James

Re: TinyMCE - Unable to use File Manager

Posted: Fri Jun 14, 2019 6:57 pm
by DIGI3
Check your htaccess file for this line:

Code: Select all

RedirectMatch 403 ^.*/modules/.*\.php$
For a temporary workaround you could comment it out, or modify it to specifically allow this:

Code: Select all

RedirectMatch 403 ^.*/modules/(!TinyMCE/responsive_filemanager/filemanager).*\.php$
The module itself should be fixed to not allow external access, I'll file a BR.

Note: if this doesn't fix it, try disabling mod_security if you have it enabled. If you're not sure, ask your host.