MySql problem

Joomla mi pri modulu latest news in pri enem izmed menijev javlja spodnjo napako, ki jo ponovi pri vsaki vrstici, ki bi jo moral izpisati iz baze:
Warning: mysqlquery(): supplied argument is not a valid MySQL-Link resource in /publichtml/includes/database.php on line 289

Warning: mysql_errno(): supplied argument is not a valid MySQL-Link resource in /includes/database.php on line 291

Warning: mysqlerror(): supplied argument is not a valid MySQL-Link resource in /publichtml/includes/database.php on line 292

Ta fajl želi v teh vrsticah imeti od baze tole:
#287 $this->errorNum = 0;
$this->
errorMsg = '';
$this->cursor = mysqlquery( $this->sql, $this->resource );
if (!$this->cursor) {
$this->
errorNum = mysqlerrno( $this->resource );
$this->errorMsg = mysqlerror( $this->resource )." SQL=$this->sql";
if ($this->debug) {
trigger
error( mysqlerror( $this->resource ), EUSERNOTICE );
//echo "<pre>" . $this->sql . "</pre>\n";
if (function
exists( 'debugbacktrace' )) {
foreach( debug
backtrace() as $back) {
if (@$back['file']) {
echo '
'.$back['file'].':'.$back['line'];

Zakaj se to pojavlja in zakaj se pojavlja samo včasih in ne vedno? JE to problem skripte, je to problem serverja ali kaj?
Hvala

11 odgovorov

sorry, typo....