Page MenuHomePhabricator

Database error in diff
Closed, ResolvedPublic

Description

Author: logikalguy

Description:
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.


Version: 1.5.x
Severity: normal
OS: FreeBSD
URL: http://www.carlwiki.org/

Details

Reference
bz3755

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 8:53 PM
bzimport set Reference to bz3755.
bzimport added a subscriber: Unknown Object (MLST).

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.

logikalguy wrote:

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.