We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 30094
    • 5 Posts
    I am unable to install TinyMCE on a fresh revolution installation. I have successfully installed other packages. The package installer complains at each stage that the package was not found, despite the fact that tinymce-4.0.4-rc2.transport.zip is clearly present in core/packages. Dismissing these complaints and continuing anyway, I get:


    Console running...
    Attempting to install package with signature: tinymce-4.0.4-rc2
    xPDOZip: Error opening archive at /usr/local/www/********.co.uk/docroot/modx/core/packages/tinymce-4.0.4-rc2.transport.zip
    Could not unpack package /usr/local/www/********.co.uk/docroot/modx/core/packages/tinymce-4.0.4-rc2.transport.zip to /usr/local/www/********.co.uk/docroot/modx/core/packages/. SIG: tinymce-4.0.4-rc2
    Could not install package with signature: tinymce-4.0.4-rc2
    PHP warning: ZipArchive::close() [ziparchive.close]: Invalid or unitialized Zip object
    Package found...now preparing to install.
    PHP warning: ZipArchive::extractTo() [ziparchive.extractto]: Invalid or unitialized Zip object


    I’ve chown’ed everything (ie the entire installation) to the user the webserver runs as.

    MODx is Revolution 2.0.0-pl rev7212
    PHP Version 5.2.6-2ubuntu4.6
    PDO Driver for MySQL, client library version 5.0.67
    MySQL Server version: 5.0.67-0ubuntu6-log
    Zip enabled
    Extension Version $Id: php_zip.c,v 1.1.2.43 2008/01/18 00:51:38 pajoye Exp $
    Zip version 1.8.11
    Libzip version 0.8.0-compatible

    There is a note on the package page about "make sure you have the latest ZipArchive extension for PHP", but it’s not clear what version is required or what the issues are. As I mentioned, other packages install fine.
      • 32075
      • 13 Posts
      Getting same error on a shared host under PHP 5.2.6 / Linux, Installing of other packages without any problems. Tried to turn of magic_quotes but this didn’t help and gave me performances problems because of losing the advantage of php caching through own php.ini.
      PHP Core
      Directive	Local Value	Master Value
      allow_call_time_pass_reference	On	On
      allow_url_fopen	Off	Off
      allow_url_include	Off	Off
      always_populate_raw_post_data	Off	Off
      arg_separator.input	&	&
      arg_separator.output	&	&
      asp_tags	Off	Off
      auto_append_file	no value	no value
      auto_globals_jit	On	On
      auto_prepend_file	no value	no value
      browscap	no value	no value
      default_charset	no value	no value
      default_mimetype	text/html	text/html
      define_syslog_variables	Off	Off
      detect_unicode	On	On
      disable_classes	no value	no value
      disable_functions	no value	no value
      display_errors	On	On
      display_startup_errors	Off	Off
      doc_root	no value	no value
      docref_ext	no value	no value
      docref_root	no value	no value
      enable_dl	On	On
      error_append_string	no value	no value
      error_log	error_log	error_log
      error_prepend_string	no value	no value
      error_reporting	6135	6135
      expose_php	On	On
      extension_dir	/usr/local/lib/php/extensions/no-debug-zts-20060613	/usr/local/lib/php/extensions/no-debug-zts-20060613
      file_uploads	On	On
      highlight.bg	#FFFFFF	#FFFFFF
      highlight.comment	#FF8000	#FF8000
      highlight.default	#0000BB	#0000BB
      highlight.html	#000000	#000000
      highlight.keyword	#007700	#007700
      highlight.string	#DD0000	#DD0000
      html_errors	On	On
      ignore_repeated_errors	Off	Off
      ignore_repeated_source	Off	Off
      ignore_user_abort	Off	Off
      implicit_flush	Off	Off
      include_path	.:/usr/lib/php:/usr/local/lib/php	.:/usr/lib/php:/usr/local/lib/php
      log_errors	On	On
      log_errors_max_len	1024	1024
      magic_quotes_gpc	On	On
      magic_quotes_runtime	Off	Off
      magic_quotes_sybase	Off	Off
      mail.force_extra_parameters	no value	no value
      max_execution_time	20	20
      max_input_nesting_level	64	64
      max_input_time	60	60
      memory_limit	64M	64M
      open_basedir	no value	no value
      output_buffering	no value	no value
      output_handler	no value	no value
      post_max_size	32M	32M
      precision	12	12
      realpath_cache_size	16K	16K
      realpath_cache_ttl	120	120
      register_argc_argv	On	On
      register_globals	Off	Off
      register_long_arrays	On	On
      report_memleaks	On	On
      report_zend_debug	On	On
      safe_mode	Off	Off
      safe_mode_exec_dir	no value	no value
      safe_mode_gid	Off	Off
      safe_mode_include_dir	no value	no value
      sendmail_from	no value	no value
      sendmail_path	/usr/sbin/sendmail -t -i	/usr/sbin/sendmail -t -i
      serialize_precision	100	100
      short_open_tag	On	On
      SMTP	localhost	localhost
      smtp_port	25	25
      sql.safe_mode	Off	Off
      track_errors	Off	Off
      unserialize_callback_func	no value	no value
      upload_max_filesize	32M	32M
      upload_tmp_dir	no value	no value
      user_dir	no value	no value
      variables_order	EGPCS	EGPCS
      xmlrpc_error_number	0	0
      xmlrpc_errors	Off	Off
      y2k_compliance	On	On
      zend.ze1_compatibility_mode	Off
      zip
      Zip 	enabled
      Extension Version 	$Id: php_zip.c,v 1.1.2.43 2008/01/18 00:51:38 pajoye Exp $
      Zip version 	1.8.11
      Libzip version 	0.8.0-compatible 
      PDO Driver for MySQL, client library version	5.0.89
      
      eAccelerator
      eAccelerator support	enabled
      Version 	0.9.5.3
      Caching Enabled 	true
      Optimizer Enabled 	true
      Memory Size 	33,554,368 Bytes
      Memory Available 	24,943,336 Bytes
      Memory Allocated 	8,611,032 Bytes
      Cached Scripts 	199
      Removed Scripts 	0
      Cached Keys 	0
      
      Directive	Local Value	Master Value
      eaccelerator.allowed_admin_path	no value	no value
      eaccelerator.cache_dir	/tmp/eaccelerator	/tmp/eaccelerator
      eaccelerator.check_mtime	1	1
      eaccelerator.compress	1	1
      eaccelerator.compress_level	9	9
      eaccelerator.debug	0	0
      eaccelerator.enable	1	1
      eaccelerator.filter	no value	no value
      eaccelerator.log_file	no value	no value
      eaccelerator.name_space	no value	no value
      eaccelerator.optimizer	1	1
      eaccelerator.shm_max	0	0
      eaccelerator.shm_only	1	1
      eaccelerator.shm_prune_period	0	0
      eaccelerator.shm_size	32	32
      eaccelerator.shm_ttl	0	0


      Any hints? Or ideas how to install it manually (installed it in a MAMP installtion under 5.2.3 without any problems but exporting and importing the plugin configurations didn’t work)
      Many thanks in advance
      webbear
        • 11055 ☆ A M B ☆
        • 3,112 Posts
        TMCE package size is more than 2MB.
        Perhaps that’s what makes the downloading fails, it reaches its time out.

        Try to download the package manually, upload it to your server via FTP, and search the package locally.
          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.
          • 32075
          • 13 Posts
          Thanks for the hint. That was something I tried , too, but without success. If I could change any configuration and/or even update the php version I’d do it but as it is on a shared host environment I have no chance (and no permission) sad
            • 28000 ☆ A M B ☆
            • 397 Posts
            We also cannot install the latest TinyMCE revo release.

            Zip enabled
            Extension Version $Id: php_zip.c,v 1.1.2.38 2007/08/06 22:02:32 bjori Exp $
            Zip version 2.0.0
            Libzip version 0.7.1

            Apache Version Apache/2.2.8 (Ubuntu) mod_jk/1.2.25 mod_python/3.3.1 Python/2.5.2 PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g mod_perl/2.0.3 Perl/v5.8.8

            How can we install it manually? Or does it need to be installed through the package management tool?

            Thanks,
            Ben
              Benjamin Davis: American web designer living in Munich, Germany and a MODX Ambassador. I am also co-founder of SEDA.digital, a MODX Agency.
              • 28215
              • 4,149 Posts
              splittingred Reply #6, 16 years ago
              You’ll need to upgrade your libzip extension to at least 0.9.0, or wait until 2.0.1, where we added a patch to allow you to fallback to PCLZip.
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 4744
                • 1 Posts
                Any idea about how long we’ll have to wait for 2.0.1?
                  • 28215
                  • 4,149 Posts
                  splittingred Reply #8, 16 years ago
                  Not long. Next few weeks.
                    shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                    • 12320
                    • 88 Posts
                    same probleme with the revolution 2.0.2
                    anoying to have a revolution without tinyMce...
                    and my server is up to date with zip library

                    as a clue, i get the same problem with softmanagertheme

                    are you sure that the revolution is ready for production site ?
                      Thanks to the authors of the following code :
                      Easy Newsletter (module)
                      SiteMap (snippet)
                      Codepress (Plugins)
                      Strict URLs (Plugins)
                      Virtual Aliases (Plugins)
                      Maxygallery (snippet)
                      • 28215
                      • 4,149 Posts
                      Quote from: Focoweb at Sep 17, 2010, 12:06 PM

                      same probleme with the revolution 2.0.2
                      anoying to have a revolution without tinyMce...
                      and my server is up to date with zip library
                      as a clue, i get the same problem with softmanagertheme
                      are you sure that the revolution is ready for production site ?

                      Yes, it very much is ready for production, but you’re probably using a broken ZipArchive extension.

                      We added a fix in 2.0.1/2.0.2 that allows you to bypass ZipArchive and use PCLZip instead. Find the ’archive_with’ System Setting, and set it to "Yes" or 1.
                        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com