Summary: mysql_real_escape_string() expects parameter 2 to be
                    resource, null
           Product: MediaWiki
           Version: 1.18-svn
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: critical
          Priority: Normal
         Component: Database

With version r82697 ( )
(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:
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.


Configure bugmail:
------- 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

Reply via email to