I've followed all of the instructions in the readme but I'm still getting a "Could not retrieve a list of content types from the remote server" error.
When I look at the content_distribution_queue view I'm able to see the results when I input NodequeueID/ContentType/Date, but when I click the "View Page" link I get a page not found. Could this be the issue?
I've used the admin account and a created account on the receiver server, so I don't think its a permissions issue. I'm also using a key generated.
Any Ideas?
By the way thanks for this mod- really helpful if I can get it going.
Comments
Comment #1
attiks commented1/ I had the same problem, i found some 'key => false' inside the services so i disabled them, also make sure to give the anonymous user access to services, check the recnt logs for the access denieds.
2/ if your using cck filefield / imagefield there's a problem if the field is shared between content types
3/ cck node reference, i added the following code so my nodereferences are recreated (use at own risk!)
Comment #2
tayzlor commented@jarchowk
this does sound like a permissions problem. it would not be the view, because when you are trying to get the list of content types on
admin/settings/retriever/types page, the views.get method is not being invoked.
the service method actually called is firstly system.connect - to retrieve a session id from the host site, and then node.getAllTypes to get a list of content types available.
have you installed both the node service and system services modules on the host side?
if you have, and you have specified the correct API key for the domain assuming you have allowed permissions on the web services then it should retrieve a list of content types for you. you'll need -
under services module
- access services - anonymous user checked.
under node service module
- load any node data - anonymous user checked
- load own node data - anonymous user checked
Comment #3
tayzlor commented@attiks
thanks for the code snippet,
can you please test and re-roll this snippet as a patch against the latest dev snapshot, then we can adopt your changes into the module =)
thanks!
Comment #4
attiks commentedCode added, I also cleaned white spaces and tabs
Comment #5
attiks commentedComment #6
tayzlor commentedComment #7
joachim commentedThe connection problem is likely obsolete, as Services module has changed a lot in the last year.
This patch is obsolete too as much of the whitespace fixes I've made myself. (For future reference: please don't include whitespace fixes in a patch; it makes it much harder to review. A patch should deal with only one thing.)
Hence I'm closing this.
The code for nodereference support looks interesting -- but not part of the original issue. I'm filing the code here: #707856: nodereference support but it needs to be made as a patch again.