Could not insert workshop assessment

Re: Could not insert workshop assessment

by Nic McPhee -
Number of replies: 0
We cranked the amount of space up to 24Mb, and that didn't change anything.  The only odd thing in the error logs was:

[Mon Sep 20 00:57:33 2004] [error] PHP Warning:  Division by zero in /www/documents/moodle/mod/workshop/submissions.php on line 546

The offending line is:

            $table->data[] = array($n, "$user->firstname $user->lastname", 
                    number_format($error * 100 / $varguess, 2)."%",
                    $vargoodtext, $numtext);

in the (long) section marked as  "analysis of assessments (by teacher)".

I have no idea if this is related to the assessment insertion problem (I rather doubt it), but I thought I'd share just in case.