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

           Summary: mysql_real_escape_string() expects parameter 2 to be
                    resource, null
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
               URL: http://biowikifarm.net/test/Template:Ombox
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: Database
        AssignedTo: wikibugs-l@lists.wikimedia.org
        ReportedBy: g.m.haged...@gmail.com


With version r82697 (http://biowikifarm.net/test/Special:Version )
(as well as with a versions a number of days back, the error is a few days
old), the following error occurs:

Warning: mysql_real_escape_string() expects parameter 2 to be resource, null
given in /usr/share/mediawikistaging/phase3/includes/db/DatabaseMysql.php on
line 316

Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in
/usr/share/mediawikistaging/phase3/includes/db/DatabaseMysql.php on line 23
Database error

A database query syntax error has occurred. This may indicate a bug in the
software. The last attempted database query was:
BEGIN
from within function "DatabaseBase::begin". Database returned error "0: ".

I have tried to test a possible dependency on additional extensions, but
disabling extensions does not help (with the exception of ParserFunctions,
which disables much of the template processing, so it is probably unrelated).
Disabling SMW does not remove the error.

Gregor

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
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