We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 28100
    • 66 Posts
    Hi, I did a fresh install of Revo today (Mac - XAMPP) and got the following errors when installing TinyMCE:

    Console running...
    Attempting to install package with signature: tinymce-3.2.7.0-beta1
    Package found...now preparing to install.
    Grabbing package workspace...
    Workspace environment initiated, now installing package...
    Could not create target directory /Applications/XAMPP/xamppfiles/htdocs/modx2/assets/components
    Could not copy /Applications/XAMPP/xamppfiles/htdocs/modx2/core/packages/tinymce-3.2.7.0-beta1/modPlugin/5bc5cda532394bdd6b99e59d960d6e3a/1/ to /Applications/XAMPP/xamppfiles/htdocs/modx2/assets/components/
    Attempting to preserve files at /Applications/XAMPP/xamppfiles/htdocs/modx2/core/components/ into archive /Applications/XAMPP/xamppfiles/htdocs/modx2/core/packages/tinymce-3.2.7.0-beta1/modPlugin/5bc5cda532394bdd6b99e59d960d6e3a.2.preserved.zip
    Error packing /Applications/XAMPP/xamppfiles/htdocs/modx2/core/components/tinymce to /Applications/XAMPP/xamppfiles/htdocs/modx2/core/packages/tinymce-3.2.7.0-beta1/modPlugin/5bc5cda532394bdd6b99e59d960d6e3a.2.preserved.zipPCLZIP_ERR_MISSING_FILE (-4) : File '/Applications/XAMPP/xamppfiles/htdocs/modx2/core/components/tinymce' does not exists
    Error writing preserved objects to /Applications/XAMPP/xamppfiles/htdocs/modx2/core/packages/tinymce-3.2.7.0-beta1/preserved.php
    Successfully installed package tinymce-3.2.7.0-beta1


    Tiny shows as being installed in Elements/plugins but doesn’t appear on resource creation/editing.

    I have tried removing it and reinstalling (a couple of times) but no change. Is there something else I need to do to enable it? This is my first day trying out Revo so it’s possible I missed something ... smiley


    Edit:
    The error messages in the console will be to do with my XAMPP installation. Installing other plugins also gives me errors (Breadcrumbs, UltimateParent) so the problem I’m really wanting to solve is how to get Tiny working.

    But it would also be nice to know for sure how to install plugins/snippets etc manually.
    Cheers!
      • 28215
      • 4,149 Posts
      Are the core/components/ and assets/components/ directories writable by your webserver?

      By this line, I would assume not:
      Could not create target directory /Applications/XAMPP/xamppfiles/htdocs/modx2/assets/components


      Also, you’ll have to set Revo to use TinyMCE by changing the System Setting use_editor to Yes, and which_editor to TinyMCE.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 28100
        • 66 Posts
        I can’t find the "use_editor" option but checked in the db and it’s set to "1" ... and which_editor is set to use TinyMCE.

        I set up an assets directory (which is read/write for everyone) to transfer over my templates from Evo and that was also read/write otherwise the above error message would be different and would say:
        Could not create target directory /Applications/XAMPP/xamppfiles/htdocs/modx2/assets


        I’m fairly sure this is because of XAMPP being installed in Applications and the Mac OS X permissions system. It’s unlikely there is any easy way around this except to create the necessary directories myself then make sure they’re read/write (which requires admin user authentication).

        I am in the process of setting up another webserver on my NAS, but it’s likely other Mac XAMPP users are also going to have this problem too.

        Thanks! wink