Steve,
I'm in MySQL and have issued these commands on my Moodle DB:
ALTER TABLE `mdl_course` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `mdl_wiki` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `mdl_context` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
ALTER TABLE `mdl_enrol` CONVERT TO CHARACTER SET utf8 COLLATE utf8_general_ci;
Error I'm getting now: (post those commands in the upgrade process)
[code]
Debug info: Illegal mix of collations (utf8_general_ci,IMPLICIT) and (utf8_unicode_ci,IMPLICIT) for operation '='
SELECT po.id AS oldpage_id, po.pagename AS oldpage_pagename, po.version, po.flags,
po.content, po.author, po.userid AS oldpage_userid, po.created, po.lastmodified, po.refs, po.meta, po.hits, po.wiki,
p.id AS newpage_id, p.subwikiid, p.title, p.cachedcontent, p.timecreated, p.timemodified AS newpage_timemodified,
p.timerendered, p.userid AS newpage_userid, p.pageviews, p.readonly, e.id AS entry_id, e.wikiid, e.course AS entrycourse,
e.groupid, e.userid AS entry_userid, e.pagename AS entry_pagename, e.timemodified AS entry_timemodified,
w.id AS wiki_id, w.course AS wiki_course, w.name, w.summary AS summary, w.pagename AS wiki_pagename, w.wtype,
w.ewikiprinttitle, w.htmlmode, w.ewikiacceptbinary, w.disablecamelcase, w.setpageflags, w.strippages, w.removepages,
w.revertchanges, w.initialcontent, w.timemodified AS wiki_timemodified,
cm.id AS cmid
FROM mdl_wiki_pages_old po
LEFT OUTER JOIN mdl_wiki_entries_old e ON e.id = po.wiki
LEFT OUTER JOIN mdl_wiki w ON w.id = e.wikiid
LEFT OUTER JOIN mdl_wiki_subwikis s ON e.groupid = s.groupid AND e.wikiid = s.wikiid AND e.userid = s.userid
LEFT OUTER JOIN mdl_wiki_pages p ON po.pagename = p.title AND p.subwikiid = s.id
JOIN mdl_modules m ON m.name = 'wiki'
JOIN mdl_course_modules cm ON (cm.module = m.id AND cm.instance = w.id)
[array (
)]
Stack trace:
- line 394 of /lib/dml/moodle_database.php: dml_read_exception thrown
- line 768 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
- line 226 of /mod/wiki/db/upgradelib.php: call to mysqli_native_moodle_database->get_recordset_sql()
- line 175 of /mod/wiki/db/upgrade.php: call to wiki_upgrade_migrate_versions()
- line 540 of /lib/upgradelib.php: call to xmldb_wiki_upgrade()
- line 271 of /lib/upgradelib.php: call to upgrade_plugins_modules()
- line 1437 of /lib/upgradelib.php: call to upgrade_plugins()
- line 269 of /admin/index.php: call to upgrade_noncore()[/code]
Looks like mdl_wiki_pages is not having an issue. :/