Duomenų bazės klaida

Peršokti į: navigacija, paiešką

Įvyko duomenų bazės klaida. Tai gali rodyti programinės įrangos sutrikimą.

[b58499cabf771406a5d7cd29] /wiki/Strutiniai_pauk%C5%A1%C4%8Diai Wikimedia\Rdbms\DBQueryError from line 1457 of /var/www/enciklopedija/w/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading?
Query: SELECT a.name FROM /* Strutiniai paukščiai */ Skaiciai s left join ( select distinct u.name,`case u`.`rank` when 1 then 'karalystė' when 2 then 'tipas' when 3 then 'klasė' when 4 then 'būrys' when 5 then 'antšeimis' when 6 then 'šeima' when 7 then 'gentis' when 8 then 'rūšis' when 9 then 'porūšis' when 10 then 'variatetas' when 11 then 'forma' else 'kita' end `rank`,`u`.```rank`` ranknr`,`1 sk from ( SELECT ifnull(gc`.`c_name`,`gt`.`name) name`,case gt.`rank` when 'karalystė' then 1 when 'tipas' then 2 when 'klasė' then 3 when 'būrys' then 4 when 'antšeimis' then 5 when 'šeima' then 6 when 'gentis' then 7 when 'rūšis' then 8 when 'porūšis' then 9 when 'variatetas' then 10 when 'forma' then 11 else 12 end `rank` FROM Paplitimas.`GBIF_tree` gt left join base.x_GBIFtax gc on (gc.c_taxon_id `gt.``key``) WHERE gt.parentKey = 725 union SELECT ifnull(tc.c_name`,`case tt`.`name when 'Superfamily unassigned' then 'Struthioniformes (nepriskirti antšeimiui)' when 'Not assigned' then 'Struthioniformes (nepriskirti)' else tt`.`name end) name`,case tt.`rank` when 'kingdom' then 1 when 'phylum' then 2 when 'class' then 3 when 'order' then 4 when 'superfamily' then 5 when 'family' then 6 when 'genus' then 7 when 'species' then 8 when 'subspecies' then 9 when 'variety' then 10 when 'form' then 11 else 12 end `rank` FROM col2013ac.`_taxon_tree` tt left join base.x_col2013taxon tc on (tt.taxon_id `tc.c_taxon_id) WHERE tt.``parent_id`` = 13031132 ) u order by u.``rank```,`u`.`name limit 0`,6 ) a on (s.nr `a.sk)` WHERE s.nr=1 ORDER BY a.`ranknr`, a.name
Function: EDUtils::searchDB
Error: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'when 1 then 'karalyst\xC4\x97' when 2 then 'tipas' when 3 then 'klas\xC4\x97'...' at line 1 (mysql.lietuvai.lt)

Backtrace:

#0 /var/www/enciklopedija/w/includes/libs/rdbms/database/Database.php(1427): Wikimedia\Rdbms\Database->makeQueryException(string, integer, string, string)
#1 /var/www/enciklopedija/w/includes/libs/rdbms/database/Database.php(1200): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#2 /var/www/enciklopedija/w/includes/libs/rdbms/database/Database.php(1653): Wikimedia\Rdbms\Database->query(string, string)
#3 /var/www/enciklopedija/w/extensions/ExternalData/ED_Utils.php(522): Wikimedia\Rdbms\Database->select(array, array, string, string, array, array)
#4 /var/www/enciklopedija/w/extensions/ExternalData/ED_Utils.php(281): EDUtils::searchDB(Wikimedia\Rdbms\DatabaseMysqli, string, array, string, array, NULL)
#5 /var/www/enciklopedija/w/extensions/ExternalData/ED_ParserFunctions.php(390): EDUtils::getDBData(string, string, array, string, array, NULL, array)
#6 /var/www/enciklopedija/w/includes/parser/Parser.php(3426): EDParserFunctions::doGetDBData(Parser, string, string, string, string, string, string)
#7 /var/www/enciklopedija/w/includes/parser/Parser.php(3127): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#8 /var/www/enciklopedija/w/includes/parser/Preprocessor_DOM.php(1277): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#9 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(890): PPFrame_DOM->expand(DOMElement)
#10 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(840): Scribunto_LuaEngine->doCachedExpansion(PPTemplateFrame_DOM, string, array)
#11 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(476): Scribunto_LuaEngine->preprocess(string, string)
#12 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(453): Scribunto_LuaStandaloneInterpreter->callback(string, array)
#13 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(501): Scribunto_LuaStandaloneInterpreter->handleCall(array)
#14 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaStandalone/LuaStandaloneEngine.php(377): Scribunto_LuaStandaloneInterpreter->dispatch(array)
#15 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(295): Scribunto_LuaStandaloneInterpreter->callFunction(Scribunto_LuaStandaloneInterpreterFunction, Scribunto_LuaStandaloneInterpreterFunction)
#16 /var/www/enciklopedija/w/extensions/Scribunto/includes/engines/LuaCommon/LuaCommon.php(969): Scribunto_LuaEngine->executeFunctionChunk(Scribunto_LuaStandaloneInterpreterFunction, PPTemplateFrame_DOM)
#17 /var/www/enciklopedija/w/extensions/Scribunto/includes/common/Hooks.php(140): Scribunto_LuaModule->invoke(string, PPTemplateFrame_DOM)
#18 /var/www/enciklopedija/w/includes/parser/Parser.php(3426): ScribuntoHooks::invokeHook(Parser, PPTemplateFrame_DOM, array)
#19 /var/www/enciklopedija/w/includes/parser/Parser.php(3127): Parser->callParserFunction(PPTemplateFrame_DOM, string, array)
#20 /var/www/enciklopedija/w/includes/parser/Preprocessor_DOM.php(1277): Parser->braceSubstitution(array, PPTemplateFrame_DOM)
#21 /var/www/enciklopedija/w/includes/parser/Parser.php(3305): PPFrame_DOM->expand(DOMElement)
#22 /var/www/enciklopedija/w/includes/parser/Preprocessor_DOM.php(1277): Parser->braceSubstitution(array, PPFrame_DOM)
#23 /var/www/enciklopedija/w/includes/parser/Parser.php(2942): PPFrame_DOM->expand(DOMElement, integer)
#24 /var/www/enciklopedija/w/includes/parser/Parser.php(1293): Parser->replaceVariables(string)
#25 /var/www/enciklopedija/w/includes/parser/Parser.php(443): Parser->internalParse(string)
#26 /var/www/enciklopedija/w/includes/StubObject.php(112): Parser->parse(string, Title, ParserOptions, boolean, boolean, integer)
#27 /var/www/enciklopedija/w/includes/StubObject.php(138): StubObject->_call(string, array)
#28 /var/www/enciklopedija/w/includes/content/WikitextContent.php(323): StubObject->__call(string, array)
#29 /var/www/enciklopedija/w/includes/content/AbstractContent.php(516): WikitextContent->fillParserOutput(Title, integer, ParserOptions, boolean, ParserOutput)
#30 /var/www/enciklopedija/w/includes/poolcounter/PoolWorkArticleView.php(144): AbstractContent->getParserOutput(Title, integer, ParserOptions)
#31 /var/www/enciklopedija/w/includes/poolcounter/PoolCounterWork.php(123): PoolWorkArticleView->doWork()
#32 /var/www/enciklopedija/w/includes/page/Article.php(604): PoolCounterWork->execute()
#33 /var/www/enciklopedija/w/includes/actions/ViewAction.php(68): Article->view()
#34 /var/www/enciklopedija/w/includes/MediaWiki.php(500): ViewAction->show()
#35 /var/www/enciklopedija/w/includes/MediaWiki.php(294): MediaWiki->performAction(Article, Title)
#36 /var/www/enciklopedija/w/includes/MediaWiki.php(818): MediaWiki->performRequest()
#37 /var/www/enciklopedija/w/includes/MediaWiki.php(524): MediaWiki->main()
#38 /var/www/enciklopedija/w/index.php(42): MediaWiki->run()
#39 {main}

Asmeniniai įrankiai
Vardų sritys

Variantai
Veiksmai
Naršymas
Įrankiai
Google paieška
Spausdinti/eksportuoti