Database error

Jump to navigation Jump to search

A database query error has occurred. This may indicate a bug in the software.

[babb4dcb8f7e8cb79c717a2c] /wiki/index.php?title=Main_Page&offset=2013-02-25+01%253A29%253A46%252B00%257C608&limit=20&action=history Wikimedia\Rdbms\DBQueryError: A database query error has occurred. Did you forget to run your application's database schema updater after upgrading or after adding a new extension?

Please see https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:Upgrading and https://www.mediawiki.org/wiki/Special:MyLanguage/Manual:How_to_debug for more information.

Error 22007: ERROR: invalid input syntax for type timestamp with time zone: "2013-02-25 01%3A29%3A46%2B00%7C608"
LINE 1: ...user)) WHERE rev_page = 1 AND (((rev_timestamp>='2013-02-2...
^

Function: IndexPager::buildQueryInfo (history page unfiltered)
Query: SELECT rev_id,rev_page,rev_timestamp,rev_minor_edit,rev_deleted,rev_len,rev_parent_id,rev_sha1,comment_rev_comment.comment_text AS "rev_comment_text",comment_rev_comment.comment_data AS "rev_comment_data",comment_rev_comment.comment_id AS "rev_comment_cid",actor_rev_user.actor_user AS "rev_user",actor_rev_user.actor_name AS "rev_user_text",rev_actor,user_name,(SELECT array_to_string(array_agg(ctd_name),',') FROM "change_tag" JOIN "change_tag_def" ON ((ct_tag_id=ctd_id)) WHERE ct_rev_id=rev_id ) AS "ts_tags" FROM "revision" JOIN "revision_comment_temp" "temp_rev_comment" ON ((temp_rev_comment.revcomment_rev = rev_id)) JOIN "comment" "comment_rev_comment" ON ((comment_rev_comment.comment_id = temp_rev_comment.revcomment_comment_id)) JOIN "actor" "actor_rev_user" ON ((actor_rev_user.actor_id = rev_actor)) LEFT JOIN "user" ON ((actor_rev_user.actor_user != 0) AND (user_id = actor_rev_user.actor_user)) WHERE rev_page = 1 AND (((rev_timestamp>='2013-02-25 01%3A29%3A46%2B00%7C608'))) ORDER BY rev_timestamp,rev_id LIMIT 1

Backtrace:

from /usr/local/apache2/htdocs/wiki/includes/libs/rdbms/database/Database.php(1618)
#0 /usr/local/apache2/htdocs/wiki/includes/libs/rdbms/database/Database.php(1602): Wikimedia\Rdbms\Database->getQueryException(string, string, string, string)
#1 /usr/local/apache2/htdocs/wiki/includes/libs/rdbms/database/Database.php(1576): Wikimedia\Rdbms\Database->getQueryExceptionAndLog(string, string, string, string)
#2 /usr/local/apache2/htdocs/wiki/includes/libs/rdbms/database/Database.php(952): Wikimedia\Rdbms\Database->reportQueryError(string, string, string, string, boolean)
#3 /usr/local/apache2/htdocs/wiki/includes/libs/rdbms/database/Database.php(1708): Wikimedia\Rdbms\Database->query(string, string, integer)
#4 /usr/local/apache2/htdocs/wiki/includes/libs/rdbms/database/DBConnRef.php(103): Wikimedia\Rdbms\Database->select(array, array, array, string, array, array)
#5 /usr/local/apache2/htdocs/wiki/includes/libs/rdbms/database/DBConnRef.php(325): Wikimedia\Rdbms\DBConnRef->__call(string, array)
#6 /usr/local/apache2/htdocs/wiki/includes/pager/IndexPager.php(460): Wikimedia\Rdbms\DBConnRef->select(array, array, array, string, array, array)
#7 /usr/local/apache2/htdocs/wiki/includes/pager/IndexPager.php(277): IndexPager->reallyDoQuery(string, integer, boolean)
#8 /usr/local/apache2/htdocs/wiki/includes/pager/IndexPager.php(785): IndexPager->doQuery()
#9 /usr/local/apache2/htdocs/wiki/includes/actions/pagers/HistoryPager.php(658): IndexPager->getNumRows()
#10 /usr/local/apache2/htdocs/wiki/includes/pager/ReverseChronologicalPager.php(153): HistoryPager->isNavigationBarShown()
#11 /usr/local/apache2/htdocs/wiki/includes/actions/HistoryAction.php(315): ReverseChronologicalPager->getNavigationBar()
#12 /usr/local/apache2/htdocs/wiki/includes/actions/FormlessAction.php(48): HistoryAction->onView()
#13 /usr/local/apache2/htdocs/wiki/includes/MediaWiki.php(542): FormlessAction->show()
#14 /usr/local/apache2/htdocs/wiki/includes/MediaWiki.php(322): MediaWiki->performAction(Article, Title)
#15 /usr/local/apache2/htdocs/wiki/includes/MediaWiki.php(904): MediaWiki->performRequest()
#16 /usr/local/apache2/htdocs/wiki/includes/MediaWiki.php(562): MediaWiki->main()
#17 /usr/local/apache2/htdocs/wiki/index.php(50): MediaWiki->run()
#18 /usr/local/apache2/htdocs/wiki/index.php(46): wfIndexMain()
#19 {main}