Page 1 of 1

tinyMCEfileman and php8.x

Posted: Wed May 10, 2023 8:43 pm
by bastian
Hello,

after the upgrade from php7.x to php8.x tinyMCEfileman seems to be broken. Clicking on the filemanager icon just opens an (almost) empty window.

Does anybody made the same experience?

Anything to do about it?

Sebastian

Re: tinyMCEfileman and php8.x

Posted: Wed May 10, 2023 10:30 pm
by Edi
First please try to contact the author of the plugin:

https://plugins.bludit.com/plugin/tinymcefileman

Re: tinyMCEfileman and php8.x

Posted: Mon May 15, 2023 7:54 pm
by bastian
Unfortunately, no reaction for a week.

Sebastian

Re: tinyMCEfileman and php8.x

Posted: Tue Jun 13, 2023 7:14 pm
by alex611
I had a similar issue (blank popup) and this did the trick for me:
STEP 1:

modules/TinyMCE/responsive_filemanager/filemanager/config/config.php

Line 9:

replace

Code: Select all

mb_http_input('UTF-8');
with:

Code: Select all

mb_http_input();
After doing that you will see the download files again instead of the empty pop
up. But trying to upload new files will give an error such as "saveImage: This
is not a resource". So go to step 2.

STEP 2:

modules/TinyMCE/responsive_filemanager/filemanager/include/php_image_magician.php

Line 2791:

replace:

Code: Select all

if ( ! is_resource($this->imageResized))
with:

Code: Select all

if ( ! is_resource($this->imageResized) && !($this->imageResized instanceof
\GdImage))
Hope it will help :)

Re: tinyMCEfileman and php8.x

Posted: Fri Dec 08, 2023 11:21 pm
by bastian
Sorry for the late answer. Yes, that's it! Thank you.