Forum LAMS for Tech-Heads - General Forum: Re: Re: System error when trying to save sequence in LAMS


 
Search: 

5: Re: Re: System error when trying to save sequence in LAMS
In response to 4 10/30/08 05:53 PM
[ Reply | Forward ]
Thanks for those. The saving error is valid, because the folder you're saving to (id = 41) is the Run Sequences folder for Moodle Test. It's the static copy of sequences used directly by running lessons, so it is read only.

As for the sequences not appearing in Moodle, I can't see any request for this in the lams access log. I do see the VerificationService call though. Does Firefox's error console show any javascript errors? (Tools menu -> Error console) Or does the Apache error.log show anything? You could also increase the debugging level in Moodle by going to the Server->Debugging menu in Moodle, and selecting the highest level (should be ok if it's not a live server).

Posted by Jun-Dir Liew

6: Re: Re: Re: System error when trying to save sequence in LAMS
In response to 5 10/30/08 06:04 PM
[ Reply | Forward ]
This is the error message found in the Firefox error console:

Error: missing ] after element list
Source File: http://linux-539t.site/moodle/course/mod.php?id=2§ion=0&sesskey=qnXE9tGMyH&add=lamstwo
Line: 151, Column: 39
Source Code:
var TREE_ITEMS = [Configuration is not complete]; new tree (TREE_ITEMS, TREE_TPL); //-->

I'll also have a quick look in the other places.

Posted by Ulf-Wedig v. der Osten

7: Re: Re: Re: System error when trying to save sequence in LAMS
In response to 5 10/30/08 06:06 PM
[ Reply | Forward ]
Having increased the debugging level this the error displayed:

Warning: Call-time pass-by-reference has been deprecated; If you would like to pass it by reference, modify the declaration of xml_set_object(). If you would like to enable call-time pass-by-reference, you can set allow_call_time_pass_reference to true in your INI file in /srv/www/moodle/mod/lamstwo/lib.xml.inc.php on line 865 Notice: Undefined property: stdClass::$lamstwo_serverid in /srv/www/moodle/mod/lamstwo/mod.html on line 23 Notice: Undefined property: stdClass::$lamstwo_serverkey in /srv/www/moodle/mod/lamstwo/mod.html on line 23 Notice: Undefined property: stdClass::$lamstwo_serverurl in /srv/www/moodle/mod/lamstwo/mod.html on line 25 Notice: Undefined property: stdClass::$lamstwo_serverid in /srv/www/moodle/mod/lamstwo/mod.html on line 29

Posted by Ulf-Wedig v. der Osten

9: Re: Re: Re: Re: System error when trying to save sequence in LAMS
In response to 7 10/30/08 06:38 PM
[ Reply | Forward ]
The key error is that the lamstwo module configuration values can't be found - the errors in firefox follow on from this. Can you check the lamstwo configuration? It might be possible to click 'Validate', but not 'Save changes'...

Posted by Jun-Dir Liew

8: Re: Re: Re: System error when trying to save sequence in LAMS
In response to 5 10/30/08 06:30 PM
[ Reply | Forward ]
I've found even further error messages in firefox:

Error: unterminated string literal
Source File: http://linux-539t.site/moodle/course/mod.php?id=2§ion=0&sesskey=qnXE9tGMyH&add=lamstwo
Line: 373, Column: 38
Source Code:
url = url + "&requestSrc=" + escape("

Error: openAuthor is not defined
Source File: http://linux-539t.site/moodle/course/mod.php?id=2§ion=0&sesskey=qnXE9tGMyH&add=lamstwo
Line: 1

Posted by Ulf-Wedig v. der Osten

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