Forum Problems Installing LAMS: moodle 1.9 - lams2.3 integration problem


 
You may request notification for moodle 1.9 - lams2.3 integration problem.
Search: 

1: moodle 1.9 - lams2.3 integration problem
10/19/09 02:00 AM
[ Reply | Forward ]
Hello i have installed moodle 1.9 on ubuntu server and on the same machine lams 2.3. Both are working ok(seperately). So when i tried to do the integration the module installed ok. But after this nothing is working. I create a course and then i added a lams activity.Whenever i click on the open authoring a long error report displayed (java.lang.ArrayIndexOutOfBoundsException: 1... ). When i click on the add a new lesson the following message is displayed "Call to LAMS failed: received an HTTP status of 400 Bad Request. Please check the configurations settings and/or contact your system administrator". I checked the log files and in the lams.log i found the following error

[http-0.0.0.0-8080-11:] DEBUG org.lamsfoundation.lams.webservice.xml.LearningDesignRepositoryServlet - request.getCharacterEncoding is empty, parsing username and courseName as 8859_1 to UTF-8...
2009-10-19 10:06:05,054 [http-0.0.0.0-8080-11:] DEBUG org.lamsfoundation.lams.integration.service.IntegrationService - http://www.mymoodle.com
2009-10-19 10:06:05,385 [http-0.0.0.0-8080-11:] ERROR org.lamsfoundation.lams.webservice.xml.LearningDesignRepositoryServlet - Problem with LearningDesignRepositoryServlet request
java.lang.ArrayIndexOutOfBoundsException: 1.

So i guess that the user information are not passing right but i don't know how to fix this.
Can someone help me?
Thanks

Posted by giannis ioannidis

2: Re: moodle 1.9 - lams2.3 integration problem
In response to 1 10/19/09 04:49 AM
[ Reply | Forward ]
Hi Giannis,

Make sure that when you are configuring your LAMS Integrated server, you specify the "User Info URL" correctly (see here).

The User Info URL should be like:
"http://[moodle_server]/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%".

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: moodle 1.9 - lams2.3 integration problem
In response to 2 10/19/09 05:53 AM
[ Reply | Forward ]
Thank you so much.It was so easy, the user info url wasn't right.It's working now.
Thank you very much.

Posted by giannis ioannidis

Reply to first post on this page
Back to Problems Installing LAMS