We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10335
    • 5 Posts
    MODx Revolution 2.0.8-pl (traditional), Provisioner 1.9 beta

    Hello,

    I have trouble with getting provisioner started on rechteck.eu to connect with rechteck.net. I am new in that theme. It would be nice if you could help me.

    I installed the same package version of provisioner on both two modxrevo webspaces.

    under rechteck.eu i entered:
    Name name of admin of rechteck.net
    correct password
    url: www.rechteck.net/modx/connectors
    three numbers I created in modx on rechteck.net

    a message-bar opened. "Login in die ferne Site fehlgeschlagen - Zugriff verweigert." (Connection to the remote site failed - access denied) There are still no resources shown under "resources". (I want to connect Revo to Revo -> Do I need to install other stuff apart from the the package?)

    error messages:
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 770) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 771) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 773) PHP warning: curl_exec(): supplied argument is not a valid cURL handle resource
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 690) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 700) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 702) PHP warning: curl_exec(): supplied argument is not a valid cURL handle resource
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 714) PHP warning: Invalid argument supplied for foreach()
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/model/modx/modconnectorresponse.class.php : 128) Recoverable error: Argument 1 passed to modConnectorResponse::outputArray() must be an array, string given, called in /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php on line 722 and defined
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 795) PHP warning: Invalid argument supplied for foreach()
    [2011-04-12 10:24:15] (ERROR @ /homepages/44/d192755551/htdocs/core/model/modx/modconnectorresponse.class.php : 128) Recoverable error: Argument 1 passed to modConnectorResponse::outputArray() must be an array, null given, called in /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php on line 809 and defined
      • 26903
      • 1,336 Posts
      three numbers I created in modx on rechteck.net
      Not sure what this means, if your going from revo to revo you need to add the site ID string from the remote sites config file.

        Use MODx, or the cat gets it!
        • 10335
        • 5 Posts
        under core/config/config.inc.php i found the site id.

          • 26903
          • 1,336 Posts
          The site id is in the config file of the site you are connecting to, in your case rechtek.net, you need to enter it on the administration panel, not the system settings.
            Use MODx, or the cat gets it!
            • 10335
            • 5 Posts
            Oh thanks for your reply!
            I enterd the complte site id from core/config/config.inc.php but have still the same error message.

            error notice after klicking on "start" ist still the same as mentioned above.

            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 770) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 771) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 773) PHP warning: curl_exec(): supplied argument is not a valid cURL handle resource
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 795) PHP warning: Invalid argument supplied for foreach()
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/model/modx/modconnectorresponse.class.php : 128) Recoverable error: Argument 1 passed to modConnectorResponse::outputArray() must be an array, null given, called in /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php on line 809 and defined
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 690) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 700) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 702) PHP warning: curl_exec(): supplied argument is not a valid cURL handle resource
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php : 714) PHP warning: Invalid argument supplied for foreach()
            [2011-04-12 13:32:52] (ERROR @ /homepages/44/d192755551/htdocs/core/model/modx/modconnectorresponse.class.php : 128) Recoverable error: Argument 1 passed to modConnectorResponse::outputArray() must be an array, string given, called in /homepages/44/d192755551/htdocs/core/components/provisioner/model/provisioner/provisioner.class.php on line 722 and defined

              • 10335
              • 5 Posts
              yeah it works. Don’t know why. Have nothing changed. Great program! Thank you.

              One Question to the workflow:
              Is it possible to import more than one (for example) chunk in one step? (Now I rightclick on evry single symbol and click "import")
                • 26903
                • 1,336 Posts
                To be honest I can’t remember if I put this in for elements or not, you can import resource trees, what happens if you click on the top level chunks holder, or a category? The user guide does have this in I think.
                  Use MODx, or the cat gets it!
                  • 10335
                  • 5 Posts
                  Folders are portable with its content. But when for example chunkfiles are not in a folder I had to impot every item for itself. Because when rightclicking on a category item the import button doesn’t appear.
                  Perhaps there’s a trick to highlight all for importing?!?
                    • 26903
                    • 1,336 Posts
                    From the user guide :-
                    ’Both elements and categories can be imported. Elements can be imported singly, or by element type and category e.g. all snippets in the ’demo’ category.’
                    so you should be able to do this.

                      Use MODx, or the cat gets it!
                      • 26681 MODX Staff
                      • 123 Posts
                      Quote from: shamblett at Apr 12, 2011, 01:27 AM


                      (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.
                      I tried again a few times and confirmed: I’m able to login. Manager Actions in evo_site confirms this. However, error logs on new revo_site shows:
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 770) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 771) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 773) PHP warning: curl_exec(): supplied argument is not a valid cURL handle resource
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 795) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/model/modx/modconnectorresponse.class.php : 128) Recoverable error: Argument 1 passed to modConnectorResponse::outputArray() must be an array, null given, called in revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php on line 809 and defined
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 690) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 700) PHP warning: curl_setopt(): supplied argument is not a valid cURL handle resource
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 702) PHP warning: curl_exec(): supplied argument is not a valid cURL handle resource
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 714) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-11 14:11:34] (ERROR @ revo_domain.com/core/model/modx/modconnectorresponse.class.php : 128) Recoverable error: Argument 1 passed to modConnectorResponse::outputArray() must be an array, string given, called in revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php on line 722 and defined
                      [2011-04-11 14:32:11] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 496) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-11 14:32:47] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 879) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-11 14:32:51] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 496) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-11 14:43:43] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 641) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-12 11:33:41] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 714) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-12 11:33:41] (ERROR @ revo_domain.com/core/model/modx/modconnectorresponse.class.php : 128) Recoverable error: Argument 1 passed to modConnectorResponse::outputArray() must be an array, null given, called in revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php on line 722 and defined
                      [2011-04-12 11:34:26] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 496) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-12 11:34:28] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 496) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-12 11:34:29] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 879) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-12 11:34:30] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 879) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-12 11:34:31] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 641) PHP warning: Invalid argument supplied for foreach()
                      [2011-04-12 11:34:32] (ERROR @ revo_domain.com/core/components/provisioner/model/provisioner/provisioner.class.php : 641) PHP warning: Invalid argument supplied for foreach()
                      


                      Help please smiley
                        [sepiariver.com] (https://sepiariver.com/)