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’
[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"
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.
* if revo we have to check if the ’page’ node attribute is null indicatingThis is set in the directory getlist processor :-
* a binary file.
'page' => $modx->fileHandler->isBinary($filePathName) ? $page : null,
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.
(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