We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 4385
    • 372 Posts
    I can't get my transport package to load in the manger. The major revision field in the transport package table will only allow a 4 digit integer.

    aaa.modxcloud.com-130923.1950.01-2.2.9-pl

    This question has been answered by bwente. See the first response.

      DropboxUploader -- Upload files to a Dropbox account.
      DIG -- Dynamic Image Generator
      gus -- Google URL Shortener
      makeQR -- Uses google chart api to make QR codes.
      MODxTweeter -- Update your twitter status on publish.
    • Vapor on my localhost produces localhost-130924.0804.35-2.2.9-pl.transport.zip, which installs with no problem. The 130924 is the y-m-d date, and I presume the 0804 is the time.
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 4385
        • 372 Posts
        But it looks like on my installation (MODX Revolution 2.2.9-pl (traditional) the field is too small to accept the value.

        modx_transport_packages
        version_major tinyint(4)
        version_minor tinyint(4)
        version_patch tinyint(4)


        ERROR LOG:
        [2013-09-24 09:04:58] (ERROR @ /connectors/workspace/packages.php) Error 22003 executing statement:
        INSERT INTO `modx_transport_packages` (`signature`, `created`, `state`, `workspace`, `provider`, `disabled`, `source`, `package_name`, `version_major`, `version_minor`, `version_patch`, `release`, `release_index`) VALUES ('aaa.modxcloud.com-130923.1443.44-2.2.9-pl', '2013-09-24 09:04:58', 1, 1, 0, 0, 'aaa.modxcloud.com-130923.1443.44-2.2.9-pl.transport.zip', 'aaa.modxcloud.com', 130923, 1443, 44, '', 2)
        Array
        (
        [0] => 22003
        [1] => 1264
        [2] => Out of range value for column 'version_major' at row 1
        )


          DropboxUploader -- Upload files to a Dropbox account.
          DIG -- Dynamic Image Generator
          gus -- Google URL Shortener
          makeQR -- Uses google chart api to make QR codes.
          MODxTweeter -- Update your twitter status on publish.
        • bwente: Try replacing the dash in this part of the filename "aaa.modxcloud.com-130923" with an underscore. Using Vapor packages as a local Extra should technically work, but it is largely untested and unsupported.
            Mike Schell
            Lead Developer, MODX Cloud
            Email: [email protected]
            GitHub: https://github.com/netProphET/
            Twitter: @mkschell
            • 4385
            • 372 Posts
            Thanks Mike. That got me a little further. But now the signature doesn't match. Susan's setup must be a little different, since I was using her guide and it works for her.

            /*
            * MODX Console Output
            *
            * @date 2013-09-24 09:39:42
            */
            Attempting to install package with signature: aaa.modxcloud.com_130923.1443.44-2.2.9-pl
            
            Package found...now preparing to install.
            
            Could not find package manifest at D:\ModX/core/packages/aaa.modxcloud.com_130923.1443.44-2.2.9-pl/manifest.php
            
            Could not unpack package D:\ModX/core/packages/aaa.modxcloud.com_130923.1443.44-2.2.9-pl.transport.zip to D:\ModX/core/packages/. SIG: aaa.modxcloud.com_130923.1443.44-2.2.9-pl
            
            Could not install package with signature: aaa.modxcloud.com_130923.1443.44-2.2.9-pl
            
            /* EOF */

              DropboxUploader -- Upload files to a Dropbox account.
              DIG -- Dynamic Image Generator
              gus -- Google URL Shortener
              makeQR -- Uses google chart api to make QR codes.
              MODxTweeter -- Update your twitter status on publish.
            • Hm, perhaps try unpacking the .zip, renaming the directory inside to match the changed filename, then recreating the .zip. I've never tried this myself.
                Mike Schell
                Lead Developer, MODX Cloud
                Email: [email protected]
                GitHub: https://github.com/netProphET/
                Twitter: @mkschell
              • Are you sure you are logged in to the Manager of the original site when running Vapor? It will generate the package, but it won't be complete.
                  Studying MODX in the desert - http://sottwell.com
                  Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
                  Join the Slack Community - http://modx.org
                  • 4385
                  • 372 Posts
                  Quote from: sottwell at Sep 24, 2013, 06:01 PM
                  Are you sure you are logged in to the Manager of the original site when running Vapor? It will generate the package, but it won't be complete.

                  Yes, I am logged in. If I logout, I get "Access Denied" when trying to create a vapor export.
                    DropboxUploader -- Upload files to a Dropbox account.
                    DIG -- Dynamic Image Generator
                    gus -- Google URL Shortener
                    makeQR -- Uses google chart api to make QR codes.
                    MODxTweeter -- Update your twitter status on publish.
                  • discuss.answer
                    • 4385
                    • 372 Posts
                    I ended up modifying the field structure to allow a larger integer and it worked. I tried renaming it and re-zipping it but I must have missed one. Plus, I need to do it again because I have made updates since I started.
                      DropboxUploader -- Upload files to a Dropbox account.
                      DIG -- Dynamic Image Generator
                      gus -- Google URL Shortener
                      makeQR -- Uses google chart api to make QR codes.
                      MODxTweeter -- Update your twitter status on publish.
                      • 36722
                      • 101 Posts
                      Changing the field limit did not help in my case. What I did was take the error in the MODX error log and just shorten that entry by hand and then run the query. I just removed 2 characters. I did have to clear the cache for it to show up in the packages then.

                        Shawn Himmelberger
                        Himmelberger Design
                        https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Design | https://himmdesign.com/services/website-development/modx"" target="_blank" rel="nofollow"> MODx Web Development