Bila kita menemui tidak bisa mengimport soal dengan format aiken pada moodle 2.1, padahal format penulisan sudah benar dan bila diimport pada moodle 1.9, berarti ada script yang harus Anda rubah, script tersebut adalah
===================================================
The problem seems to be in ‘question/format/aiken/format.php’ around line 78.
If you change it from…
—-
if (preg_match(‘/^[A-Z][).][ \t]/’, $nowline)) {
// A choice. Trim off the label and space, then save
$question->answer[] = htmlspecialchars(trim(substr($nowline, 2)), ENT_NOQUOTES);
$question->fraction[] = 0;
$question->feedback[] = ”;
continue;
}
—-
to….
—-
if (preg_match(‘/^[A-Z][).][ \t]/’, $nowline)) {
// A choice. Trim off the label and space, then save
$question->answer[] = array(‘text’ => htmlspecialchars(trim(substr($nowline, 2)), ENT_NOQUOTES), ‘format’ => 0, ‘files’ => array());
$question->fraction[] = 0;
$question->feedback[] = ”;
continue;
}
—–
it resolves the import issue.
info lebih rumit dikit kunjungi link berikut >>>>>>>>>>>>>>>>>>>>>>>>>>>>>
====================================================