Robert Treat schrieb:
On Thursday 22 December 2005 11:00, Magnus Manske wrote:
Heinz wrote:
What does this mean:
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374 Unable to free MySQL result
Basically it means you don't have a valid db connection (or you aren't referencing your connection properly). To figure out why your getting that message we'd need a bunch more info like-->
What MediaWiki Version? What were you doing when the error occurred? Do you use any extensions or hacks?
I use mediaWiki 1.53 and i'm working on an extension.
I try to add a table to mediawiki using phpmyedit (http://platon.sk/projects/main_page.php?project_id=5)
The extension looks like this
<?php $wgExtensionFunctions[] = "wfTest";
function wfTest() { global $wgParser; $wgParser->setHook( "Test", "renderTest" ); }
function renderTest( $input ) { [...] [preparing $opts] [...] $output .= new phpMyEdit($opts);
return $output; } ?>