[SOLVED] Upgrading to 9.015 with php 8.1 problem with tinymce

After upgrading to version 9.015 for the production environment on linux(ubuntu) fields in form with htmleditor tinymce are not working anymore.
In my development environment on windows it works fine.
You can not edit the fields , do not show any editor and also no data.
Could anyone help here to solve it

Hello @StephanT

Did you update the production environment to the 1.0.000 version?

yes i did
My test environment on windows and linux works fine but my production also on linux/ubuntu not.
Have tried multiple ways to reinstall but no view of the editor in production.

@StephanT

I did an initial test by publishing in a Linux/Ubuntu environment a form application with an html editor field and it worked.

Can you provide more information on how this field is configured?

Also, can you confirm which tinymce directories are present in your prod?

You can check in _lib/prod/third/

It should look like this:

Captura de tela 2023-07-21 114113

1 Like

thanks for testing this.
It is simple text field with html editor in mode clean in a form.
All folders mentioned by you are there and make comparison between my linux test and linux production and they are the same. The test environment works while the other doesn’t.

The webdebugger states this: Pauzed by exception
TypeError: eb.deviceType is undefined
(in file js/tinymce/themes/silver/theme.min.js)

In source theme.min.js the error is pointing at:
TB=eb.deviceType.isTouch(),EB=function(u,t){function e(t,i){return Cr(t,function(n, …

Found solution! it was related to firefox because chrome did work. I cleared website data and cookies for this particular production website in firefox (manage data) and it worked. Inconvenient is that all my users have to do the same to get it working.

2 Likes