I've upgrade my installation of mediawiki over at theopedia.com from what I think was a 1.3 beta to 1.3.5. Searching for anything returns nothing, and updating or adding a page returns the following:
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_new) VALUES ('20041008175943','20041008175943','0','Main_Page','0','0','5','1','Admin','/* [[:Category:Jesus Christ | Jesus Christ (Christology)]] */','0','667','0','0','','','0')
from within function "RecentChange::save". MySQL returned error "1054: Unknown column 'rc_ip' in 'field list'".
Any ideas? How do I go about getting the database schema updated?
On Oct 8, 2004, at 11:00 AM, Aaron Shafovaloff wrote:
from within function "RecentChange::save". MySQL returned error "1054: Unknown column 'rc_ip' in 'field list'".
Any ideas? How do I go about getting the database schema updated?
Did you run the install script (config/index.php in a web browser?) to update the schema? If so, there may be a bug and it missed that field. If not, try that.
Or you can manually run the SQL update scripts in maintenance/archives/. The one for this change is patch-rc_ip.sql.
-- brion vibber (brion @ pobox.com)
mediawiki-l@lists.wikimedia.org