We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 22303 MODX Staff
    • 10,725 Posts
    Quote from: BobRay at May 04, 2008, 02:35 PM

    As far as the error handling is concerned, it’s a warning not an error (E_WARN). The trouble with suppressing it, though, is that I think permission problems could generate the exact same error on certain iterations and it would be a real error.
    Good point; I’ll review this logic here soon and see if we can’t improve this reporting.

    Quote from: BobRay at May 04, 2008, 02:35 PM

    Could we assume that the core directory will always be called "core" and start performing the mkdir() commands in order following the "core" dir from left to right rather than the other way around? That would eliminate the false errors.
    Nope. The core location is completely configurable (as part of a workspace). I’m running wtf.modxcms.com (and several other domains) on a shared core in a directory called modx097/ outside of my web server’s document root. I have this checked out directly from SVN on the server and this configuration offers easy updates to all of my sites while also providing maximum security since the files are not directly accessible from the web.
      • 28215
      • 4,149 Posts
      There’s now a rough UI of a package builder on the SVN.

      It doesn’t yet work with file vehicles, but if you’re just building components with actual objects and file resolvers, it works fine so far.
        shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
        • 3749
        • 24,544 Posts
        Quote from: splittingred at May 05, 2008, 01:22 PM

        There’s now a rough UI of a package builder on the SVN.

        It doesn’t yet work with file vehicles, but if you’re just building components with actual objects and file resolvers, it works fine so far.

        What’s the difference between a "file vehicle" and a "file resolver" ?

          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting
          • 28215
          • 4,149 Posts
          Quote from: BobRay at May 05, 2008, 03:48 PM

          Quote from: splittingred at May 05, 2008, 01:22 PM

          There’s now a rough UI of a package builder on the SVN.

          It doesn’t yet work with file vehicles, but if you’re just building components with actual objects and file resolvers, it works fine so far.

          What’s the difference between a "file vehicle" and a "file resolver" ?

          Every vehicle has to be attached to an object (ie, a snippet). A resolver tells the builder where the files for that object lie.

          If you wanted to create a package of straight files, with no objects, that is atm not possible, without modFileVehicle - a file holder which acts as an object that you can attach files to - which we’re working on.
            shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
            • 3749
            • 24,544 Posts
            Cool. Can I get a clue to where the Transport UI can be found? I’ve had no luck finding it.
              Did I help you? Buy me a beer
              Get my Book: MODX:The Official Guide
              MODX info for everyone: http://bobsguides.com/modx.html
              My MODX Extras
              Bob's Guides is now hosted at A2 MODX Hosting
              • 28215
              • 4,149 Posts
              Quote from: BobRay at May 05, 2008, 05:28 PM

              Cool. Can I get a clue to where the Transport UI can be found? I’ve had no luck finding it.

              Did you rebuild? You’ll have to do so in order to see it...once you do that, it can be found under Tools -> Package Builder.

              (Note, I always leave a message in the commit log that says "REBUILD REQUIRED" if you need to rebuild to see the new features.)
                shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                • 3749
                • 24,544 Posts
                I don’t know. Maybe I’ve gone blind. I’ve done several builds (3688) and cleared the site and browser caches several times.

                I almost always do a build when I update since it only takes about 40 seconds.

                I’ve attached a screenshot of the tools menu.

                  Did I help you? Buy me a beer
                  Get my Book: MODX:The Official Guide
                  MODX info for everyone: http://bobsguides.com/modx.html
                  My MODX Extras
                  Bob's Guides is now hosted at A2 MODX Hosting
                  • 28215
                  • 4,149 Posts
                  Quote from: BobRay at May 06, 2008, 12:55 AM

                  I don’t know. Maybe I’ve gone blind. I’ve done several builds (3688) and cleared the site and browser caches several times.

                  I almost always do a build when I update since it only takes about 40 seconds.

                  I’ve attached a screenshot of the tools menu.

                  Did you run setup? You need to upgrade after rebuilding.
                    shaun mccormick | bigcommerce mgr of software engineering, former modx co-architect | github | splittingred.com
                    • 3749
                    • 24,544 Posts
                    I hadn’t run setup but after doing it a couple of times now and re-clearing all caches, I still don’t see the Package Builder. Perhaps I’m losing my mind? huh

                    I did have quite a few errors when running setup:

                    Error upgrading table for class modResource
                    Array
                    (
                    [0] => 42000
                    [1] => 1091
                    [2] => Can't DROP 'content_ft_idx'; check that column/key exists
                    )
                    
                    
                    Error upgrading table for class modResource
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'content_type'
                    )
                    
                    
                    Error upgrading table for class modUserGroup
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'parent'
                    )
                    
                    
                    Error upgrading table for class modUserGroup
                    Array
                    (
                    [0] => 42000
                    [1] => 1061
                    [2] => Duplicate key name 'parent'
                    )
                    
                    
                    Error upgrading table for class modUserGroupMember
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'role'
                    )
                    
                    
                    Error upgrading table for class modUserGroupMember
                    Array
                    (
                    [0] => 42000
                    [1] => 1061
                    [2] => Duplicate key name 'role'
                    )
                    
                    
                    Error upgrading table for class modModule
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'disabled'
                    )
                    
                    
                    Error upgrading table for class modUser
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'cachepwd'
                    )
                    
                    Error upgrading table for class modAction
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'lang_foci'
                    )
                    
                    
                    Error upgrading table for class modSystemSetting
                    Array
                    (
                    [0] => 42S22
                    [1] => 1054
                    [2] => Unknown column 'setting_name' in 'modx_system_settings'
                    )
                    
                    
                    Error upgrading table for class modSystemSetting
                    Array
                    (
                    [0] => 42S22
                    [1] => 1054
                    [2] => Unknown column 'setting_value' in 'modx_system_settings'
                    )
                    
                    
                    Error upgrading table for class modSystemSetting
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'xtype'
                    )
                    
                    
                    Error upgrading table for class modContextSetting
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'xtype'
                    )
                    
                    
                    Error upgrading table for class modUserSetting
                    Array
                    (
                    [0] => 42S22
                    [1] => 1054
                    [2] => Unknown column 'setting_name' in 'modx_user_settings'
                    )
                    
                    
                    Error upgrading table for class modUserSetting
                    Array
                    (
                    [0] => 42S22
                    [1] => 1054
                    [2] => Unknown column 'setting_value' in 'modx_user_settings'
                    )
                    
                    
                    Error upgrading table for class modUserSetting
                    Array
                    (
                    [0] => 42S21
                    [1] => 1060
                    [2] => Duplicate column name 'xtype'
                    )
                    
                    
                    Error upgrading table for class modManagerLog
                    Array
                    (
                    [0] => 42S22
                    [1] => 1054
                    [2] => Unknown column 'class_key' in 'modx_manager_log'
                    )
                    
                    
                    Error upgrading table for class modUserMessage
                    Array
                    (
                    [0] => 42S22
                    [1] => 1054
                    [2] => Unknown column 'postdate' in 'modx_user_messages'
                    )
                    
                    
                    Error upgrading table for class modUserMessage
                    Array
                    (
                    [0] => 00000
                    [1] => 1054
                    [2] => Unknown column 'postdate' in 'modx_user_messages'
                    )
                    
                    
                    Error upgrading table for class modUserMessage
                    Array
                    (
                    [0] => 42S22
                    [1] => 1054
                    [2] => Unknown column 'messageread' in 'modx_user_messages'
                    )


                      Did I help you? Buy me a beer
                      Get my Book: MODX:The Official Guide
                      MODX info for everyone: http://bobsguides.com/modx.html
                      My MODX Extras
                      Bob's Guides is now hosted at A2 MODX Hosting
                      • 21257 MODX Staff
                      • 730 Posts
                      Those error messages during upgrade are "normal" at the moment. Maybe javascript is cached in your browser?
                      I just updated 097 on 2 different systems, and although there’s another issue with 097 and PHP4, I am seeing the PackageBuilder. Can’t get it to work yet, but I suspect it’s related to the PHP4 issue.
                        Mike Schell
                        Lead Developer, MODX Cloud
                        Email: [email protected]
                        GitHub: https://github.com/netProphET/
                        Twitter: @mkschell