Graph in Activity Report for the Critical Incidents Survey?

Graph in Activity Report for the Critical Incidents Survey?

by Tim Allen -
Number of replies: 2

Hi moodlers,  smile

I have checked the forums and I can see the a lot have had similar problems to this over time, but not exactly the same...

When I check a complete activity report all survey graphs work fine except for the recently added "Critical Incidents" survey which displays the infamous X-box (no image).

As I said, all other graphs work fine, it's just this one.  Now this survey is a qualitative one, so perhaps the problem is that a graph is not appropriate here?  I am using 1.2.1 on LAMP.

When I view the image link -  http://courses.discoverlanguage.com/mod/survey/graph.php?id=587&sid=197&type=student.png - in my browser, I get this:


Warning: Wrong parameter count for max() in /home/discove/public_html/courses/mod/survey/graph.php on line 496

Warning: Wrong parameter count for max() in /home/discove/public_html/courses/mod/survey/graph.php on line 497

Warning: Division by zero in /home/discove/public_html/courses/lib/graphlib.php on line 998

Warning: Division by zero in /home/discove/public_html/courses/lib/graphlib.php on line 1000

Warning: Division by zero in /home/discove/public_html/courses/lib/graphlib.php on line 686

Warning: Division by zero in /home/discove/public_html/courses/lib/graphlib.php on line 692

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 722

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 722

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 722

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 769

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 546

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 281

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 281

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 281

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 281

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 281

Warning: Invalid argument supplied for foreach() in /home/discove/public_html/courses/lib/graphlib.php on line 281

Warning: Cannot modify header information - headers already sent by (output started at /home/discove/public_html/courses/mod/survey/graph.php:496) in /home/discove/public_html/courses/lib/graphlib.php on line 1468
덽NG IHDR?R-oPLTER???솛儆f셟???拙尊傳硼汾儆333fff솛????옜욀賽윜?__{dOD?DATx쒗?VV괙Q@???뙇$8켚&}?{??聆}KuwE뉫惑實多a??炘Gr??롞悚Ow?<\圓桭釋s?욐?歎?t?巫希什蕓?꽢??誦皺쐾?눵U


I think this may be a bug but am not sure if it has been fixed in the latest CVS...but I see no reference to it in the forums.

Any feedback on this one please?  smile

Tim.

Here is the empty graph screen:

Attachment AccRepCritIncGrphProb.png
Average of ratings: -
In reply to Tim Allen

Re: Graph in Activity Report for the Critical Incidents Survey?

by Martin Dougiamas -
Picture of Core developers Picture of Documentation writers Picture of Moodle HQ Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Certainly looks like a bug - please file it on http://moodle.org/bugs/

Thanks!