Forum Problems Installing LAMS: Re: Lams 2.1.3 Integration Validation Problem with Moodle 1.9+


 
Search: 

4: Re: Lams 2.1.3 Integration Validation Problem with Moodle 1.9+
By: KT Fav
In response to 1 07/13/09 07:18 AM
[ Reply | Forward ]
Sorry for the delay. I had some time off.

I have tried both of these. I have re-saved the config file and then used the URL path to the LAMS server (they are also on the same server).

I am still not able to validate.

The request source should match the organisation. Is this correct? Since I don't have an organisation, could that be the problem?

Posted by KT Fav

5: Re: Re: Lams 2.1.3 Integration Validation Problem with Moodle 1.9+
In response to 4 07/13/09 06:18 PM
[ Reply | Forward ]
The request_source is purely for displaying the text 'Return to {request_source}' when you close Author. An organisation will get created on the fly using course name parameters once you start using the integration.

Are there any exceptions (errors) in your lams log file? /path/to/jboss-4.0.2/server/default/log/server.log

Your /path/to/jboss-4.0.2/server/default/log/localhost_access.2009-07-14.log file should have a line containing 'VerificationService' at the end once you've clicked 'Validate'. If it doesn't, LAMS isn't receiving the call.

If you turn Moodle's debugging level to full, you may be able to see some extra messages. In the admin menu, go to Server->Debugging.

Posted by Jun-Dir Liew

6: Re: Re: Re: Lams 2.1.3 Integration Validation Problem with Moodle 1.9+
By: KT Fav
In response to 5 07/14/09 12:01 PM
[ Reply | Forward ]
I could not find any exceptions in the lams log file:
/jboss-4.0.2/server/default/log/server.log

I also could not find the 'VerificationService' in the access log, which means Lams isn't receiving the call.

I turned on the debugging to full, but could not locate a log or where I would see the extra messages.

Thanks so much for your help!!

Posted by KT Fav

7: Re: Re: Re: Re: Lams 2.1.3 Integration Validation Problem with Moodle 1.9+
In response to 6 07/14/09 06:21 PM
[ Reply | Forward ]
The extra debugging should show on screen - there might also be messages in your apache error_log (e.g. /var/log/apache2/error_log on debian/ubuntu).

Try putting the verify call in your browser by accessing http://moodle-server/moodle/mod/lamstwo/verify.php - this should output the result of the call to the VerificationService in LAMS. In your case it may be a lower level error or something since the call doesn't seem to be reaching LAMS.

Posted by Jun-Dir Liew

8: Re: Re: Re: Re: Re: Lams 2.1.3 Integration Validation Problem with Moodle 1.9+
By: KT Fav
In response to 7 07/22/09 07:44 AM
[ Reply | Forward ]
The error I receive is (and I see the error three times):
Notice: Undefined index: k in C:\xampp\htdocs\moodle\mod\lamstwo\verify.php on line 5

Posted by KT Fav

9: Re: Re: Re: Re: Re: Re: Lams 2.1.3 Integration Validation Problem with Moodle 1.9+
In response to 8 07/22/09 06:37 PM
[ Reply | Forward ]
Hmm, those notices are fine, but there should at least be something after that - e.g. this message when lams isn't running:

HTTP Error: Couldn't open socket connection to server http://localhost:8080/lams//services/VerificationService?wsdl, Error (111): Connection refused

Does the integration work regardless of the verification button not working? Looking at your settings, for production you'll need to change LAMS' server url to (probably) http://moodle.aisd.net:8080/lams. The reason is that users' browsers will be using this url to open lams author and learner, and they can't do that from their computers if the url is localhost.

Posted by Jun-Dir Liew

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