TinyMCE - Unable to use File Manager

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
WDJames
Forum Members
Forum Members
Posts: 64
Joined: Tue Feb 13, 2018 1:09 pm

TinyMCE - Unable to use File Manager

Post 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
User avatar
DIGI3
Dev Team Member
Dev Team Member
Posts: 1627
Joined: Wed Feb 25, 2009 4:25 am
Location: Victoria, BC

Re: TinyMCE - Unable to use File Manager

Post 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.
Not getting the answer you need? CMSMS support options
Post Reply

Return to “Modules/Add-Ons”