Hello,
this module seems to be what we are looking for. However, I have some problems getting it running. I downloaded the code from CVS contrib today and added it to Moodle 1.5.3+. Installation seems fine.
When creating a form, an error occurs when saving the form:
Notice: Undefined variable: formanswer in d:\program files\apache group\apache\htdocs\moodle5\mod\form\view.php on line 144
When viewing the form, only 1 radiobutton is displayed where there should be 2 radiobuttons.
There is only 1 checkbox without label, where there should be 4.
The dropdown box contains only the first 2 choices, but not the remainder.
When viewing the form, the following notice is displayed:
Notice: Undefined variable: formanswer in d:\program files\apache group\apache\htdocs\moodle5\mod\form\view.php on line 144
When you then click on Start, some more errors and notices are shown:
Coding error: isteacher() should not be used without a valid course id as argument. Please notify the developer for this module.
Notice: Undefined variable: datafield in d:\program files\apache group\apache\htdocs\moodle5\mod\form\form.php on line 79
Notice: Undefined variable: datafield in d:\program files\apache group\apache\htdocs\moodle5\mod\form\form.php on line 80
Some of these errors also occur in the
Apache log, but the Apache log also shows some additional errors. There are notices about undefined variables and a notice about a missing file styles.php
[error] PHP Notice: Undefined variable: t in d:\\program files\\apache group\\apache\\htdocs\\moodle5\\mod\\form\\autolayout.php on line 55
File does not exist: d:/program files/apache group/apache/htdocs/moodle5/mod/form/styles.php
[error] PHP Notice: Undefined variable: formanswer in d:\\program files\\apache group\\apache\\htdocs\\moodle5\\mod\\form\\view.php on line 144
[error] PHP Notice: Undefined variable: datafield in d:\\program files\\apache group\\apache\\htdocs\\moodle5\\mod\\form\\form.php on line 79
[error] PHP Notice: Undefined variable: datafield in d:\\program files\\apache group\\apache\\htdocs\\moodle5\\mod\\form\\form.php on line 80
[error] PHP Notice: Undefined variable: datafield in d:\\program files\\apache group\\apache\\htdocs\\moodle5\\mod\\form\\form.php on line 79
[error] PHP Notice: Undefined variable: datafield in d:\\program files\\apache group\\apache\\htdocs\\moodle5\\mod\\form\\form.php on line 80
I know that Sourceforge had hardware problems and had to restore CVS. For some projects rather old versions had been restored. Is it possible that the versions that are in CVS are not the latest? There is no version number in form.php, so I can not check which version this is.
Kind regards,
Francis Brouns