Hello! You are looking at an archived forum discussion from the old mahara.org website. You cannot reply to this topic, but if you wish to discuss it, you can sign up to mahara.org and ask about this in the new forums.

Hi All,

I'm attempting to setup intergration between Mahara and Moodle as per the excellent Mahoodle docs.

My versions are:
Mahara version 1.0.1 (2008040201)
Moodle Version 1.9 (20080423)
PHP 5.1.2
MySQL 5.0.26

When I click on the Mahara link in the Network Server block of Moodle I get a blank screen in Mahara - no messages at all. When I look in the Apache error_log for our Mahara server I see:

[Thu Nov 13 09:55:35 2008] [error] [client 172.17.200.84] PHP Fatal error: Call to undefined method SimpleXMLElement::getName() in /cfs/srv/www/v
hosts/mahara.sceggs.nsw.edu.au/mahara-1.0.6/htdocs/api/xmlrpc/server.php on line 103

[Thu Nov 13 09:55:35 2008] [error] [client 172.17.25.18] PHP Fatal error: Call to undefined method SimpleXMLElement::getName() in /cfs/srv/www/vhosts/mahara.sceggs.nsw.edu.au/mahara-1.0.6/htdocs/api/xmlrpc/client.php on line 100, referer: http://sceggsnet.sceggs.nsw.edu.au/"

Can anyone help. I feel I'm pretty close.
Ian

Hi Ian, It sounds like you

Hi Ian,

It sounds like you not have the simplexml extension enabled in your php settings. There are a few ways to test this but one way is to put a file in your web root with the contents:

<?php phpinfo(); ?>

Access this file and see if simplexml is listed as enabled.

Dan

Checked phpinfo

Hi Dan,

Thanks for your suggestion, I ran phpinfo() and this is what I got:

Simplexml support enabled
Revision $Revision: 1.151.2.11 $
Schema support enabled

I know Mahara is working - I configured it with LDAP support and it will created a new user without any problem when I simply login. I can live with this but it would have been neat to have SSO with Moodle.

Thanks

Ian

Hi Ian - you need PHP 5.1.3

Hi Ian - you need PHP 5.1.3 or later for MNET in Mahara to work (this is mentioned in the installation instructions but not checked for by Mahara 1.0 - 1.1 will have the fix).

Also, you should upgrade both your Moodle and Mahara versions to 1.9.3 and 1.0.6 respectively - there has been a lot of stability work put into MNET in those versions.

In the no-so-fine print!

How many time does it come down to RTFM???

Thanks for your time.

Ian