Forum Problems Installing LAMS: problems validating Lams in moodle


 
You may request notification for problems validating Lams in moodle.
Search: 

1: problems validating Lams in moodle
11/03/08 03:46 AM
[ Reply | Forward ]
I installed LAMS 2.1 and Moodle 1.9.3 on my computer. They worked well seperately. I want to explore the functions of LAMS through Moodle, so I followed step by step the integration instruction by link http://wiki.lamsfoundation.org/display/lamsdocs/Moodle.

When I validated the connection to LAMS through Moodle. I've got an error like this:

" HTTP Error: socket read of headers timed out."

I've configured LAMS V2 in Moodle as:

server_url: http://localhost:8080/lams
server_id: moodle
server_key: moodle
request_source: Moodle

Could someone help me find out what is the problem?

Thanks!

Posted by samantha liu

2: Re: problems validating Lams in moodle
In response to 1 11/03/08 08:01 AM
[ Reply | Forward ]
Hi Samantha,

It seems that Moodle cannot find the LAMS server. Are Moodle and LAMS installed in the same machine/server?

Ernie

Posted by Ernie Ghiglione

3: Re: problems validating Lams in moodle
In response to 1 11/03/08 10:25 AM
[ Reply | Forward ]
Hi Erine,

yes, LAMS and Moodle are installed in the same machine.

The link of LAMS is like: http://localhost:8080/lams

The link of Moodle is: http://localhost/moodle

Posted by samantha liu

4: Re: Re: problems validating Lams in moodle
In response to 3 11/03/08 10:57 AM
[ Reply | Forward ]
Hi Samantha,

If you are running windows, perhaps you have a firewall that blocks moodle?

Ernie

Posted by Ernie Ghiglione

5: Re: Re: Re: problems validating Lams in moodle
In response to 4 11/03/08 11:03 AM
[ Reply | Forward ]
Sorry Samantha, just realized that what I wrote before might not be enough to explain how this works :-)

Once you configure the settings in Moodle, Moodle will attempt to connect to LAMS. However, this connection attempt is done from the Moodle server to LAMS directly and not thru your browser. Therefore, if your firewall blocks moodle to make http calls then, that might be what is causing the time out that you are getting in the error.

Thanks,

Ernie

Posted by Ernie Ghiglione

6: Re: Re: Re: Re: problems validating Lams in moodle
In response to 5 11/05/08 12:12 PM
[ Reply | Forward ]
Hi Ernie,

I turned off the firewall and tried to validate again. It went through the validation. But there were still problems when I explored some functions of LAMS in Moodle.

When I created a LAMS format course and tried to add an activity of LAMS v2. I could see the tree like folders in Moodle page, but I failed to open LAMS author environment from the option ' create sequence'.

And I also found the following error showed in IE.
"Error: Can't move focus to the control because it is invisible, not enabled, or of a type that does not accept the focus.
Code: 0
URL: http://localhost/moodle/mod.php?
id=2§ion=1&sesskey=HOsiXpcbwG&add=lamstwo"

Posted by samantha liu

7: Re: Re: Re: Re: Re: problems validating Lams in moodle
In response to 6 11/07/08 01:08 PM
[ Reply | Forward ]
Hi Sam,

Sorry for the late reply.

the LAMS course format is not longer in used. That was part of the very old LAMS 1.

For LAMS 2+, then the course format is deprecated.

Thanks,

Ernie

Posted by Ernie Ghiglione

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