Last modified: 2010-03-11 20:10:17 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 T24082, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 22082 - Database errors on several special pages
Database errors on several special pages
Status: RESOLVED INVALID
Product: MediaWiki extensions
Classification: Unclassified
SemanticForms (Other open bugs)
unspecified
Other Linux
: Normal normal (vote)
: ---
Assigned To: Yaron Koren
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-01-11 22:42 UTC by David Newman
Modified: 2010-03-11 20:10 UTC (History)
1 user (show)

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


Attachments

Description David Newman 2010-01-11 22:42:07 UTC
When I click on the links to Semantic Forms special pages, I get the following error for the pages
Special:CreateCategory, and Special:AddPage .

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

    SELECT page_title FROM `mw_page` WHERE page_namespace = SF_NS_FORM AND page_is_redirect = 0 ORDER BY page_title

from within function "". MySQL returned error "1054: Unknown column 'SF_NS_FORM' in 'where clause' (localhost)".

When called from these pages, SF_NS_FORM is not being filled with the namespace number, but is treated as a database column inside SF_Utils.inc .

This is with Mediawiki 1.15.1, SemanticMediaWiki 1.4.3 and SemanticForms 1.8.7 on PHP 5.3.1
Comment 1 Yaron Koren 2010-02-02 20:49:54 UTC
That's very odd - is this still happening? If so, is it possible that you have Semantic Forms in LocalSettings.php before Semantic MediaWiki?
Comment 2 Yaron Koren 2010-03-11 20:10:17 UTC
Setting to "INVALID" - unless I hear otherwise, I'll assume that incorrect order in LocalSettings.php was the issue.

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


Navigation
Links