block__notes.php

block__notes.php

by Doug Maynard -
Number of replies: 2

During my install I get a warning from time to time....

Warning: file(/home/biogca/public_html/moodle/blocks/_notes/block__notes.php): failed to open stream: No such file or directory in /home/biogca/public_html/moodle/lib/blocklib.php on line 21

This occured on pages:

  • setting up block tables
  • setting up modules tables
  • and again just before setting up the home page

I can't find it either. Any clues what this is about?

DOug

Average of ratings: -
In reply to Doug Maynard

Re: block__notes.php

by Jan Dierckx -

You seem to have a directory called _notes in your blocks directory. Moodle expects to find code for a block with the same name in there... ands issues an error when it can not find that code.

Check what is inside the _notes folder. Deleting it or moving it out of the blocks directory should fix this.

In reply to Jan Dierckx

Re: block__notes.php

by Doug Maynard -

Aha!

Thanks Jan. I'd been looking around for a Moodle file to put in the _notes folder while, as you made me realize, the existance of the _notes folder was the problem.

I had used Dreamweaver to upload Moodle and it included a swack of _notes folders containing a bit of XML code that it uses to keep local and remote directories in sync.

Not a Moodle problem. Take note Dreamweaver uploaders!

Thanks again - problem solved.

DOug