Page MenuHomePhabricator

Database error in dev-snapshot rev72682
Closed, InvalidPublic

Description

Author: simon.bachenberg

Description:
I just installed the latest dev-snapshot (Revision 72682) of Category Tree via Subversion. All the files are in the extension folder and I added the two lines with ajax enable and that require once in my LocalSettings. Nevertheless as soon as I want to see a Category Tree e.g. via the categorytree-tag, I receive the following message:

Es ist ein Datenbankfehler aufgetreten. Der Grund kann ein Programmierfehler sein. Die letzte Datenbankabfrage lautete: (SQL-Abfrage versteckt) aus der Funktion „CategoryTree::renderChildren“. Die Datenbank meldete den Fehler „1054: Unknown column 'cl_type' in 'where clause' (localhost)“. Von „../wiki/index.php/Spezial:Kategorienbaum“


Version: 1.17.x
Severity: blocker
OS: other
Platform: PC

Details

Reference
bz25161

Event Timeline

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

Not a bug, and not an issue with CategoryTree.

You need to run update.php to add the new fields to the categorylinks table.

See http://www.mediawiki.org/wiki/Manual:Upgrading

...and/or: the latest dev snapshot of CategoryTRee should only be used with the latest dev snapshof of mediawiki. If you want CategoryTree for MediaWiki 1.16, use the snapshopt for 1.16, not trunk. Extensions are generally not kept compatible to older versions of mediawiki, that's why they get branched along with the trunk.