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


 
You may request notification for System error when trying to save sequence in LAMS.
Search: 

1: System error when trying to save sequence in LAMS
10/28/08 05:23 PM
[ Reply | Forward ]
I have set up the LAMS v. 2.1 and Moodle 1.9 integration and the set up has returned a value of valid.

However I face three problems:

1) When trying to save sequences (logged in as Admin) under My Workspace\My Groups\"Moodle Test" the system returns a system error (log file attached) It doesn't do that when saving into My Workspace\Systems Administrator.

2) When trying to add a LAMS sequence in my Moodle course (logged in as Admin) I can't see the Sequence directtory structure (see attached jpeg)

3)Finally If I click on "create sequence" I get an Error 404: Object not found in the pop-up window.

Any ideas where I might be going wrong?

Cheers

Posted by Ulf-Wedig v. der Osten

2: Re: System error when trying to save sequence in LAMS
In response to 1 10/28/08 05:25 PM
[ Reply | Forward ]
Files are here:

Posted by Ulf-Wedig v. der Osten

Attachments:
3: Re: Re: System error when trying to save sequence in LAMS
In response to 2 10/29/08 05:03 PM
[ Reply | Forward ]
Hi,

The server id and key is probably correct, but there may be something else not right. Can you send the C:\lams\jboss-4.0.2\server\default\log\lams.log, server.log, and localhost_access_log.2008-10-28.log?

Thanks,

Posted by Jun-Dir Liew

4: Re: System error when trying to save sequence in LAMS
In response to 1 10/30/08 01:35 AM
[ Reply | Forward ]
PLease find all three log files attached.

Thank you.

Posted by Ulf-Wedig v. der Osten

Attachments:
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