Last modified: 2009-10-05 13:46:57 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 T22951, the corresponding Phabricator task for complete and up-to-date bug report information.
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