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

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T5755, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 3755 - Database error in diff
Database error in diff
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
History/Diffs (Other open bugs)
1.5.x
All FreeBSD
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
http://www.carlwiki.org/
:
Depends on:
Blocks:
  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: ---


Attachments

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 carlwiki.org.
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.


Navigation
Links