https://bugzilla.wikimedia.org/show_bug.cgi?id=19948
Summary: CreateTemplate produces database error Product: MediaWiki extensions Version: any Platform: All URL: internal OS/Version: All Status: NEW Severity: blocker Priority: Normal Component: SemanticForms AssignedTo: yaro...@gmail.com ReportedBy: jensen.n...@gmail.com CC: wikibugs-l@lists.wikimedia.org Created an attachment (id=6392) --> (https://bugzilla.wikimedia.org/attachment.cgi?id=6392) MediaWiki Local Settings This is a new installation of mediawiki, semantic mediawiki and forms, so I've not seen it fully working yet. Perhaps I have a misconfiguration? I've attempted the update script as advised at http://www.mediawiki.org/wiki/Manual:Upgrading#Shell. I've also performed a reinstall as directed at http://www.mediawiki.org/wiki/Manual:Upgrading#Alternative_2:_Re-run_the_installer. Below I pasted in the relevant output from the Special:CreateTemplate, Special:Version and attached a sanitized source of LocalSettings.php. System Information: OS: Arch Linux, updated daily Apache: Apache/2.2.11 (Unix) mod_ssl/2.2.11 OpenSSL/0.9.8k DAV/2 SVN/1.6.3 Server Semantic MediaWiki & Forms: SVN rev 53770 index.php/Special:CreateTemplate Internal error A database error has occurred Query: DELETE smw_tmp_unusedprops.* FROM smw_tmp_unusedprops, smw_rels2 INNER JOIN smw_ids ON p_id=smw_id WHERE title=smw_title AND smw_iw='' Function: SMW::getUnusedPropertySubjects Error: 1 ERROR: syntax error at or near "smw_tmp_unusedprops" LINE 1: ...ETE /* SMW::getUnusedPropertySubjects 10.0.0.8 */ smw_tmp_un... ^ Backtrace: #0 /srv/http/mediawiki/includes/db/Database.php(616): DatabasePostgres->reportQueryError('ERROR: syntax ...', 1, 'DELETE smw_tmp_...', 'SMW::getUnusedP...', false) #1 /srv/http/mediawiki/extensions/SemanticMediaWiki/includes/storage/SMW_SQLStore2.php(1006): Database->query('DELETE smw_tmp_...', 'SMW::getUnusedP...') #2 /srv/http/mediawiki/extensions/SemanticForms/specials/SF_CreateTemplate.php(41): SMWSQLStore2->getUnusedPropertiesSpecial(Object(SMWRequestOptions)) #3 /srv/http/mediawiki/extensions/SemanticForms/specials/SF_CreateTemplate.php(89): SFCreateTemplate::getAllPropertyNames() #4 /srv/http/mediawiki/extensions/SemanticForms/specials/SF_CreateTemplate.php(27): doSpecialCreateTemplate() #5 /srv/http/mediawiki/includes/SpecialPage.php(559): SFCreateTemplate->execute(NULL) #6 /srv/http/mediawiki/includes/Wiki.php(229): SpecialPage::executePath(Object(Title)) #7 /srv/http/mediawiki/includes/Wiki.php(59): MediaWiki->initializeSpecialCases(Object(Title), Object(OutputPage), Object(WebRequest)) #8 /srv/http/mediawiki/index.php(116): MediaWiki->initialize(Object(Title), NULL, Object(OutputPage), Object(User), Object(WebRequest)) #9 {main} index.php/Special:Version Version ... Installed software Product Version MediaWiki 1.15.1 PHP 5.2.10 (apache2handler) PostgreSQL 8.3.7 Installed extensions Special pages Semantic Forms (Version 1.8) Forms for adding and editing semantic data Yaron Koren and others Parser hooks Semantic MediaWiki (Version 1.5e-SVN) Making your wiki more accessible - for machines and humans (online documentation) Klaus Lassleben, Markus Krötzsch, Denny Vrandecic, S Page, and others. Maintained by AIFB Karlsruhe. Extension functions sfgParserFunctions, sfgSetupExtension and smwfSetupExtension Parser extension tags <ask> and <pre> Parser function hooks anchorencode, arraymap, arraymaptemplate, ask, basepagename, basepagenamee, concept, declare, defaultsort, displaytitle, filepath, formatdate, formatnum, forminput, formlink, fullpagename, fullpagenamee, fullurl, fullurle, gender, grammar, info, int, language, lc, lcfirst, localurl, localurle, namespace, namespacee, ns, numberingroup, numberofactiveusers, numberofadmins, numberofarticles, numberofedits, numberoffiles, numberofpages, numberofusers, numberofviews, padleft, padright, pagename, pagenamee, pagesincategory, pagesize, plural, protectionlevel, set, set_recurring_event, show, special, subjectpagename, subjectpagenamee, subjectspace, subjectspacee, subpagename, subpagenamee, tag, talkpagename, talkpagenamee, talkspace, talkspacee, uc, ucfirst and urlencode -- Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list Wikibugs-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikibugs-l