• Jetzt anmelden. Es dauert nur 2 Minuten und ist kostenlos!

PHP Fehlermeldung!

Status
Für weitere Antworten geschlossen.

david2502

Neues Mitglied
Wenn ich ein Script von mir aufrufe kommt folgendes:


Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/david2502/system/bin/sql.class.php on line 24

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/david2502/system/bin/sql.class.php on line 25

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/david2502/system/bin/sql.class.php on line 24

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/david2502/system/bin/sql.class.php on line 25

Warning: mysql_fetch_object(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/david2502/system/bin/sql.class.php on line 24

Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /usr/export/www/hosting/david2502/system/bin/sql.class.php on line 25
Table 'david2502.settings' doesn't exist


In der sql.class.php steht in der Zeile 24,25 und 26 folgendes:

$this->lr = $this->query;
$this->data = mysql_fetch_object($result);
$this->num = mysql_num_rows($result);
}


Wie kann ich das Problem beheben?

Mit freundlichen Grüßen
David2502
 
Werbung:
das heißt ganz einfach das in deinem query ein fehler sein muss oder das du die recource falsch/garnicht übergeben hasst
 
Werbung:
Ein wenig Code zeigen und schauen, dass mysql_connect/_select und alles was dazu gehört stimmt.

Gruß Corvulus
 
Status
Für weitere Antworten geschlossen.
Zurück
Oben