After updating to 1.20.4, I'm getting the following error whenever I attempt to save any changes to a page: A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "RecentChange::save". Database returned error "1054: Unknown column 'rc_moved_to_ns' in 'field list' (localhost)".
$wgReadOnly is not set in the LocalSettings.php page.
There are no useful messages in my HTTP access_log or error_log files. Just this: 10.4.34.34 - - [16/Apr/2013:14:36:59 -0400] "POST /wiki/index.php?title=Performance_Testing_Home_Page&action=submit HTTP/1.1" 500 14388
Turning on wgShowSQLErrors reveals the following:
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: INSERT INTO `recentchanges` (rc_timestamp,rc_cur_time,rc_namespace,rc_title,rc_type,rc_minor,rc_cur_id,rc_user,rc_user_text,rc_comment,rc_this_oldid,rc_last_oldid,rc_bot,rc_moved_to_ns,rc_moved_to_title,rc_ip,rc_patrolled,rc_new,rc_old_len,rc_new_len,rc_deleted,rc_logid,rc_log_type,rc_log_action,rc_params,rc_id) VALUES ('20130416184714','20130416184714','0','Main_Page','0','0','1','2','Wgillo','/* MediaWiki Help */ ','2917','2896','0','0','','10.4.34.34','1','0','4024','4060','0','0',NULL,'','',NULL) from within function "RecentChange::save". Database returned error "1054: Unknown column 'rc_moved_to_ns' in 'field list' (localhost)".