Difference between revisions of "Extension talk:DatabaseFetchHook.php"

From Organic Design wiki
m
m
Line 5: Line 5:
 
   Fatal error: Call to undefined method StubObject::getconnection() in /usr/local/apache2/htdocs/wiki/extensions/DatabaseFetchObject.php(49) : eval()'d code on line 5
 
   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?
+
The error occurs regardless of where i put the require/include of DatabaseFetchObject in index.php. Any suggestions? --[[User:Jkleff|Jkleff]] 09:29, 2 August 2007 (NZST)

Revision as of 21:29, 1 August 2007

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)