Dringend Hilfe

DerGot
Dies ist eine vorgefertigte Schablone.
Bitte fülle soviel aus, wie dir nur Möglich ist, du kannst auch gerne noch mehr Angaben machen.


Problembeschreibung:
Wenn man auf ein Unterforum geklickt hat, dann kommt diese Fehlermeldung!

Fehlermeldung:
Warning: Division by zero in /www/htdocs/allgem/wbb2/board.php on line 258
SQL-DATABASE ERROR

Database error in WoltLab Burning Board (): Invalid SQL: SELECT threadid, if (voted>0 AND voted>=0,votepoints/voted,0) AS vote FROM bb1_threads WHERE boardid='120' AND visible = 1 AND important < 2 AND (important=1 OR lastposttime >= '1126372123') ORDER BY important DESC, , lastposttime DESC
mysql error: You have an error in your SQL syntax near ' lastposttime DESC' at line 1
mysql error number: 1064
mysql version: 3.23.49
php version: 4.3.10
Date: 10.09.2005 @ 19:08
Script: /wbb2/board.php?boardid=120
Referer: http://allgem.light.hl-users.com/wbb2/index.php


Link zum Forum oder Screenshot:
www.allgemein-forum.de

Was wurde zuletzt geändert oder eingebaut?
Ein Counter
Bandy
Baue doch mal den Counter wieder aus.. bzw. prüfe die einbau anleitung vom Counter..
DerGot
Alte Fehlermeldung raus und schon neue da Mauer Mauer Mauer Mauer Mauer :motz :motz :motz

SQL-DATABASE ERROR

Database error in WoltLab Burning Board (): Invalid SQL: SELECT threadid, if (voted>0 AND voted>=0,votepoints/voted,0) AS vote FROM bb1_threads WHERE boardid='158' AND visible = 1 AND important < 2 AND (important=1 OR lastposttime >= '1126383582') ORDER BY important DESC, , lastposttime DESC LIMIT 0, 1
mysql error: You have an error in your SQL syntax near ' lastposttime DESC LIMIT 0, 1' at line 1
mysql error number: 1064
mysql version: 3.23.49
php version: 4.3.10
Date: 10.09.2005 @ 22:19
Script: /wbb2/board.php?boardid=158
Referer: http://allgem.light.hl-users.com/wbb2/board.php?boardid=168
batida444
ORDER BY important DESC, , lastposttime DESC LIMIT 0, 1

da is n komma zuviel

greetz
günni
DerGot
in welcher Datei finde ich das und in welcher Zeile?
batida444
Script: /wbb2/board.php?boardid=120

in der board.php und dann musst leider mal suchen
DerGot
Ich hab jetzt ein Backup gefunden!

kann ich das drauf spielen und alles geht wieder?