Scheduler cannot add appointments

Scheduler cannot add appointments

by Richard Webb -
Number of replies: 1
I just installed the latest build of scheduler for Moodle 1.9 using Moodle 1.9.4 (final build). I can create a schedule event but the buttons to create appointments do not appear. Setting debug I find these two errors in their place:


Notice: Undefined variable: displayaddbuttons in moodle/mod/scheduler/commands.html on line 4
Notice: Undefined variable: displayaddbuttons in moodle/mod/scheduler/commands.html on line 22

Any ideas?


Thanks for any help!


Richard

 
                        
Average of ratings: -
In reply to Richard Webb

Re: Scheduler cannot add appointments

by Richard Webb -
I should add that I also get two instances of this error message:

The field $cm->name should be set if you call build_navigation with a $cm parameter.
If you get $cm using get_coursemodule_from_instance or get_coursemodule_from_id,
this will be done automatically.
  • line 3798 of lib/weblib.php: call to debugging()
  • line 93 of mod/scheduler/view.php: call to build_navigation()
The line being referred to in mod/scheduler/view.php is:

 $navigation = build_navigation('', $cm);


I was able to get rid of the displayaddbuttons errors by using the .html files that were downloaded if I did not specify Moodle 1.9 in the download. I was not able to get rid of the errors shown above though.