https://bugzilla.wikimedia.org/show_bug.cgi?id=62708

            Bug ID: 62708
           Summary: Does not support SQLite as database backend // Error:
                    1 no such function: UNIX_TIMESTAMP
           Product: MediaWiki extensions
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: Comments
          Assignee: j...@countervandalism.net
          Reporter: rainerril...@hotmail.com
                CC: mi...@misza.net
       Web browser: ---
   Mobile Platform: ---

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

    Query:
    SELECT
Comment_Username,Comment_IP,Comment_Text,Comment_Date,UNIX_TIMESTAMP(Comment_Date)
AS timestamp,Comment_user_id,CommentID,IFNULL(Comment_Plus_Count -
Comment_Minus_Count,0) AS Comment_Score,Comment_Plus_Count AS
CommentVotePlus,Comment_Minus_Count AS
CommentVoteMinus,Comment_Parent_ID,CommentID FROM Comments WHERE
Comment_Page_ID = '12' LIMIT 100
    Function: Comment::getCommentList
    Error: 1 no such function: UNIX_TIMESTAMP

Backtrace:

#0 /srv/www/htdocs/includes/db/Database.php(1123):
DatabaseBase->reportQueryError('no such functio...', 1, 'SELECT  Comment...',
'Comment::getCom...', false)
#1 /srv/www/htdocs/includes/db/Database.php(1590): DatabaseBase->query('SELECT 
Comment...', 'Comment::getCom...')
#2 /srv/www/htdocs/extensions/Comments/CommentClass.php(738):
DatabaseBase->select(Array, Array, Array, 'Comment::getCom...', Array, Array)
#3 /srv/www/htdocs/extensions/Comments/CommentClass.php(1030):
Comment->getCommentList(0)
#4 /srv/www/htdocs/extensions/Comments/CommentsHooks.php(89):
Comment->display()
#5 [internal function]: CommentsHooks::displayComments(NULL, Array,
Object(Parser), Object(PPFrame_DOM))
#6 /srv/www/htdocs/includes/parser/Parser.php(4012):
call_user_func_array(Array, Array)
#7 /srv/www/htdocs/includes/parser/Preprocessor_DOM.php(1180):
Parser->extensionSubstitution(Array, Object(PPFrame_DOM))
#8 /srv/www/htdocs/includes/parser/Parser.php(3147):
PPFrame_DOM->expand(Object(PPNode_DOM), 0)
#9 /srv/www/htdocs/includes/parser/Parser.php(1212):
Parser->replaceVariables('Test 3?3?<comme...')
#10 /srv/www/htdocs/includes/parser/Parser.php(395):
Parser->internalParse('Test 3?3?<comme...')
#11 /srv/www/htdocs/includes/content/WikitextContent.php(319):
Parser->parse('Test 3?3?<comme...', Object(Title), Object(ParserOptions), true,
true, NULL)
#12 /srv/www/htdocs/includes/WikiPage.php(2072):
WikitextContent->getParserOutput(Object(Title), NULL, Object(ParserOptions))
#13 /srv/www/htdocs/includes/WikiPage.php(1755):
WikiPage->prepareContentForEdit(Object(WikitextContent), NULL, Object(User),
'text/x-wiki')
#14 [internal function]: WikiPage->doEditContent(Object(WikitextContent), '',
98, false, NULL, 'text/x-wiki')
#15 /srv/www/htdocs/includes/Article.php(1966): call_user_func_array(Array,
Array)
#16 /srv/www/htdocs/includes/EditPage.php(1811):
Article->__call('doEditContent', Array)
#17 /srv/www/htdocs/includes/EditPage.php(1811):
Article->doEditContent(Object(WikitextContent), '', 98, false, NULL,
'text/x-wiki')
#18 /srv/www/htdocs/includes/EditPage.php(1236):
EditPage->internalAttemptSave(Array, false)
#19 /srv/www/htdocs/includes/EditPage.php(428): EditPage->attemptSave()
#20 /srv/www/htdocs/includes/actions/EditAction.php(50): EditPage->edit()
#21 /srv/www/htdocs/includes/actions/EditAction.php(74): EditAction->show()
#22 /srv/www/htdocs/includes/Wiki.php(428): SubmitAction->show()
#23 /srv/www/htdocs/includes/Wiki.php(292):
MediaWiki->performAction(Object(Article), Object(Title))
#24 /srv/www/htdocs/includes/Wiki.php(586): MediaWiki->performRequest()
#25 /srv/www/htdocs/includes/Wiki.php(447): MediaWiki->main()
#26 /srv/www/htdocs/index.php(49): MediaWiki->run()
#27 /srv/www/htdocs/index.php5(24): require('/srv/www/htdocs...')
#28 {main}


Notice: Uncommitted DB writes (transaction from DatabaseBase::query
(DatabaseBase::query)). in /srv/www/htdocs/includes/db/Database.php on line
4118

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

Reply via email to