We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4414
    • 63 Posts
    Hi all,

    After manually adding the three folders /core/components and assets/components and making them writable (chmod -R 777) I could easily install Wayfinder through the Package Management system. However, when trying to install TinyMCE the installation process always freezes:

    Console running...
    Attempting to install package with signature: tinymce-3.2.7.0-beta3
    Attempting to preserve files at /var/www/modx_rev/assets/components/ into archive /var/www/modx_rev/core/packages/tinymce-3.2.7.0-beta3/modPlugin/5470ea23e7cf120d68775725f7232a72.1.preserved.zip
    Workspace environment initiated, now installing package...
    Attempting to preserve files at /var/www/modx_rev/core/components/ into archive /var/www/modx_rev/core/packages/tinymce-3.2.7.0-beta3/modPlugin/5470ea23e7cf120d68775725f7232a72.2.preserved.zip
    Package found...now preparing to install.
    Grabbing package workspace...

    I found out that the installation process not always freezes at the same point.

    Here is the output of phpinfo of my local LAMP installation: http://docs.google.com/View?id=dgcw4nps_363dcb2h8d6

    Maybe someone can help me with this problem. Any suggestions are welcome!

    Stefan
      • 28215
      • 4,149 Posts
      Regardless of the error message you get, after you clear the cache, set the Settings "use_editor" to 1, and "which_editor" to TinyMCE, does it work?
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 4414
        • 63 Posts
        First I checked the settings: which_editor is set to TinyMCE and use_editor is set to Yes. These seem to be the default settings as I did not change them before.

        Then I cleared the cache and started the install process again. Unfortunately the installation freezed at the same position as before.


          • 28215
          • 4,149 Posts
          Right, after it freezes, when you load a page, does TinyMCE work? It may be freezing but still succeeding.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 4414
            • 63 Posts
            It did not come to my mind to check if TinyMCE had already been installed as it is marked as "not installed" in the Package Manager. But you were right, TinyMCE is in fact working!

            It seems there is a bug in the installation process but at least I can use a rich text editor now.

            Thanks for your help!

            PS. I would like to ask another related question: Why do I need to manually add the above mentioned folders in order to be able to install add ons? I thought MODx would do this automatically.

              • 32699 ☆ A M B ☆
              • 427 Posts
              Which install file did you use?

              Could simply have not been transferred when you uploaded the file to the server.

              If you sent the entire zip up then explode it locally on your computer and look for permission / ownership issues.

              When I unzip locally I chown -R me:me

                Get your copy of MODX Revolution Building the Web Your Way http://www.sanitypress.com/books/modx-revolution-building-the-web-your-way.html

                Check out my MODX || xPDO resources here: http://www.shawnwilkerson.com
                • 4414
                • 63 Posts
                I unzipped the file locally and moved the MODx folder to /var/www of my local LAMP install (sudo mv ...). Then I followed the install wizard and only made those folders writable I was told to in the last install step.

                That’s why I thought there was no need to make everything writable as with chown -R me:me, but maybe I missed something here.