We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 26903
    • 1,336 Posts
    Ok, this would explain why the import fails, what’s in your webserver access logs on the remote evo site? You should see a ’getlist’ entry when you do the import, its odd that the the rest of the package is working OK, so the gateway is installed and working as you’ve found out. The entry should be something like this :- ’/assets/snippets/revogateway/connectors/index.php?action=getall&entity=resources’
      Use MODx, or the cat gets it!
      • 26422
      • 107 Posts
      I’m having trouble with an Evo 1.0.4 import. I had to change the snippets directory permission to 745 just to get Provisioner to connect but now when I click on any of the tabs none of the resources, elements etc. appear. there doesn’t seem to be anything in the logs.

      Any ideas?

        Crawford Paul

        Bridgecourt Web Design - Proudly using ModX CMS
        Serving Welland, Niagara, Ontario, Canada and the world!
        http://www.bridgecourt.com
        • 26903
        • 1,336 Posts
        Ok, what happens when you login to the remote evo site? Logout first even if you’ve done this before.
          Use MODx, or the cat gets it!
          • 32486
          • 22 Posts
          Quote from: shamblett at Feb 27, 2011, 02:46 PM

          Ok, this would explain why the import fails, what’s in your webserver access logs on the remote evo site? You should see a ’getlist’ entry when you do the import, its odd that the the rest of the package is working OK, so the gateway is installed and working as you’ve found out. The entry should be something like this :- ’/assets/snippets/revogateway/connectors/index.php?action=getall&entity=resources’

          This is what I get;

          [05/Mar/2011:23:02:59 -0500] "GET /assets/snippets/revogateway/connectors/index.php?action=getall&entity=resources HTTP/1.1" 200 - "-" "-"
          [05/Mar/2011:23:02:59 -0500] "POST /modx/assets/components/provisioner/connector.php HTTP/1.1" 200 118 "http://www.domain.net/modx/manager/?a=70" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1"
          [05/Mar/2011:23:05:53 -0500] "POST /modx/assets/components/provisioner/connector.php HTTP/1.1" 200 129 "http://www.domain.net/modx/manager/?a=70" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1"
          [05/Mar/2011:23:05:59 -0500] "GET /assets/snippets/revogateway/connectors/index.php?action=getall&entity=resources HTTP/1.1" 200 - "-" "-"
          [05/Mar/2011:23:05:58 -0500] "POST /modx/assets/components/provisioner/connector.php HTTP/1.1" 200 118 "http://www.domain.net/modx/manager/?a=70" "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 GTB7.1"
          • First; A great job did here! I use Provisioner for transfer updates from our local development server to our production sites!

            I have only a problem with moving the files, like images. I could not click right for the ’import’ button. I checked the error log in the local site and in the ’remote’ site, but no errors from provisioner over there.

            Does anyone have the same issue or isn’t this yet a feature? smiley
              MODX Ambassador (NL) & Professional MODX developer
              Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
              MODX e-commerce solution SimpleCart
              • 26903
              • 1,336 Posts
              I’ll have to look it up but I think Provisioner only allows import of file types that revo considers to be ’viewable/editable’. I remember a ticket raised for this, you can’t encode every file type into JSON, images are an example. If you don’t have an ’import’ menu on the file you can’t import it I’m afraid.
                Use MODx, or the cat gets it!
              • Quote from: shamblett at Mar 08, 2011, 10:02 AM

                I’ll have to look it up but I think Provisioner only allows import of file types that revo considers to be ’viewable/editable’. I remember a ticket raised for this, you can’t encode every file type into JSON, images are an example. If you don’t have an ’import’ menu on the file you can’t import it I’m afraid.

                The files are images (JPG and PNG). The permissions are set right, so I don’t know but it should be working right?
                  MODX Ambassador (NL) & Professional MODX developer
                  Follow me on Twitter | Visit my page on Facebook | View my code on Github | View my script posts
                  MODX e-commerce solution SimpleCart
                  • 26903
                  • 1,336 Posts
                  Its not the file system perms, it what revo thinks are binary files, from Provisioners code :-
                  * if revo we have to check if the ’page’ node attribute is null indicating
                  * a binary file.
                  This is set in the directory getlist processor :-
                   'page' => $modx->fileHandler->isBinary($filePathName) ? $page : null,

                  depending on what the isBinary($filePathName) function returns.
                    Use MODx, or the cat gets it!
                  • First off, thanks for a great snippet. Used Revo-->Revo with no problems. Having trouble with Evo-->Revo.

                    (For anyone new to Provisioning from Evo site, the URL syntax in the Provisioner login panel must be EXACTLY: "www.evo_site.com" - no "http://" or anything else. Took me a few minutes to figure that out smiley

                    Now that I’m logged in to the Evo site, I get this error message upon Import: "The site import failed - Cannot get remote resource" I also can’t see any Resources or Elements in their respective panels.

                    Checking www.evo_site.com/assets/snippets/revogateway/index.php returned: "{"success":true,"message":"","total":0,"object":null}" so that works.

                    I don’t have any other info (or don’t know where to look) to start troubleshooting this. Looked through this thread and haven’t found anything yet....any ideas anyone?

                    Provisioner 1.9-beta
                    Revo 2.0.8-pl
                    Evo 1.0.4


                    Thanks,
                    Sepia River
                      [sepiariver.com] (https://sepiariver.com/)
                      • 26903
                      • 1,336 Posts

                      (For anyone new to Provisioning from Evo site, the URL syntax in the Provisioner login panel must be EXACTLY: "www.evo_site.com" - no "http://" or anything else. Took me a few minutes to figure that out
                      This should work with http://, I’ve just tested this on one of my test sites without http:// and this works also as you say so they should both work.

                      If you can’t see resources or elements it would suggest you are not logged in, this is why the site import is failing, try logging out a few times and logging in again you should get an error back at some point, also check your access logs on both sites.
                        Use MODx, or the cat gets it!