Extension talk:DatabaseFetchHook.php
From Organic Design wiki
Integration with MW 1.9.1
I'm a PHP newbie trying to use DatabaseFetchObject along with SimpleSecurity on MediaWiki 1.9.1, but keep getting the following error:
Fatal error: Call to undefined method StubObject::getconnection() in /usr/local/apache2/htdocs/wiki/extensions/DatabaseFetchObject.php(49) : eval()'d code on line 5
The error occurs regardless of where i put the require/include of DatabaseFetchObject in index.php. Any suggestions? --Jkleff 09:29, 2 August 2007 (NZST)
- I haven't looked at this extension for quite some time and it may not work with current versions of MediaWiki, SimpleSecurity has not been made to work with DatabaseFetchObject yet either, so unless you're wanting to get into some code there's no point using it with SimplesSecurity. --Nad 09:42, 2 August 2007 (NZST)