Last modified: 2010-05-15 15:38:07 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 3755 - Database error in diff
Database error in diff
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
All FreeBSD
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
Depends on:
  Show dependency treegraph
Reported: 2005-10-20 04:35 UTC by Trevor Burnham
Modified: 2010-05-15 15:38 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Description Trevor Burnham 2005-10-20 04:35:01 UTC
I just did an in-place upgrade to version 1.5.0 (from version 1.4.7).  It went pretty smoothly; however, I've noticed one bug so far: When I 
click the "Compare selected versions" link in the history of any page, I get this error:

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 "DifferenceEngine::loadText". MySQL returned error "1146: Table 'carlwiki_wikidb.old' doesn't exist (localhost)".

Any ideas for how to fix this?  All of the old page versions do exist (and can be accessed), yet the diff function doesn't work.  This error 
can be reproduced from any page at
Comment 1 Brion Vibber 2005-10-20 05:17:28 UTC
It sounds like you have an old version of DifferenceEngine.php.

Can you confirm that you have uploaded all the current versions of all the files?
Make sure that your LocalSettings.php isn't pointing to another version of the source 
files, and that you don't have some mix of files.
Comment 2 Trevor Burnham 2005-10-20 05:24:51 UTC
Thank you, sure enough that turned out to be the problem.  (Somehow, all of the correct files were uploaded except for 
DifferenceEngine.php.)  Sorry to be a bother, and once again, thank you very much for the quick fix.

Note You need to log in before you can comment on or make changes to this bug.