Forum Problems Installing LAMS: Re: 502 error


 
Search: 

2: Re: 502 error
In response to 1 03/22/07 07:53 PM
[ Reply | Forward ]
Graham,

* Can you go into the integration screen on the LAMS side (login as sysadmin in LAMS and go use the Sys Admin). Check that the User Information URL is correct. See this screendump for the screen I'm referring to.

* Turn on debugging in LAMS, try accessing LAMS again then then look in the lams.log in the LAMS log directory (jboss-4.0.2/server/default/log) and look for a URL like the one in the User Information URL field. It should be the same except the %blah% bits will have been replaced with real values. Then copy this URL into a browser and test it there. You should get some comma separated data back.

Then can you post the LAMS logs and the Apache logs?

Fiona

Posted by Fiona Malikoff

4: Re: Re: 502 error
In response to 2 03/23/07 12:08 AM
[ Reply | Forward ]
I think I hve done the debugging and log collection as requested....

Posted by graham hughes

Attachments:
5: Re: Re: Re: 502 error
In response to 4 03/23/07 12:19 AM
[ Reply | Forward ]
Sorry ignore the first attachment - the zip file contains all logs you asked for (Ithink)

Posted by graham hughes

6: Re: Re: Re: Re: 502 error
In response to 5 03/23/07 01:07 AM
[ Reply | Forward ]
Graham,

What's the address that you use to access Moodle normally?

(1) http://yourservername/moodle/

or

(2) http://yourservername/

If it is (2) then you need to change the User Information URL (in LAMS) to from "http://localhost/moodle/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%"
to "http://localhost/mod/lamstwo/userinfo.php?ts=%timestamp%&un=%username%&hs=%hash%"

ie remove the "moodle" bit out of the path.

Fiona

Posted by Fiona Malikoff

7: Re: Re: Re: Re: Re: 502 error
In response to 6 03/23/07 05:52 PM
[ Reply | Forward ]
That worked, well done Fiona and thanks for your help

Posted by graham hughes

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