6:
Re: Re: Re: Moodle 1.8.3 and Lams 2.0.4
By: Ernie Ghiglione
|
In response to 4 | 01/10/08 09:18 PM | ||
Hi Dave,
The reason we opted for deprecate the lamstwo_get_sequences method was due to a problem when using single quotes in the name of the sequences and trying to render those using the tree tigra javascript component. Additionally, the lamstwo_get_sequences call makes use of SOAP which also conflicted with some versions of PHP5 that were compiled with SOAP support. Also given that what we needed to pass back to Moodle from LAMS is just a simple xml file, we decided that a rest like call using normal http calls would be faster and much more effective that using the whole SOAP packaging. On top of that, some old PHP4 implementation don't have DOM support to parse the XML documents, so we were force to introduce an external PHP library that wouldn't conflict with PHP5 but would work with old PHP4 versions as you can see in this thread. So I feel that we can't win either way with PHP! :-S cvs -d :pserver:anonymous@lamscvs.melcoe.mq.edu.au:/usr/local/cvsroot checkout temp_moodle_dev Get a time tag earlier than October 4, 2007 (so that won't include the DOM changes i.e.: -D "2007-10-01"). However, you might face problems when users use the single quotes for sequences names Or recompile PHP with the wrapper support and upgrade to the latest LAMS-Moodle packages. (see the attached file for details on the PHP options we use) Let me know what you opt for. Thanks, Ernie Posted by Ernie Ghiglione |
||||
Attachments: |
Reply to first post on this page
Back to Problems Installing LAMS