Last modified: 2009-10-05 13:46:57 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 20951 - LiquidThreads: Database query error
LiquidThreads: Database query error
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
LiquidThreads (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Andrew Garrett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-10-02 14:57 UTC by Gurch
Modified: 2009-10-05 13:46 UTC (History)
0 users

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


Attachments

Description Gurch 2009-10-02 14:57:29 UTC
After installing LiquidThreads using the instructions at http://www.mediawiki.org/wiki/Extension:LiquidThreads and creating a thread, any attempt to interact with that thread (e.g. view, show history, summarize) results in the following error:


A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:

    SELECT * FROM `test_thread` WHERE thread.thread_root = '5' 

from within function "Threads::where". Database returned error "1054: Unknown column 'thread.thread_root' in 'where clause' (localhost)".


'test_' is my wiki's database prefix. The query works if 'thread.thread_root' is replaced by '`test_thread`.thread_root'.
Comment 1 Andrew Garrett 2009-10-05 13:46:57 UTC
Some old David McCabe era code that didn't know about table prefixes.

Fix committed in r57381, thanks for the report.

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


Navigation
Links