Forum LAMS for Tech-Heads - General Forum: Lams / Moodle Integration


 
You may request notification for Lams / Moodle Integration.
Search: 

1: Lams / Moodle Integration
11/30/05 08:02 AM
[ Reply | Forward ]
I have installed Lams to our server and integrated it as per the documentation. However when I add our server_url, server_id and server_key to the lams module I get an error at the top saying
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in C:\wampp2\htdocs\mod\lams\lib.php on line 7.

I have looked in this php file and the line it falss down on is
require_once($CFG->dirroot.'/lib/nusoap/nusoap.php');

I check our server and there is no such nusoap folder.

What have I done wrong?
How do I get this folder?
Thanks in advance
Steve Walker
Stockton Sixth Form College

Posted by Stephen Walker

2: Re: Lams / Moodle Integration
In response to 1 11/30/05 03:48 PM
[ Reply | Forward ]
Hi Stephen,

Apparently this migh have to do with a clash of function names if you have installed PHP5 with web services support and using the nusoap library (that is included in the Moodle/LAMS module)

http://moodle.org/mod/forum/discuss.php?d=34685

See Eloy's posting (on Monday, 21 November 2005, 05:22 PM) on how to solve this.

Let us know how it goes.

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Lams / Moodle Integration
In response to 2 12/01/05 05:33 AM
[ Reply | Forward ]
On further investigation the error occurs even though I temporarily comment out the 'nusoap' line. The only way I can get it to display without the parsing error is to uncomment the following four lines in the 'lib.php' file!

/// include_once("../../config.php");
/// require_once($CFG->dirroot.'/lib/datalib.php');
/// require_once($CFG->dirroot.'/lib/moodlelib.php');
/// require_once($CFG->dirroot.'/lib/nusoap/nusoap.php');

The question now is what is the effect of uncommenting these four lines in the 'lib.php' file?

Posted by Stephen Walker

4: Re: Lams / Moodle Integration
In response to 1 01/17/06 09:06 AM
[ Reply | Forward ]
Hello dear colleagues,
I have a really difficulties
trying to integrate my LAMS (port 8080) into
Moodle 1.6 (port 80).

The problem appears in Moodle:

An unexpected error returned from LAMS server:soapenv:Server.userException: java.rmi.RemoteException: error.username.unique; nested exception is: com.webmcq.ld.usermanagement.UserManagementException: error.username.unique! Please contact your administrator.

I attached the history of the problem in snapshots and log-files ...

Respectfully yours: Daniel Denev
Bulgaria, Veliko Turnovo
daniel_i_denev@abv.bg

Posted by Daniel Denev

Attachments:
5: Re: Lams / Moodle Integration
In response to 1 01/17/06 07:27 PM
[ Reply | Forward ]
Hi Daniel,

Can you check the tbl_user table in the lams database? It should have the users mq_admin, and mq_daniel - if not, then the users were not created on the fly as they should have been. I think this is the case, since all the /lams/LoginRequest's in the access logs are returning 500 errors. Check that lams-valve.jar exists and is in your C:\lams/server/default/lib folder.

Posted by Jun-Dir Liew

Reply to first post on this page
Back to LAMS for Tech-Heads - General Forum