Pre-Moodle 2

Documentation and issues related to Pre-Moodle 2 versions are archived under here.

 

Forum posts do not send out emails

http://moodle.org/mod/forum/discuss.php?d=73279

People cannot view (completion) Certificate

The certificates are generated, but people cannot view it. The view page gives a blank screen.

Example url: https://courses.cehd.tamu.edu/mod/certificate/view.php?id=10345

There were two different incidents.

1) The files included in view.php didn't have the right permission.

 require_once('lib.php');
 include '../../lib/fpdf/fpdf.php';
 include '../../lib/fpdf/fpdfprotection.php';
 include_once('html2pdf.php');

This is the correct permission.

ls -alZ ../../lib/fpdf/fpdf.php
-rw-rw-r--+ bkim moodle system_u:object_r:httpd_sys_content_t ../../lib/fpdf/fpdf.php

2) The default apc shared memory size was too small. (See Current Settings.)

Setting apc.shm_size=512M solved the problem.

Moodle requires the database and tables to be in UTF8 encoding.

Some tables, for certificate and questionnaire, come with latin swedish encoding and not utf8. To fix, run these:

alter database moodle11 character set utf8;
alter table moodle11.mdl_certificate character set utf8;
alter table moodle11.mdl_certificate_issues character set utf8;
alter table moodle11.mdl_certificate_linked_modules character set utf8;
alter table moodle11.mdl_questionnaire character set utf8;
alter table moodle11.mdl_questionnaire_attempts character set utf8;
alter table moodle11.mdl_questionnaire_quest_choice character set utf8;
alter table moodle11.mdl_questionnaire_question character set utf8;
alter table moodle11.mdl_questionnaire_question_type character set utf8;
alter table moodle11.mdl_questionnaire_resp_multiple character set utf8;
alter table moodle11.mdl_questionnaire_resp_single character set utf8;
alter table moodle11.mdl_questionnaire_response character set utf8;
alter table moodle11.mdl_questionnaire_response_bool character set utf8;
alter table moodle11.mdl_questionnaire_response_date character set utf8;
alter table moodle11.mdl_questionnaire_response_other character set utf8;
alter table moodle11.mdl_questionnaire_response_rank character set utf8;
alter table moodle11.mdl_questionnaire_response_text character set utf8;
alter table moodle11.mdl_questionnaire_survey character set utf8;
alter table moodle11.mdl_respondusws character set utf8;

nanogong name shows as [[typenanogong]]

Nanogong doesn't seem to follow the current moodle's language file rules. I manually added the entries in mod/assignment/lang/en_utf8/assignment.php. The texts are copied from mod/assignment/type/nanogong/lang/en_utf8/assignment_nanogong.php.

 $string['typenanogong'] = 'NanoGong Assignment';
 $string['nopermissions'] = 'You do not have permission to upload this assignment';
 $string['recordernotready'] = 'The sound recorder is not ready.\\\nPlease reload the page and try again.';
 $string['norecording'] = 'You must record your audio message using the recorder!';
 $string['uploadfailure'] = 'The sound recorder failed to upload the recorded voice file.\\\nPlease try again.';

assignment rubric error

This happened once in courses10 and once in courses12. Related with help ticket #31123.

This was the bug Paola reported to the moodle hq.

http://server3.moodle.com/browse/MDL-24766?page=com.atlassian.jira.plugin.system.issuetabpanels:changehistory-tabpanel

Student sees this error: "There was an error accessing assignment rubric information. Invalid grade." Teacher sees this error: "There was an error accessing assignment rubric information. Invalid grade. (graded=1 assid=... rubricid=...)"

The reason is that there are duplicate records in the mdl_assignment_submissions table.

Taxonomy: