Forum LAMS for Tech-Heads - General Forum: Re: Error (4) in Lams/Moodle Integration


 
Search: 

2: Re: Error (4) in Lams/Moodle Integration
In response to 1 10/17/06 03:39 PM
[ Reply | Forward ]
Hi Carla,

Have you configured the LAMS-Moodle module yet? From the error you are getting, it seems that the LAMS module within Moodle might not have the right LAMS URL.

You should see three settings:

server_url, server_id and server_key. The server URL should be the URL for LAMS.

You can find further information here.

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Error (4) in Lams/Moodle Integration
In response to 2 10/18/06 08:59 AM
[ Reply | Forward ]
Hi Ernie, thanks for reply :)

I think the server_url, server_id and server_key in my Moodle module configuration are correct... This parameters are the same that in ext_server_org_map table...

There is more information to solve this problem :)
I added the line:
include_once("../../config.php");
in mymoodle/mod/lams/lib.php, and still the same error :(

All "teachers" in a Moodle course are added in tbl_user from lams database when they clic "Create a new sequence"...

In the ext_server_org_map, prefix is set into mdl, userinfo_url is http://ipmoodleserver/lms/mod/lams/userinfo.php?un=%username%&ts=%timestamp%&hs=%hash%

Really, I dont know what is the problem... maybe it is something small that, I can't see!!

Thanks in advanced
Krla

Posted by Carla Segura

4: Re: Re: Re: Error (4) in Lams/Moodle Integration
In response to 3 10/18/06 09:55 AM
[ Reply | Forward ]
Sorry, the line added in mymoodle/mod/lams/lib.php is
require_once('/var/www/html/lms/config.php');

Thanks
Krla

Posted by Carla Segura

5: Re: Re: Re: Error (4) in Lams/Moodle Integration
In response to 3 10/18/06 05:45 PM
[ Reply | Forward ]
Have you had a look at your apache error log?

You can also try entering this URL directly into a browser on your Moodle server -
http://{your lams server}/lams/services/LearningDesignService?wsdl
This is what Moodle is actually calling when it is trying to populate the list of sequences in the dropdown menu. You should get some xml similar to what appears when you click this link -
http://saturn.melcoe.mq.edu.au/lams/services/LearningDesignService?wsdl

Posted by Jun-Dir Liew

6: Re: Re: Re: Re: Error (4) in Lams/Moodle Integration
In response to 5 10/19/06 09:01 AM
[ Reply | Forward ]
Hi Jun-Dir

I can see XML code... In fact, the integration is made!!
The problem was I declared in server_url like http://NAME_SERVER_LAMS:8080/lams and didnt work... instead I put http://IP_LAMS:8080/lams and It worked!!

I think the problem is communication between servers...

Thank you very much for you patience. Still in contact.
Krla

Posted by Carla Segura

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