We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10997
    • 27 Posts
    I’m trying to get get started with Revo, and am a long time Evo user. However, the package management is apparently giving me some fits.

    I have to manually download the packages I want to install to my local machine. When I try to search/install from the manager... I get nothing. No list of files, nothing on search... nuttin’. If I click on the ’most popular’ links that pop up, I get the page for manual download. I’m sure I’m screwing something up here. I know I am. Please, tell me what it is.

    I have managed to download and install TinyMCE(it says installed and is listed in the Elements tree), however, it is not available in Site Settings to use as the RTE. Any idea on how to get this going. Not having an RTE is gonna be a dealbreaker, I’m afraid.

    I want to make this thing work, it looks great, but I’m banging my head pretty hard right now. I’ve been through the forums, and I see where others have had this problem. But none of those fixes seem to be doing the trick.

    So... in summary. Package Manager broken. Can’t get TinyMCE to work. Please help!

    Using XAMPP for windows - latest 1.7.3
    php 5.3.1
    MODX 2.0 rc1

    If this is in the wrong place, please let me know where to post

    Thanks!
      • 10997
      • 27 Posts
      OK. So I must’ve asked the question poorly.

      Can someone give me an idea of what sort of information I’ll need to provide to get some help on getting the Package Manager stuff to work?

      Thanks!
        • 10997
        • 27 Posts
        OK. So I wiped the entire installation, reinstalled everything... from XAMPP on up to TinyMCE. Still no dice.

        I checked to see that sockets were enabled, and they were, but I still get bunches o’ blank directories when checking out the rest.modxcms.com package repository.

        I am at a whale of a loss here and am beggin’ for some help. huh :’(


        Here is the output log from the TinyMCE installation. Note, it says successful installation, and shows as installed in the Package Manager - but has several errors in the log below (I cut out the restatement of the licences (which was in there THREE times)and some TinyMCE stuff at the end in an effort to get it under the posting-character-limit):
        /*
         * MODx Console Output
         *
         * @date 2010-05-07 12:35:50
         */
        Attempting to install package with signature: tinymce-3.2.7.0-rc3
        
        Package found...now preparing to install.
        
        Grabbing package workspace...
        
        Workspace environment initiated, now installing package...
        
        Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modPluginEvent.event' in 'where clause'
        )
        
        
        Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modPluginEvent.event' in 'where clause'
        )
        
        
        Error 23000 executing statement:
        INSERT INTO `modx_site_plugin_events` (`pluginid`, `evtid`, `priority`, `propertyset`) VALUES ('2', '0', '0', '0')
        Array
        (
            [0] => 23000
            [1] => 1062
            [2] => Duplicate entry '2-0' for key 'PRIMARY'
        )
        
        
        Error saving vehicle object: Array
        (
            [license] => GPL STUFF!!!!!!!
            [readme] => Please consult the HTML documentation for details.
        
        
            [action] => install
            [signature] => 3859b4caff985f743fe577dcc583755f
            [register] => mgr
            [topic] => /workspace/package/install/tinymce-3.2.7.0-rc3/
            [package_action] => 0
            [vehicle_package] => transport
            [vehicle_class] => xPDOObjectVehicle
            [class] => modPluginEvent
            [guid] => cb32fd2d7df3d1def56dde03da8e4dd3
            [native_key] => Array
                (
                    [0] => 0
                    [1] => OnRichTextEditorRegister
                )
        
            [filename] => modPlugin/0c5dbc5370180933649206bc8d4171d6.vehicle
            [namespace] => tinymce
            [preserve_keys] => 1
            [update_object] => 
            [unique_key] => Array
                (
                    [0] => pluginid
                    [1] => event
                )
        
            [object] => {"pluginid":0,"event":"OnRichTextEditorRegister","priority":0,"propertyset":0}
        )
        
        
        Error 42S22 executing statement: 
        Array
        (
            [0] => 42S22
            [1] => 1054
            [2] => Unknown column 'modPluginEvent.event' in 'where clause'
        )
        
        
        Error 23000 executing statement:
        INSERT INTO `modx_site_plugin_events` (`pluginid`, `evtid`, `priority`, `propertyset`) VALUES ('2', '0', '0', '0')
        Array
        (
            [0] => 23000
            [1] => 1062
            [2] => Duplicate entry '2-0' for key 'PRIMARY'
        )
        
        
        Error saving vehicle object: Array
        (
            [license] => LICENCESTUFF AGAIN
            [readme] => Please consult the HTML documentation for details.
        
        
            [action] => install
            [signature] => 41437ddac8c011758d1fc101d38e696c
            [register] => mgr
            [topic] => /workspace/package/install/tinymce-3.2.7.0-rc3/
            [package_action] => 0
            [vehicle_package] => transport
            [vehicle_class] => xPDOObjectVehicle
            [class] => modPluginEvent
            [guid] => 7937c8e8334099f4d28fa2a7b0a23fe7
            [native_key] => Array
                (
                    [0] => 0
                    [1] => OnRichTextEditorInit
                )
        
            [filename] => modPlugin/0c5dbc5370180933649206bc8d4171d6.vehicle
            [namespace] => tinymce
            [preserve_keys] => 1
            [update_object] => 
            [unique_key] => Array
                (
                    [0] => pluginid
                    [1] => event
                )
        
            [object] => {"pluginid":0,"event":"OnRichTextEditorInit","priority":0,"propertyset":0}
        )
        
        
        Could not install related objects for vehicle: Array
        (
            [license] => LICENSCE STUFF AGAIN!!!!!!
            [readme] => Please consult the HTML documentation for details.
        
        
            [action] => install
            [signature] => 0c5dbc5370180933649206bc8d4171d6
            [register] => mgr
            [topic] => /workspace/package/install/tinymce-3.2.7.0-rc3/
            [package_action] => 0
            [vehicle_package] => transport
            [vehicle_class] => xPDOObjectVehicle
            [class] => modPlugin
            [guid] => cd683256e6a762f27b6e840d73e15ac1
            [native_key] => 1
            [filename] => modPlugin/0c5dbc5370180933649206bc8d4171d6.vehicle
            [namespace] => tinymce
            [unique_key] => name
            [preserve_keys] => 
            [update_object] => 1
            [related_objects] => Array
                (
                    [PluginEvents] => Array
                        (
                            [b57c5daf69073e646377cbbb9810e7ac] => Array
                                (
                                    [preserve_keys] => 1
                                    [update_object] => 
                                    [unique_key] => Array
                                        (
                                            [0] => pluginid
                                            [1] => event
                                        )
        
                                    [class] => modPluginEvent
                                    [object] => {"pluginid":0,"event":"OnRichTextBrowserInit","priority":0,"propertyset":0}
                                    [guid] => fa6c9ddd5431403de68858862663d8d1
                                    [native_key] => Array
                                        (
                                            [0] => 0
                                            [1] => OnRichTextBrowserInit
                                        )
        
                                    [signature] => 3a5bc051e6aab2eb098bd59318db0674
                                )
        
                            [ca0c86202aa0c925423ef23242bbe539] => Array
                                (
                                    [preserve_keys] => 1
                                    [update_object] => 
                                    [unique_key] => Array
                                        (
                                            [0] => pluginid
                                            [1] => event
                                        )
        
                                    [class] => modPluginEvent
                                    [object] => {"pluginid":0,"event":"OnRichTextEditorRegister","priority":0,"propertyset":0}
                                    [guid] => cb32fd2d7df3d1def56dde03da8e4dd3
                                    [native_key] => Array
                                        (
                                            [0] => 0
                                            [1] => OnRichTextEditorRegister
                                        )
        
                                    [signature] => 3859b4caff985f743fe577dcc583755f
                                )
        
                            [4a6582fc4e5784d718242095ce891d32] => Array
                                (
                                    [preserve_keys] => 1
                                    [update_object] => 
                                    [unique_key] => Array
                                        (
                                            [0] => pluginid
                                            [1] => event
                                        )
        
                                    [class] => modPluginEvent
                                    [object] => {"pluginid":0,"event":"OnRichTextEditorInit","priority":0,"propertyset":0}
                                    [guid] => 7937c8e8334099f4d28fa2a7b0a23fe7
                                    [native_key] => Array
                                        (
                                            [0] => 0
                                            [1] => OnRichTextEditorInit
                                        )
        
                                    [signature] => 41437ddac8c011758d1fc101d38e696c
                                )
        
                        )
        
                )
        
            [related_object_attributes] => Array
                (
                    [PluginEvents] => Array
                        (
                            [preserve_keys] => 1
                            [update_object] => 
                            [unique_key] => Array
                                (
                                    [0] => pluginid
                                    [1] => event
                                )
        
                        )
        
                )
        
            [resolve] => Array
                (
                    [0] => Array
                        (
                            [type] => file
                            [body] => {"source":"tinymce-3.2.7.0-rc3\/modPlugin\/0c5dbc5370180933649206bc8d4171d6\/0\/","target":"return MODX_ASSETS_PATH . 'components\/';","name":"tinymce"}
                        )
        
                    [1] => Array
                        (
                            [type] => file
                            [body] => {"source":"tinymce-3.2.7.0-rc3\/modPlugin\/0c5dbc5370180933649206bc8d4171d6\/1\/","target":"return MODX_CORE_PATH . 'components\/';","name":"tinymce"}
                        )
        
                )
        
            [validate] => 
            [package] => modx
            [object] => {"id":1,"name":"TinyMCE","description":"TinyMCE 3.2.7.0-rc3 plugin for MODx Revolution","editor_type":0,"category":0,"cache_type":0,"plugincode":"\/**\n * TinyMCE RichText Editor Plugin\n *\n * Events: OnRichTextEditorInit, OnRichTextEditorRegister,\n * OnBeforeManagerPageInit, OnRichTextBrowserInit\n *\n * @author Jeff Whitfield \n * @author Shaun McCormick \n *\n * @package tinymce\n * @subpackage build\n *\/\nrequire_once $modx->getOption('tiny.core_path',$config,$modx->getOption('core_path').'components\/tinymce\/').'tinymce.class.php';\n$tiny = new TinyMCE($modx,$scriptProperties);\n\n\/* Handle event *\/\nswitch ($modx->event->name) {\n    case 'OnRichTextEditorRegister': \/* register only for backend *\/\n        $modx->event->output('TinyMCE');\n        break;\n\n    case 'OnRichTextEditorInit':\n        if ($modx->getOption('use_editor',null,false) && $modx->getOption('which_editor') == 'TinyMCE') {\n            $elementList = implode(',',$elements);\n            if (isset($forfrontend) || $modx->isFrontend()) {\n                $def = $modx->getOption('manager_language',null,'en');\n                $tiny->config['language'] = $modx->getOption('fe_editor_lang',array(),$def);\n                $tiny->config['frontend'] = true;\n                unset($def);\n            }\n            $html = $tiny->initialize();\n            $modx->event->output($html);\n            unset($html);\n        }\n        break;\n    case 'OnBeforeManagerPageInit':\n        \/\/if ($modx->getOption('use_editor',null,false)) {\n        \/\/    $html = $tiny->initialize();\n        \/\/    $modx->event->output($html);\n        \/\/}\n        break;\n    case 'OnRichTextBrowserInit':\n        if ($modx->getOption('use_editor',null,false) && $modx->getOption('which_editor') == 'TinyMCE') {\n            $modx->regClientStartupScript($tiny->config['assets_url'].'jscripts\/tiny_mce\/tiny_mce_popup.js');\n            $modx->regClientStartupScript($tiny->config['assets_url'].'jscripts\/tiny_mce\/langs\/en.js');\n            $modx->regClientStartupScript($tiny->config['assets_url'].'tiny.browser.js');\n            $modx->event->output('Tiny.browserCallback');\n        }\n        return '';\n        break;\n\n   default: break;\n}\nreturn;","locked":0,"properties":"a:40:{s:22:\"accessibility_warnings\";a:5:{s:4:\"name\";s:22:\"accessibility_warnings\";s:4:\"desc\";s:315:\ <DELTED TINYMCE STUFF TO SAVE SPACE
        )
        
        
        Successfully installed package tinymce-3.2.7.0-rc3
        
        
        /* EOF */
        
          • 27838
          • 7 Posts
          I have the same XAMPP setup on Windows with the same problem. Could be a coincidence, but my hosting provider set up Revo on his box and I can use package manager without problems (i.e. list of packages populate properly). Sorry, I’m not much help here, except to confirm that my similar setup produces the same result.

          If I manually download packages, I can use the package manager to install them btw.

          S.
            • 22303 MODX Staff
            • 10,725 Posts
            Can one of you reveal at least their core section from phpinfo? Feel free to modify any paths in it if you don’t feel comfortable sharing publicly or you can PM me a phpinfo link.
              • 27838
              • 7 Posts
              Quote from: OpenGeek at May 07, 2010, 04:41 PM

              Can one of you reveal at least their core section from phpinfo? Feel free to modify any paths in it if you don’t feel comfortable sharing publicly or you can PM me a phpinfo link.

              Mailed my Core section to you.

              Thanks for your help!
                • 10997
                • 27 Posts
                This is a local set up for me, so I’ll post whatever you want from phpinfo() lemme know what you need!!

                I did go to the rc2 version of TinyMCE and it seems to work. However, the Package Retriever is still broken.

                Thanks!!

                PHP Version 	5.3.1
                
                Directive	Local Value	Master Value
                allow_call_time_pass_reference	On	On
                allow_url_fopen	On	On
                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	D:\Server\xampp\php\extras\browscap.ini	D:\Server\xampp\php\extras\browscap.ini
                default_charset	no value	no value
                default_mimetype	text/html	text/html
                define_syslog_variables	Off	Off
                disable_classes	no value	no value
                disable_functions	no value	no value
                display_errors	On	On
                display_startup_errors	On	On
                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	no value	no value
                error_prepend_string	no value	no value
                error_reporting	22519	22519
                exit_on_timeout	Off	Off
                expose_php	On	On
                extension_dir	D:\Server\xampp\php\ext	D:\Server\xampp\php\ext
                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	.;D:\Server\xampp\php\PEAR	.;D:\Server\xampp\php\PEAR
                log_errors	Off	Off
                log_errors_max_len	1024	1024
                magic_quotes_gpc	Off	Off
                magic_quotes_runtime	Off	Off
                magic_quotes_sybase	Off	Off
                mail.add_x_header	Off	Off
                mail.force_extra_parameters	no value	no value
                mail.log	no value	no value
                max_execution_time	60	60
                max_file_uploads	20	20
                max_input_nesting_level	64	64
                max_input_time	60	60
                memory_limit	128M	128M
                open_basedir	no value	no value
                output_buffering	no value	no value
                output_handler	no value	no value
                post_max_size	128M	128M
                precision	14	14
                realpath_cache_size	16K	16K
                realpath_cache_ttl	120	120
                register_argc_argv	On	On
                register_globals	Off	Off
                register_long_arrays	Off	Off
                report_memleaks	On	On
                report_zend_debug	On	On
                request_order	no value	no value
                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	no value	no value
                serialize_precision	100	100
                short_open_tag	Off	Off
                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	128M	128M
                upload_tmp_dir	D:\Server\xampp\tmp	D:\Server\xampp\tmp
                user_dir	no value	no value
                user_ini.cache_ttl	300	300
                user_ini.filename	.user.ini	.user.ini
                variables_order	GPCS	GPCS
                xmlrpc_error_number	0	0
                xmlrpc_errors	Off	Off
                y2k_compliance	On	On
                zend.enable_gc	On	On
                
                  • 21872
                  • 95 Posts
                  Is the package manager empty? I can’t tell if you’re describing the same problem described in http://modxcms.com/forums/index.php/topic,47609.msg279529.html (blank package management).
                    • 10997
                    • 27 Posts
                    So, problem solved. Here’s the deal.

                    It appears that sockets alone won’t allow for Package Retriever to do it’s thing. cURL enabled, and voila - a full list o’ packages.

                    Also, the TinyMCE problem - the most recent RC for TinyMCE states it is for 2.0.0 rc2, not the rc1. I’m guessing that the rc2 is available in the SVN repository or somesuch.

                    Thanks everyone for the help - now to see if I can sort out Revolution!

                      • 21606
                      • 46 Posts
                      I’m a newbie as well and am struggling with the TinyMCE installation as described by GOATC...using Revo on xampp 1.7.3, php 5.3.1.

                      Got the same error results described above and couldn’t clearly interpret what GOATC’s final resolution was saying so I removed the rc3 version of TinyMCE and got rc2 to install with no errors.

                      I still have no indication that the editor is working because there are no buttons or other clues that the editor is in use.

                      Have set the system properties to use the editor, and which editor to use, so I think I got the obvious items, but what else?

                      If GOATC could provide a bit more info regarding your solution that’d sure help, otherwise does anyone else have a solution?