[Mediawiki-l] error question

Brion Vibber brion at wikimedia.org
Mon Dec 15 00:44:21 UTC 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

David Doonan wrote:
> Any idea how to resolve the following error message:
> 
> Fatal error: Call to a member function tableName() on a non-object  
> in /wiki/includes/ObjectCache.php on line 409
> 
> Line 409 = 			$this->table = $dbw->tableName( $this->table );
> 
> The url in question is http://www.gp.org/wiki/index.php/
> 
> Repairing the wiki_ObjectCache db table does not resolve the issue.

Generally speaking this tends to indicate a failure to connect to the
database, which isn't caught as nicely as one might like. Later code
ends up trying to load some stuff out of the database, but the
connection hasn't been established and so there's no database object to
pull from.

Double-check if there might be another DB problem, such as a connection
error, changes to the user's rights or password, etc.

- -- brion
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklFqGUACgkQwRnhpk1wk45SzACfSkSWR6K1H0FW/tAMS1S9vHQB
5eoAnRXGgWvJPBku9LTJVKg9EFhex+nB
=d0JW
-----END PGP SIGNATURE-----



More information about the MediaWiki-l mailing list