Brion Vibber wrote:
El 5/1/09 1:57 PM, Ilmari Karonen escribió:
This does look broken: it's detecting that the archive table doesn't exist and skipping a check, only to blindly attempt to access it two lines later.
Presumably the updater should be fixed to create the archive table if it's missing, unless we have some valid reason to support setups without an archive table(?!?).
The archive table already existed in our first release, so there's no update step to add it.
If it's the only thing missing, then cut-n-pasting the table definition out of tables.sql and manually adding it may resolve the issue.
-- brion
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
Hi Brion,
thanks for that! I ran the archive section of tables.sql on the database and then ran update.php - it worked flawlessly :)
I'm not sure how I ended up without that table, but my predecessor did have a tendency to hack things to pieces (and not bother to document what he had done).
Thanks for the quick response!
Dan