Warnings in editing course section

Warnings in editing course section

by Jens Gimp -
Number of replies: 1
hello,
i have two warnings on a brand-new moodle 1.8 in the editing course section:

http://mymoodle.tld/moodle/course/category.php?id=4&categoryedit=on&sesskey=qggTtz3sX0

Warning: Division by zero in /moodle/lib/weblib.php on line 5307

Warning: Division by zero in /moodle/course/category.php on line 303

the only changes was to install the nwiki (dfwiki) modul.

maybe it associates with the warnings in this nwiki modul:

http://moodle.org/mod/forum/discuss.php?d=72415#p326279

because i cant replicate this on the demo site

or is it a bug?

regards
jens




Average of ratings: -
In reply to Jens Gimp

Re: Warnings in editing course section

by Anthony Borrow -
Picture of Core developers Picture of Plugin developers Picture of Testers
Jens - try inserting this record into the mdl_config and see if that fixes it for you.

NSERT INTO mdl_config (name, value)
VALUES ('coursesperpage',20);

If not, let me know and I will dig further for an answer. Peace - Anthony