Forum .LRN Q&A: Re: LAMS2 and .LRN integration (beta) released!

Collapse
Posted by Rob Mayhue on
Hi Ernie,

I'm running LAMS 2.0.4 and I couldn't find any 505 errors in any of the jboss or LAMS logs.

I did manage to solve the issue though.

I started looking at the $lession_url in add-2.tcl and noticed that '&title=$name' and '&desc=$introduction' were not being URL encoded so in the 'set lession_url "$lams_server_url/...' statment I added a 'ad_urlencode' to URL encode the vars '...&title=[ad_urlencode $name]&desc=[ad_urlencode $introduction]...' then everything worked as expected. I guess the spaces in the text of the URL was causing the 505 error.

Thanks,
Rob

Collapse
Posted by Ernie Ghiglione on
Hi Rob,

Thanks for your help on this. I'm glad that is solved.

I have made the changes to the code as you suggested and ´resolved the issue.

The latest code can be downloaded from the LAMS repository.

Thanks again Rob.

Any other comments, bugs or suggestions always welcome.

Ernie