Page MenuHomePhabricator

Database errors on several special pages
Closed, InvalidPublic

Description

Author: d.r.newman

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


Version: unspecified
Severity: normal
OS: Linux
Platform: Other

Details

Reference
bz22082

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:56 PM
bzimport set Reference to bz22082.

That's very odd - is this still happening? If so, is it possible that you have Semantic Forms in LocalSettings.php before Semantic MediaWiki?

Setting to "INVALID" - unless I hear otherwise, I'll assume that incorrect order in LocalSettings.php was the issue.