Posts made by Visvanath Ratnaweera

Picture of Particularly helpful Moodlers Picture of Translators

Hi Przemek

In my understanding Moodle can't treat "Once a question has been used in any OTHER quiz" differently from those that have not been used. Read the comments in MDL-41924.

Picture of Particularly helpful Moodlers Picture of Translators
Hi Przemek
 
Disclaimer: I'm no authority nor "decision maker" in Moodle development. Just an old captain trying to steady a half sunken ship. who hasn't given up hope of correcting it to stand the next storm. This talk is just an exchange with other ship masters to keep my orientation. 
 
> Once a question is shared and/or used in a quiz, it should not be move-able down to the quiz-level only, except if ONLY used in that one quiz.
 
That was the trap Moodle quiz has fallen, in 1.9 times I think, that since any question is a _potential_ random question, the whole tree of question categories has to be duplicated when a course is duplicated. In other words, there is nothing called used and unused questions, all are either used or potentially will be used.

> Before Moodle 5 - from my experience it IS possible to move a question to the quiz QB even if it is used in another quiz.
 
The quiz question bank being "private" is one of the new things in the quiz starting M5.

> There's this notion of quiz slots, and it is these that index the questions being used.
 
"quiz slots"? Could you explain that?
 
> I don't think a phantom will arise; rather the quiz (slot) will still "see" and load the question originally added. Maybe that question becomes a hidden / old one by status.
 
Can't understand that without knowing what a quiz slot is.

> A bit of guessing on my part here; no time to pursue all the options now.
 
See my level of understanding which I mentioned at the top. I hope the designers of the ships will soon come to our rescue. 
Picture of Besonders aktive Moodler Picture of Translators

OK, gut zu wissen, dass du den Code nicht angefasst hast. Aussagen wie "sobald ich den index.php mit einem anderen austausche" begeistern mich nicht, denn mit der Kopierei kannst du Dateiberechtigungen veraendern, z.B. Oder dass die Site sporadisch PHP Code anzeigt ohne sie auszufuehrt, ist nicht gut. Ist der Webhosting ungenuegend? Ist es ein Shared-hosting? Wenn ja. welches Produkt? Oder in VPS? Dann wer ist der Sysadmin?

Und wie ist es mit den Antworten zu den vielen Fragen in meiner vorherigen Post?

Picture of Besonders aktive Moodler Picture of Translators

Bist du sicher, nach dem du "in einem neu erstellten Kurs 583 Personen via Globale Gruppe als neue Teilnehmer eingeschrieben" hast, haben "Fehler: Call to undefined function format_flexsections\local\hooks\output\format_flexsections_add_back_link_to_cm()" angefangen, ohne du sonst absolut nichts gemacht hast? Und das Moodle-code hast du nie angefasst oder angepasst gehabt?

Dann muss man von Vorne beginnen:
- Moodle version. Steht im moodle/version.php. Sieht so aus
$release = '4.5.2+ (Build: 20250304)';
$branch = '405';
$maturity = MATURITY_STABLE;

- PHP Version. Eine Datei moodle/phpinfo.php erstellen mit der einzigen Zeile
<?php phpinfo(); ?>

und deinsite/phpinfo.php aufrufen.
 
- Flexformat version, steht im moodle/course/format/flexformatodersowas/version.php
 
Du kannst nicht frei als 'admin' arbeiten, es wirft den Fehler nehme ich an. Dann das obige Verzeichnis wegkopieren und weiter..
 
Wenn immer noch nichts tut, in moodle/config.php die Zeile
$CFG->theme='boost'; einfuegen. Jetzt soll 'admin' die Seiten Site administration besuchen koennen.
 
- Site administration > Plugins > Plugins overview: Check for available updates. Scrollen, keine Warnungen unter Notes.
 
- Site administration > Environment. Ist alles Gruen?
 
P.S. Du hast nicht zufaellig ein Softaculous installer oder so was verwendet. Dann gilt alles nicht, es ist nicht Moodle-konform - bin auch nicht mehr dabei.