Jump to content

Extension talk:GetFamily

Add topic
From mediawiki.org

Database error

[edit]

I did just as described on the installation steps. Pretty simple actually. But I get this error:

A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was: (SQL query hidden) from within function "". MySQL returned error "1146: Table 'sun_REPLACED.interwiki' doesn't exist (mysql.REPLACEDID.com)".

The problem with this is that it should have read sun_REPLACED.MYPREFACE_interwiki .

Anyhow, I went into GetFamily.php and on this line:

$result = $dbr->query( "SELECT iw_prefix, iw_url FROM interwiki WHERE iw_prefix IN ( $where );" );

I changed "interwiki" to "MYPREFACE_interwiki" and got a different error:

getfamily-interwikierror


What to do?