We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 37059
    • 368 Posts
    I tried reverting the offending line in 2.1.3, i.e in /connectors/layout/modx.config.js.php I changed
    $_SERVER['HTTP_MODAUTH'] = $_SESSION["modx.{$modx->context->get('key')}.user.token"];
    

    to
    <?php
    $_SERVER['HTTP_MODAUTH'] = $modx->site_id;
    

    Unfortunately, even this did not work to stop the "access denied" error and let Provisioner into the site. Worse, it actually broke the manager and I had to change it back in a hurry. (The left pane disappeared, among other things.) So, I’m afraid it isn’t as simple as reverting that line. Which is too bad, because I REALLY NEED PROVISIONER!! :’(
      Jason
      • 37059
      • 368 Posts
      Also, I suggest that the package page and the in-repository description of Provisioner be changed to reflect the fact that it doesn’t work with the latest release of Revo as the remote site. The package page still says it works up to 2.1.x.
        Jason
        • 37059
        • 368 Posts
        I did manage to get Provisioner to work for the site I’m doing, by "downgrading" a copy of the master site to 2.0.1. (According to the devs, downgrading is a meaningless concept in MODx, but it worked) smiley
          Jason
          • 26903
          • 1,336 Posts
          Thanks for your work here, I’ll look at the annotation for what Provisioner works with but if I remember correctly you can only select what the pulldown on the extras page supplies which says ’2.1.x’, if this breaks between 2.1.1 and 2.1.3 there’s no way of showing this.
            Use MODx, or the cat gets it!
            • 37059
            • 368 Posts
            Quote from: shamblett at Aug 16, 2011, 12:23 PM

            Thanks for your work here, I’ll look at the annotation for what Provisioner works with but if I remember correctly you can only select what the pulldown on the extras page supplies which says ’2.1.x’, if this breaks between 2.1.1 and 2.1.3 there’s no way of showing this.
            How ’bout a nice big message in the description that says "HEY YOU! PROVISIONER WILL NOT WORK WITH THE CURRENT MODX RELEASE!" smiley

            Personally I spent a lot of time wandering in a frustrating circle before finding this thread....
              Jason
              • 26903
              • 1,336 Posts
              It will work with the current MODX release, you can install it in 2.1.3 and connect to a 2.0.8 site say, you just can’t connect it to a 2.1.3 site or above presumably, I could add this to the description though as you say.
                Use MODx, or the cat gets it!
                • 37059
                • 368 Posts
                Quote from: shamblett at Aug 16, 2011, 03:28 PM

                It will work with the current MODX release, you can install it in 2.1.3 and connect to a 2.0.8 site say, you just can’t connect it to a 2.1.3 site or above presumably, I could add this to the description though as you say.
                Yeah, I realize that - just didn’t put it quite right wink
                  Jason
                  • 17851
                  • 213 Posts
                  Sorry if this was addressed in the thread, but it's 12 pages now....

                  I've got Revo 2.1.3-pl and I'm trying to get Provisioner 1.9 beta. It's obviously not avail in the package installer, but i've copied the zip to core/packages and try to install from local, and it does nothing. It's like it doesn't find it. I've got Provisioner 1.0 installed, but how can I upgrade or otherwise get 1.9 installed?
                    Mark Macatee
                    President
                    Power 10 Solutions
                    http://www.power10solutions.com
                    • 26903
                    • 1,336 Posts
                    Provisioner 1.0 is the latest version, its a pl release, 1.9 is beta, that's why it won't find it, a pl release trumps a beta release no matter what the number.
                      Use MODx, or the cat gets it!
                      • 36926
                      • 701 Posts
                      Hi,

                      This looks an awesome snippet, but have slight issue. I'm trying to do the following:

                      Import a evo 1.0.5 site into a revo 2.1.1 site. (both are running on local installs)

                      I can log in fine and can see the resources and users etc, but when i try an perform Evolution Site Import i get the following error after hitting the import button:
                      "The site import failed - Cannot get remote resource"

                      I saw this issue mentioned in the thread but didn't see any solution. These are the logs i get.
                      Revo:
                      Import started at - 20-10-11-1231
                      --------------------------------------

                      12:31:41 : >>>>Getting resources .........

                      And in the evo event table:

                      Event Id: 0 Source: RevoGateway
                      Date: 20-10-2011 12:31:41 User:
                      Getting all resources


                      Any ideas?

                      Thanks

                      Ben