when i upgrade from moodle 2.0.3 to 2.1 i get a DB Ive gotten this error when upgraded 2 different instances on the same server, any thoughts?
Debug info: Unknown column 'component' in 'where clause'
UPDATE mdl_rating
SET component = 'mod_data', ratingarea = 'entry'
WHERE contextid IN (
SELECT ctx.id
FROM mdl_context ctx
JOIN mdl_course_modules cm ON cm.id = ctx.instanceid
JOIN mdl_modules m ON m.id = cm.module
WHERE ctx.contextlevel = 70 AND
m.name = 'data'
) AND component = 'unknown'
[array (
)]
Stack trace:
line 396 of /lib/dml/moodle_database.php: dml_write_exception thrown
line 707 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
line 336 of /mod/data/db/upgrade.php: call to mysqli_native_moodle_database->execute()
line 535 of /lib/upgradelib.php: call to xmldb_data_upgrade()
line 265 of /lib/upgradelib.php: call to upgrade_plugins_modules()
line 1460 of /lib/upgradelib.php: call to upgrade_plugins()
line 317 of /admin/index.php: call to upgrade_noncore()