Uncaught SyntaxError: Invalid or unexpected token in tiny_mce_gzip.php

4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 21, 2022   (RSS)

I just wanted to follow-up.  I figured out the issue - I had zlib compression turned on.  zlib compression gets in the way, according to TinyMCE's website, in the gzip working as expected.  I turned that off and it worked OK.  

I'm not thrilled about having to turn this off as this is used to compress the website when being sent to browsers, so I'm going to need to move this into the CMS area only, but I wanted to pass along what I found out in the meantime.

By daniel - March 21, 2022

Hi garyhoffmann,

Thanks for the update! I'm glad you were able to find a solution.

I'll also note that the implementation of TinyMCE in newer versions of CMSB does include an option to turn off compression (at the top of the tinymce.gzip.php file) which may help with this issue, so upgrading the CMS version could be an option if it's necessary to have zlib compression enabled.

Daniel
Technical Lead
interactivetools.com

Thanks Daniel.  I appreciate the follow-up.