Thanks John & Martin for your replies.
Not sure if it is MAMP whch is giving me grief (
Apache/2.0.50 (Unix), PHP/4.3.9, and
MySQL 3.23.49) or if its because I'm starting from a blank
database rather than upgrading the code.
In either case this is the second independent report in the last month so something's up. Still seems to be busted here from the original complaint:
http://romeyn.ca/moodle/The error originates from this library:
$ grep -ir 'Page class mapping for id' *
lib/pagelib.php: error('Page class mapping for id "'.$type.'" exists but class "'.$mappings[$type].'" is not defined');
And comes from this
context:
function page_map_class($type, $classname = NULL) {
static $mappings = array(
MOODLE_PAGE_COURSE => 'page_course'
);
if(!empty($type) && !empty($classname)) {
$mappings[$type] = $classname;
}
if(!isset($mappings[$type])) {
error('Page class mapping requested for unknown type: '.$type);
}
if(!class_exists($mappings[$type])) {
error('Page class mapping for id "'.$type.'" exists but class "'.$mappings[$type].'" is not defined');
}
return $mappings[$type];
}
Mike