TinyMCE_GZ is not defined

13 views
Skip to first unread message

Nabil BENHAMMOU

unread,
Nov 23, 2021, 8:44:18 AM (6 days ago) Nov 23
to dotCMS User Group
Hi everyone,

To give you a bit of context I recently upgraded a website i'm working on from the 5.3.8.5 version to the latest version of dotcms (21.10) and also i applied a enterprise trial to experiment with the paid features.

But then there is a bug when i want to create a page and published it the loader "Saving content" is idling and its stuck there.

Screen1 2021-11-23 142446.jpg

And when i want to create a content element that has a WYSIWYG Field it gives me prompt : 

Screen3 2021-11-23 143707.jpg

So what I did i opened the inspector on the chrome dev tools and noticed there is a 404 on a script asset for tinymce.

Screen2 2021-11-23 142833.jpg
So what i thought was that maybe the file is not read properly because of linux permissions so I applied a chmod 755 recursively in the tinymce folder that is located inside "/dotserver/tomcat-9.0.41/webapps/ROOT/html/js/tinymce" because that where the script is located.

But still no work, then i went and explored the directory and did not find any tinymce_gzip.js anywhere.

At this point I have no clue why its gives me that issue also its not reported in the catalina logs because its a front end bug so i spent a long time before thinking of inspecting the page.

So i wanted to know if anyone experienced the same issue or maybe anything related to tinymce in dotcms ?

Any information or help would be appreciated,

Thank you.

Best regards.

 

Will Ezell

unread,
Nov 23, 2021, 9:32:10 AM (6 days ago) Nov 23
to dot...@googlegroups.com
What database are you running?  I am asking because Oracle and MySQL are not going to be supported in versions > 21.06 LTS.

--
http://dotcms.com - Open Source Java Content Management
---
You received this message because you are subscribed to the Google Groups "dotCMS User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dotcms+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/dotcms/6dc6e2ad-2238-4316-b595-a3baef87b2d4n%40googlegroups.com.


--



382 NE 191st St #92150
Miami, Florida 33179-3899
Main: 
305-900-2001 | Direct: 978.294.9429

Nabil BENHAMMOU

unread,
Nov 23, 2021, 10:05:55 AM (6 days ago) Nov 23
to dotCMS User Group
Hello Will,

Actually, I'm using postgresql database.

So far it worked pretty good in the upgrading process.

Thank you for your reply.

Best regards,

Will Ezell

unread,
Nov 23, 2021, 12:25:38 PM (6 days ago) Nov 23
to dot...@googlegroups.com
Are you accessing the server via http or https?  I would recommend you use https://local.dotcms.site to access it locally. There might be some cookie/request security constant that is requiring https.

Nabil BENHAMMOU

unread,
Nov 24, 2021, 9:01:01 AM (5 days ago) Nov 24
to dotCMS User Group
Hello Will,

I'm accessing the server via https, but i didn't really understand your recommandation ?

Do you mean if I should try locally ? Because I already did that but it seems that this issue happens only when i apply a trial version into dotcms configuration.

Will Ezell

unread,
Nov 24, 2021, 9:10:24 AM (5 days ago) Nov 24
to dot...@googlegroups.com
Looking at the source code, it does not look like that file is there.


Do you have some custom TinyMCE config on that field that is specifically requesting the .gziped version?

Nabil BENHAMMOU

unread,
Nov 24, 2021, 9:21:37 AM (5 days ago) Nov 24
to dotCMS User Group
Well I have some custom config props that I use in the content type models, i put all my config in the "tinymceprops" variable that is documented here => https://dotcms.com/docs/latest/the-wysiwyg-field#FieldVariable

But i don't specifically request the .gzip version of tinymce.

Will Ezell

unread,
Nov 24, 2021, 9:29:29 AM (5 days ago) Nov 24
to dot...@googlegroups.com
If you remove your props, does it work?

Nabil BENHAMMOU

unread,
Nov 24, 2021, 9:33:09 AM (5 days ago) Nov 24
to dotCMS User Group
Now that you mention it, I did however changed the dotmarketing file to activate gzip compression but i didn't think it will be activated for the backoffice part of dotcms, only on the public side.

dotmarketing file.jpg

Well now i turned off the gzip compression and it works i dont have any issues anymore , but is it intended to behave that way to compress the tinymce script asset as well ?
Reply all
Reply to author
Forward
0 new messages