Hi
Ok so firstly thanks to Jerome and John for the suggestions.
Experiment :
Even though it’s not perfectly scientific I changed 2 conditions before running this test under the theory that if one of them worked I could always go backwards to find out which.
Condition 1: I Change all files and directories in the client admin/registration/ and the hub local/hub to 777
Condition 2: I turned on web services & activated XML-RPC on the client.
Note: For additional information I also added error_log(print_r($params, true)); before the redirect for both hubselector.php and register.php on the client.
Result:
a) Using select a specific hub & HTTP://
403 error: Forbidden
You don't have permission to access /admin/registration/register.php on this server.
Error log:
[28-Oct-2011 02:08:20] http://m21.[Domain].org/admin/registration/register.php
[28-Oct-2011 02:08:20] Array
(
[sesskey] => 2P1UmQbe2F
[huburl] => http://h21.[Domain].org/
[password] =>
[hubname] =>
)
b) Not using http://
I get to the registration information page ok but when clicking "Register With... "
404 error: Not Found
The requested URL /admin/registration/h21.[Domain].org/local/hub/siteregistration.php was not found on this server.
Error log:
[28-Oct-2011 02:11:26] http://m21.[Domain].org/admin/registration/register.php
[28-Oct-2011 02:11:26] Array
(
[sesskey] => 2P1UmQbe2F
[huburl] => h21.[Domain].org/
[password] =>
[hubname] =>
)
[28-Oct-2011 02:11:26] running register.php
[28-Oct-2011 02:11:35] running register.php
[28-Oct-2011 02:11:35] Array
(
[huburl] => h21.[Domain].org
[hubname] =>
[password] =>
[name] => Moodle 2.1 Sandbox
[privacy] => notdisplayed
[description] => test
[language] => en
[moodleversion] => 2011070102
[moodlerelease] => 2.1.2+ (Build: 20111019)
[address] =>
[regioncode] => -
[countrycode] => AU
[geolocation] =>
[contactname] => Admin User
[contactphone] =>
[contactemail] => michael@gmail.com
[contactable] => 0
[emailalert] => 0
[imageurl] =>
[courses] => 1
[users] => 1
[roleassignments] => 1
[posts] => 1
[questions] => 1
[resources] => 1
[participantnumberaverage] => 1
[modulenumberaverage] => 1
[submitbutton] => Register with h21.[Domain].org
[token] => n0wFvNQoFol05MNzGKSVqJRAp49UMtQEm21.[Domain].org
[url] => http://m21.[Domain].org
)
Conclusion:
I’m don’t know the system like you folks but I don’t see anything wrong with those error logs. So my conclusion would have to be that I’m up the creak without a paddle. But the part that I really don’t understand is why is the redirect of the 404 looking for /admin/registration/h21.[Domain].org/local/hub/siteregistration.php on the client site.
I just don’t get it.
But great thanks for your ideas to test.
Regards
Michael