Hi All,
I posted a problem a few weeks ago where Mahara would not accept xmlrpc logins from Moodle. It seems that (as Nigel suspected), for some reason a newline is being inserted into the xml from Moodle before anything else. After tracking the problem down SimpleXMLElement() is throwing an exception as it sees the xml definition not starting on line 1. The fix is to change the source line (around line 91) in Mahara's client.php from:-
$xml = new SimpleXMLElement($this->rawresponse);
to
$xml = new SimpleXMLElement(trim($this->rawresponse));
Not done lots of testing - but it certainly seems to cross-login now. As I understand it, the latest stock version of PHP that runs with Centos 5 is pretty old (5.16 from memory), so maybe it's a Centos/PHP version issue. I expect it will affect Redhat Enterprise servers too.

Hi, sorry for the long
Hi, sorry for the long delay, but I've now tested and committed this to 1.0_STABLE and master. It'll be a permanent fixture of future releases.