Forum LAMS for Tech-Heads - General Forum: Re: Problems with integration of lams with moodle


 
Search: 

2: Re: Problems with integration of lams with moodle
In response to 1 07/13/07 03:22 PM
[ Reply | Forward ]
G'day Mike,

What have you put in the User Info URL under System Administration | Integrated Servers in LAMS?

Thanks,

Ernie

Posted by Ernie Ghiglione

3: Re: Re: Problems with integration of lams with moodle
In response to 2 07/13/07 05:18 PM
[ Reply | Forward ]
http://localhost/moodle/mod/lams/userinfo.php?un=%username%&ts=%timestamp%&hs=%hash% My moodle is installed in the folder 'moodle' under the server root! Now that I am looking at this, I was wondering if it should say http://localhost/moodle/mod/lamstwo/... since I am using lams v2? ... so I changed it to http://localhost/moodle/mod/lamstwo/userinfo.php?un=%username%&ts=%timestamp%&hs=%hash% then restarted lams. Unfortunately I get the same error. Mike

Posted by Mike Peters

4: Re: Re: Re: Problems with integration of lams with moodle
In response to 3 07/13/07 06:15 PM
[ Reply | Forward ]
Mike,

You are right that it should be lamstwo. Your modified URL looks right.

A few things to try:

* Go into the admin screens in both Moodle and LAMS and make sure there aren't any whitespace characters at the beginning or ends of fields. I think we try to strip out extra characters but some might creep through.

* Try going to the url http://localhost/moodle/mod/lamstwo/userinfo.php directly and see what error you get. Make sure it isn't just a 404 (that is, a not found error).

I'm not game to start Moodle and check what error it will give - I tried a few minutes ago and the whole computer locked up. The PCs here at home are misbehaving badly today so I'm giving up before anything else goes wrong.

* Check your apache logs for any errors. If you can attach today's logs for apache (both the error log and the access log) to a posting. Zip them up and then attach them as one file.  If there is a lot of other stuff in the logs that you don't want to post, can you give us excerpts of the logs from when you try to access "Create Sequence".

Fiona

Posted by Fiona Malikoff

5: Re: Re: Re: Re: Problems with integration of lams with moodle
In response to 4 07/17/07 01:05 AM
[ Reply | Forward ]
Ok,

Checked for leading/trailing spaces, etc. It all seems to be ok!

I went to http://localhost/moodle/mod/lamstwo/userinfo.php and I get a blank HTML page, no errors. If I view the source I can see the header of the page that is the response.

Now, I don't use apache, I use IIS server. Is this going to be a problem?

Mike

Posted by Mike Peters

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