Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators
Hi all

I have set up a pretty conventional workshop. It progressed in to Assessment phase. Once a participant tries to assess another, Moodle throws "Undefined variable: type in moodle/lib/pear/HTML/QuickForm/group.php on line 277" Interestingly three times - for the three missing boxes(?). See screen-shots.

Moodle 2.7.19 (Build: 20170313)
LAMP, PHP Version 5.6.30-0+deb8u1, MySQL 5.5.54
(The same installation as in "Creating a new wiki throws error/moodle/invalidcoursemodule" https://moodle.org/mod/forum/discuss.php?d=350178. Yes, I cleared the caches!)
Attachment workshop-1.png
Attachment workshop-2.png
Average of ratings: -
Picture of Besonders aktive Moodler Picture of Translators
Hallo Peter

Danke fuer das Testen ein zweites Mal!

Also, ob index.html die Hauptdatei ist oder multiscreen.html, da besteht kein grundsaetzlicher Unterschied.

Die Tipps ueber die Videoformate und Captivate Versionen habe ich weitergeleitet.

Mir ging es darum, ob "Datei" die richtige Weg ist solche Lernsequenzen ueber Moodle anzubieten. Die Antwort ist Ja, verstehe ich.

Aus meiner Sicht ist die Frage beantwortet, dank deinem Beitrag!
Picture of Particularly helpful Moodlers Picture of Translators
Hi

This is incredible! Clearing the browser cache didn't help at first. I had three browsers open, as student, teacher and admin. I cleared the first two. Then thought of the server cache and emptied that too (from the third browser). I can't say which one was right, whatever the problem is gone!

Many thanks! You saved hours of my time, ...
Picture of Particularly helpful Moodlers Picture of Translators
When trying to create a new wiki, I get the following error:
===
error/moodle/invalidcoursemodule
The ID for the course module is invalid. Please contact the site admin.

Debug info: SELECT id,course FROM {course_modules} WHERE id IS NULL
[array ()]
Error code: invalidcoursemodule

Stack trace:
    line 1451 of /lib/dml/moodle_database.php: dml_missing_record_exception thrown
    line 1427 of /lib/dml/moodle_database.php: call to moodle_database->get_record_select()
    line 7116 of /lib/accesslib.php: call to moodle_database->get_record()
    line 1052 of /mod/wiki/locallib.php: call to context_module::instance()
    line 278 of /mod/wiki/pagelib.php: call to wiki_delete_locks()
    line 130 of /mod/wiki/pagelib.php: call to page_wiki->process_session_url()
    line 885 of /mod/wiki/pagelib.php: call to page_wiki->print_header()
    line 118 of /mod/wiki/create.php: call to page_wiki_create->print_header()

Output buffer: <b>Notice</b>:  Trying to get property of non-object in <b>/var/www/html/moodle/mod/wiki/locallib.php</b> on line <b>1051</b><br /><br /><b>Notice</b>:  Trying to get property of non-object in <b>/var/www/html/moodle/mod/wiki/locallib.php</b> on line <b>1052</b>
===
Moodle 2.7.19 (Build: 20170313)
LAMP, PHP Version 5.6.30-0+deb8u1, MySQL 5.5.54

It had been working the last time tested, a couple of weeks ago. In between there was only the security update on the 19th.

This is reproducible. No new wiki is possible. Has this been reported?

Edit: Panik! Even existing wikis can not be opened in the whole site. Always the same error!
:-(

Edit 2: Another suspicion is that it started after deleting a wiki which had sub-pages. A known problem?
Average of ratings: -