Forums | Mahara Community
Mahara/Moodle integration
/
Sorry, could not log you in :(
05 December 2009, 14:11
Good day.
Below is the error log content produced when I try to log into Mahara from Moodle. Where the message indicates a PHP line, I have included the contents from the PHP file in brackets "{{{{{". I am using Hostmonster to how both sites. I have altered some reference names for security purposes:
/home/myacctname/public_html/maharasitefolder/auth/xmlrpc/error_log:
[13-Nov-2009 21:28:12] [WAR] 04 (api/xmlrpc/client.php:79) An error occurred at the remote server. Code: 500
[13-Nov-2009 21:28:12] Call stack (most recent first):
[13-Nov-2009 21:28:12] * Client->send("http://www.-mymoodlesite-.com") at /home/myacctname/public_html/maharasitefolder/auth/xmlrpc/lib.php:115 {{{{{send($remotewwwroot);}}}}}
[13-Nov-2009 21:28:12] * AuthXmlrpc->request_user_authorise("79780ca87bfc6cec285670e0b5fc96a9cbdf3f83", "http://www.-mymoodlesite-.com") at /home/myacctname/public_html/maharasitefolder/auth/xmlrpc/land.php:94 {{{{{ $res = $auth->request_user_authorise($token, $remotewwwroot);}}}}}
[13-Nov-2009 21:28:12]
Thank you!
Terry
10 December 2009, 18:37
Hi Terry,
unfortunately Hostmonster sites cannot use Mnet - do a search on the moodle and mahara sites for the keywords mnet and hostmonster - it should turn up some further detail for you.
08 January 2010, 10:17
Hi,
I'm also having problems sso-ing into a Mahara site from a Moodle. I get the 'Sorry, could not log you in' error on trying to go across.
Apache error logs tell me this..
[Fri Jan 08 13:50:04 2010] [error] [client 82.69.25.214] [WAR] fb (api/xmlrpc/client.php:167) Unknown error occured: 7023: [[encryption-invalid]], referer: http://accountancyplus.co.uk/learning/index.php
[Fri Jan 08 13:50:04 2010] [error] [client 82.69.25.214] Call stack (most recent first):, referer: http://accountancyplus.co.uk/learning/index.php
[Fri Jan 08 13:50:04 2010] [error] [client 82.69.25.214] * Client->send("http://accountancyplus.co.uk/learning") at /srv/portfolio.accountancyplus.co.uk/public/htdocs/auth/xmlrpc/lib.php:117, referer: http://accountancyplus.co.uk/learning/index.php
[Fri Jan 08 13:50:04 2010] [error] [client 82.69.25.214] * AuthXmlrpc->request_user_authorise("ad7ee92b7abfe0f18f53b7fa02481e7b192d4a0f", "http://accountancyplus.co.uk/learning") at /srv/portfolio.accountancyplus.co.uk/public/htdocs/auth/xmlrpc/land.php:95, referer: http://accountancyplus.co.uk/learning/index.php
[Fri Jan 08 13:50:04 2010] [error] [client 82.69.25.214] , referer: http://accountancyplus.co.uk/learning/index.php
Mahara version is 1.1.3 and moodle 1.9.2+
This used to work but we have recently had to switch servers so any insight on what the problem is would be great : ) I've revisited the instructions and ensured everything is as should be.
Rich
15 March 2010, 15:32
Hi,
When you switch servers and change the wwwroot, your ssl keys won't work anymore, because they are bound to the wwwroot of the application. You need to delete the keys and manually add them into moodle and mahara again, unfortunately.