Duomenų bazės klaida

Jump to navigation Jump to search

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

[b8ec08fd5195116831523ac4] /wiki/Vilniaus_Saul%C4%97tekio_vidurin%C4%97_mokykla Wikimedia\Rdbms\DBQueryDisconnectedError from line 1697 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?

A connection error occurred during a query.
Query: SELECT u.user_real_name,
round(sum(case when r.rev_len - ifnull(rp.rev_len,0.0)>0 then r.rev_len - ifnull(rp.rev_len,0.0) else 0.0 end)) pli,
round(sum(case when r.rev_len - ifnull(rp.rev_len,0.0)>0 then 0 else r.rev_len - ifnull(rp.rev_len,0.0) end)*-1) minu,
round(sum(r.rev_len - ifnull(rp.rev_len,0.0))) delt,
round(sum(case when r.rev_len - ifnull(rp.rev_len,0.0)>0 then r.rev_len - ifnull(rp.rev_len,0.0) else 0.0 end)/p.page_len*100) proc,
case when sum(case when r.rev_len - ifnull(rp.rev_len,0.0)>0 then r.rev_len - ifnull(rp.rev_len,0.0) else 0.0 end)/p.page_len*100 >20
then case when round(sum(case when r.rev_len - ifnull(rp.rev_len,0.0)>0 then 0 else r.rev_len - ifnull(rp.rev_len,0.0) end)*-1) > 0
then 'autorius ir redaktorius' else 'autorius' end else 'redaktorius' end re
FROM `encrevision` r
left join `encrevision` rp on rp.rev_id=r.rev_parent_id and r.rev_parent_id<>0
left join `encrevision_actor_temp` ra on r.rev_id=ra.revactor_rev
left join `encactor` a on a.actor_id=ra.revactor_actor
left join `encuser` u on u.user_id=a.actor_user
left join `encpage` p on p.page_id=r.rev_page
WHERE r.rev_page = 160654
and u.user_id is not null
/* and r.rev_user <> 0 */
group BY u.user_real_name
order by 2 desc
Function: UW_Authors_List
Error: 2006 MySQL server has gone away (172.16.159.35)

Backtrace:

#0 /var/www/enciklopedija/w/includes/libs/rdbms/database/Database.php(1683): Wikimedia\Rdbms\Database->getQueryException(string, integer, string, string)
#1 /var/www/enciklopedija/w/includes/libs/rdbms/database/Database.php(1658): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, integer, string, string)
#2 /var/www/enciklopedija/w/includes/libs/rdbms/database/Database.php(1227): Wikimedia\Rdbms\Database->reportQueryError(string, integer, string, string, boolean)
#3 /var/www/enciklopedija/w/includes/libs/rdbms/database/DBConnRef.php(68): Wikimedia\Rdbms\Database->query(string, string, integer)
#4 /var/www/enciklopedija/w/includes/libs/rdbms/database/DBConnRef.php(286): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#5 /var/www/enciklopedija/w/extensions/uniwiki/Authors/Authors.php(83): Wikimedia\Rdbms\DBConnRef->query(string, string)
#6 /var/www/enciklopedija/w/includes/HookContainer/HookContainer.php(320): UW_Authors_List(OutputPage, string)
#7 /var/www/enciklopedija/w/includes/HookContainer/HookContainer.php(131): MediaWiki\HookContainer\HookContainer->callLegacyHook(string, array, array, array)
#8 /var/www/enciklopedija/w/includes/HookContainer/HookRunner.php(2732): MediaWiki\HookContainer\HookContainer->run(string, array)
#9 /var/www/enciklopedija/w/includes/OutputPage.php(2005): MediaWiki\HookContainer\HookRunner->onOutputPageBeforeHTML(OutputPage, string)
#10 /var/www/enciklopedija/w/includes/OutputPage.php(2017): OutputPage->addParserOutputText(ParserOutput, array)
#11 /var/www/enciklopedija/w/includes/page/Article.php(843): OutputPage->addParserOutput(ParserOutput, array)
#12 /var/www/enciklopedija/w/includes/actions/ViewAction.php(74): Article->view()
#13 /var/www/enciklopedija/w/includes/MediaWiki.php(527): ViewAction->show()
#14 /var/www/enciklopedija/w/includes/MediaWiki.php(313): MediaWiki->performAction(Article, Title)
#15 /var/www/enciklopedija/w/includes/MediaWiki.php(940): MediaWiki->performRequest()
#16 /var/www/enciklopedija/w/includes/MediaWiki.php(543): MediaWiki->main()
#17 /var/www/enciklopedija/w/index.php(53): MediaWiki->run()
#18 /var/www/enciklopedija/w/index.php(46): wfIndexMain()
#19 {main}