Magnus Manske schrieb:
Heinz wrote:
Magnus Manske schrieb:
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
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.
Well, it seems that your extension tries to use a database handle which isn't one. If you pass the functions names from your extension to the query/select/... database functions, the error message should tell you which function caused the problem.
Magnus
hello Magnus
thanks for your help. here is the full error message message:
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374
Warning: mysql_query(): 81 is not a valid MySQL-Link resource in /home/includes/Database.php on line 374 Unable to free MySQL result
Backtrace:
* GlobalFunctions.php line 451 calls wfbacktrace() * Database.php line 521 calls wfdebugdiebacktrace() * User.php line 766 calls databasemysql::freeresult() * SkinTemplate.php line 267 calls user::getnewtalk() * OutputPage.php line 467 calls skinmonobook::outputpage() * index.php line 270 calls outputpage::output()