tinyMCEfileman and php8.x
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
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
- Edi
- Site Admin
- Posts: 3121
- Joined: Sun Aug 09, 2015 5:01 pm
- Location: Zurich
- Has thanked: 54 times
- Been thanked: 78 times
- Contact:
First please try to contact the author of the plugin:
https://plugins.bludit.com/plugin/tinymcefileman
https://plugins.bludit.com/plugin/tinymcefileman
Clickwork - Websites mit Bludit | Planet Bludit - Tipps und Snippets
-
- Ssr. Bludit
- Posts: 13
- Joined: Fri Jun 02, 2023 6:07 pm
- Has thanked: 6 times
- Been thanked: 2 times
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
with:
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:
with:
Hope it will help
STEP 1:
modules/TinyMCE/responsive_filemanager/filemanager/config/config.php
Line 9:
replace
Code: Select all
mb_http_input('UTF-8');
Code: Select all
mb_http_input();
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))
Code: Select all
if ( ! is_resource($this->imageResized) && !($this->imageResized instanceof
\GdImage))
Bludit 3.14.1 / Default admin theme / Theme docs-x-3.2 / PHP 8.1.7 / Ngnix