We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25283
    • 3 Posts

    I have problems installing TinyMCE 4.0.4-rc2 on my webserver via Package Manager in Revolution 2.0.1. Tested it in several environtments. I know it has something to do with the ZIP-Extension which is newer in a later PHP version anyway.

    The problem is, most popular Plesk packages don’t use the newest PHP version (I have 5.2.4) and it’s not that easy to update PHP when using Plesk. Many Managed Hoster don’t use a newer PHP Version either. So it’s actually not a good Idea to force users using the newest php extensions out there since most webservers don’t support them without updating the software, while many people are not able to update ’cause they don’t know how to do it or because of the dependency to their webhoster.

    It’s not a problem to install other packages within Modx. Life was much easier in Evolution, but I don’t want to complain since I’m pretty thankfull for your work.


    PHP warning: ZipArchive::extractTo() [function.ZipArchive-extractTo]: Invalid or unitialized Zip object
    Could not unpack package /var/www/vhosts/abcdefg.de/httpdocs/core/packages/tinymce-4.0.4-rc2.transport.zip to /var/www/vhosts/abcdefg.de/httpdocs/core/packages/. SIG: tinymce-4.0.4-rc2
    xPDOZip: Error opening archive at /var/www/vhosts/abcdefg.de/httpdocs/core/packages/tinymce-4.0.4-rc2.transport.zip
    PHP warning: ZipArchive::close() [function.ZipArchive-close]: Invalid or unitialized Zip object

    Regards,


    Robin
      • 28215
      • 4,149 Posts
      Robin,

      We added a setting for people with a broken ZipArchive extension.

      Find the ’archive_with’ setting and set it to ’Yes’, or 1. This will fix your issue.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 8898
        • 181 Posts
        enigmatic_user Reply #13, 16 years ago
        Hi Shaun,

        where should I send a German translation to?

        Cheers,
        Jan
          This message has been ROT-13 encrypted twice for higher security.
          • 28215
          • 4,149 Posts
          Either fork the TinyMCE repo on GitHub (http://github.com/splittingred/TinyMCE/) or send it to me at shaun at modx dot com.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 162
            • 6 Posts
            Hello!

            I am currently using modx revo 2.0.2 with TinyMCE 4.0.4 rc1.
            And I noticed strange behavior. Let’s say we have 2 paragraphs of text typed in WYSIWYG mode.
            Something like this:
            <p>This is paragraph one.</p>
            <p>This is paragraph two.</p>

            At this point all works fine.
            After switching to html editing mode and pressing Update button (without changing anything) unwanted newlines appear after each paragraph. Though they do not affect the content and are not displayed at the front-end, they are confusing.

            It looks like it is not a modx plugin problem but strange configuration of tinyMCE (demo on official site works fine).
            Don’t know where to find a solution for this.

            Can anyone help? Do you have the same behavior of tinymce in your back-end?

            Thanx.
              • 11055 ☆ A M B ☆
              • 3,112 Posts
              indeed.

              after saving the resources, refresh the browser.
              you’ll see the appropriate format.
                Rico
                Genius is one percent inspiration and ninety-nine percent perspiration. Thomas A. Edison
                MODx is great, but knowing how to use it well makes it perfect!

                www.virtudraft.com

                Security, security, security! | Indonesian MODx Forum | MODx Revo's cheatsheets | MODx Evo's cheatsheets

                Author of Easy 2 Gallery 1.4.x, PHPTidy, spieFeed, FileDownload R, Upload To Users CMP, Inherit Template TV, LexRating, ExerPlan, Lingua, virtuNewsletter, Grid Class Key, SmartTag, prevNext

                Maintainter/contributor of Babel

                Because it's hard to follow all topics on the forum, PING ME ON TWITTER @_goldsky if you need my help.
                • 162
                • 6 Posts
                As I said before it doesn’t affect the content, so after saving all is displayed ok. But it is totally confusing for a user editing document content.
                  • 162
                  • 6 Posts
                  Looks like I’ve fixed the problem.

                  1. Updated to tinymce rc2 addon version
                  2. Turned ’preformatted’ flag off (tinymce plugin default parameters).
                  3. Clear site cache.

                  Thanx everyone.


                  PS. Toggling that flag on rc1 version didn’t affected this behavior.
                    • 20288
                    • 132 Posts
                    I’m having problems with this update. I documented my problem here, so I won’t double post.

                    http://modxcms.com/forums/index.php/topic,53153.msg315610.html#msg315610