We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 31191
    • 39 Posts
    I moved a Revo site from one server to another and upgrade it to 2.2.15. After the migration, tinyMCE wasn't loading. I updated is to the latest release from the package manager. I also tried uploading the files manually and installing a local package file. Still the same result.

    I finally figured out why. When I disable "Use Compressed JavaScript Libraries" the editor will show up. I'm seeing the following error in the console when its enabled and I view a resource where the Rich-text editor should load:

    Uncaught TypeError: p is not a constructor.

    It then lists a string of URLS that look like the list of compressed js files:

    index.php?f=/manager/assets/modext/util/datetime.js,/manager/assets/modext/widgets/element/modx.pan…:72

    I've disabled the compression for now so the client can use the editor. Any ideas? Not a big deal, just thought it was strange.
      perusing forums is where my comp sci degree got me.
      • 42562
      • 1,145 Posts
      What TinyMCE MODX Extra are you using?
        TinymceWrapper: Complete back/frontend content solution.
        Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
        5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
        • 31191
        • 39 Posts
        Sorry, I should have specified. I'm using this one: https://modx.com/extras/package/tinymce
          perusing forums is where my comp sci degree got me.
          • 42562
          • 1,145 Posts
          I suggest to move on, rather quickly, from that Extra. I don't know what it is doing there peeping out of the coffin.
            TinymceWrapper: Complete back/frontend content solution.
            Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
            5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
            • 13428 ☆ A M B ☆
            • 1,031 Posts
            The big issue occurring wish compressed javascripts is not a real compression error. It is a limitation of the get parameter length. Because of this the last javascript files are not added to the compressing php script.
              • 31191
              • 39 Posts
              Quote from: donshakespeare at Aug 08, 2016, 02:38 PM
              I suggest to move on, rather quickly, from that Extra. I don't know what it is doing there peeping out of the coffin.

              I did notice it hasn't been touched in ages. I only have a couple old sites in MODx. Did you create the TinymceWrapper? I could give that a shot, but it might be overkill for their needs. [ed. note: v2theg last edited this post 10 years, 1 month ago.]
                perusing forums is where my comp sci degree got me.
                • 31191
                • 39 Posts
                Quote from: Jako at Aug 08, 2016, 03:38 PM
                The big issue occurring wish compressed javascripts is not a real compression error. It is a limitation of the get parameter length. Because of this the last javascript files are not added to the compressing php script.

                Are you suggesting I change this setting: Maximum JavaScript Files Compression Threshold? It's currently 10. [ed. note: v2theg last edited this post 10 years, 1 month ago.]
                  perusing forums is where my comp sci degree got me.
                  • 42562
                  • 1,145 Posts
                  Yes I authored TinymceWrapper. And I am still wondering how an editor which uses pure CDN is overkill... when its files are untouchable by what do you call it again "Use Compressed JavaScript Libraries"? smiley
                  MODX is overkill for me if I compare my usage of it to what I have seen people achieve with it.

                  TinymceWrapper is a suite, just don't use what you don't want.
                  Best of, you get awesome support from yours truly.
                    TinymceWrapper: Complete back/frontend content solution.
                    Harden your MODX site by passwording your three main folders: core, manager, connectors and renaming your assets (thank me later!)
                    5 ways to sniff / hack your own sites; even with renamed/hidden folders, burst them all up, to see how secure you are not.
                    • 13428 ☆ A M B ☆
                    • 1,031 Posts
                    Only if that option reduces the length of the f parameter and adds the remaining files to a second minify call.
                      • 31191
                      • 39 Posts
                      I'm only quoting MODx settings names smiley I'm sure your extra is awesome. I meant overkill as in its only a matter of time until this site isn't in MODx anymore and I just need a basic editor that works. I installed this one: https://modx.com/extras/package/tinymcerichtexteditor and it worked without any setup. I installed TinymceWrapper and it didn't. Thank you both for your help.
                        perusing forums is where my comp sci degree got me.