Forums | Mahara Community

Mahara/Moodle integration /
SSO not working


anonymous profile picture
Account deleted
Posts: 5

05 December 2009, 7:16

I followed the SSO instructions for Mahara/Moodle but when I click on the link in the Moodle site, I get the message:

Sorry, could not log you in :(

Sorry, we could not log you into Mahara at this time. Please try again shortly, and if the problem persists, contact your administrator

I noticed that the wwwroot in mahara has a trailing slash, but in the Peers section of Moodle it will not accept the trailing slash.

Any help would be appreciated.

 

Jeff

 

EDIT: Also, after the failure to login to the Mahara installation, I cannot logout of the Moodle installation.  I get a blank screen with the address bar reading: http://watcanz.com/login/logout.php?sesskey=AjsjAkj8jaJ

 

anonymous profile picture
Account deleted
Posts: 5

05 December 2009, 11:08

I reversed it so that the Mahara site SSO'd into the Moodle site and it works.

 

Still will not work the other way.... strange.

anonymous profile picture
Account deleted
Posts: 5

06 December 2009, 8:26

Figured it out...

I created the account with cPanel which adds a ServerAlias line to the Apache httpd.conf file.  Once I removed that... everything works fine.

 

EDIT: Stopped working again....

 

Jeff

A post by Account deleted was deleted

anonymous profile picture
Account deleted
Posts: 5

07 December 2009, 1:02

This is what Apache is showing.

[Sat Dec 05 06:22:30 2009] [error] [client 24.92.248.134] [WAR] 6a (api/xmlrpc/client.php:96) Curl error: 52: Empty reply from server, referer: http://watcanz.com/
[Sat Dec 05 06:22:30 2009] [error] [client 24.92.248.134] Call stack (most recent first):, referer: http://watcanz.com/
[Sat Dec 05 06:22:30 2009] [error] [client 24.92.248.134] * Client->send("http://watcanz.com") at /serverpath/mahara/auth/xmlrpc/lib.php:118, referer: http://watcanz.com/
[Sat Dec 05 06:22:30 2009] [error] [client 24.92.248.134] * AuthXmlrpc->request_user_authorise("83ca2ee201de289c165321048b50d92a7545de49", "http://watcanz.com") at /serverpath/mahara/auth/xmlrpc/land.php:94, referer: http://watcanz.com/
[Sat Dec 05 06:22:30 2009] [error] [client 24.92.248.134] , referer: http://watcanz.com/
[Sat Dec 05 06:22:30 2009] [notice] child pid 25427 exit signal Segmentation fault (11)

I can make any changes necessary to the server... just not sure what is causing this problem.

anonymous profile picture
Account deleted
Posts: 5

09 December 2009, 9:14

I have discovered that the curl 52 error was caused by PHP having the Zend optimizer enabled.  For some reason, Moodle's mnet does not seem to work with that enabled.  I commented the lines out in the php.ini file and now everything is running smooth.

 

Jeff

A post by Account deleted was deleted

7 results