Problem!!! Bei manchen Threads erscheint Datenbank-Fehlermeldung!

mrbasket
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:
Bei manchen threads. Wirklich nur bei manchen! Kommt eine Datenbank-Fehlermeldung!

Fehlermeldung:
SQL-DATABASE ERROR

Database error in WoltLab Burning Board (2.3.6pl1): Invalid SQL: SELECT t.threadid, t.boardid, x.title, x.boardid, t.prefix, t.topic, t.starttime, t.starterid, t.starter, t.lastposttime, t.lastposterid, t.lastposter, t.replycount, t.views, t.attachments, t.closed, t.important, t.pollid FROM bb1_threads t, bb1_boards x LEFT JOIN bb1_boards b ON (t.boardid=b.boardid) WHERE t.visible='1' AND t.closed <> 3 AND t.threadid <> 669 AND b.password='' AND t.boardid=x.boardid AND t.boardid IN (0,30,27,31,105,149,136,164,165,166,88,1,100,64,15,16,17,21,220,33,24,25,26
,104,28,60,202,201,69,74,109,14,53,51,49,48,55,47,54,50,10,198,199,12,45,46
,93,141,144,143,142,61,62,114,113,115,140,160,22,101,44,138,137,23,43,219,1
48,65,66,67,79,80,81,85,83,89,82,84,86,87,90,96,97,98,95,197,29,154,2,4,11,
152,32,9,5,34,7,35,37,107,108,13,110,111,116,117,118,119,120,121,122,123,12
4,125,126,127,128,129,130,135,57,52,147,210,139,204,206,208,209,207,41,162,
150,20,112,153,179,106,151,133,134,203,159,157,158,156,189,190,191,192,163,
168,173,175,194,155,169,132,183,167,181,193,177,70,174,176,172,196,182,178,
161,195,217,91,94,200,205,216,218,215,214,211,213,212,222,223,230,239,246,2
50,251,254,257,263,271,275,267,272,274,224,225,226,227,228,229,231,232,233,
234,235,236,237,238,240,241,242,244,245,247,248,249,273,252,253,255,256,258
,259,264,265,266,270) AND (t.topic LIKE '%Doc%' OR t.topic LIKE '%'s%' OR t.topic LIKE '%Grafiken%') ORDER BY t.lastposttime DESC LIMIT 0, 5;
mysql error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's%' OR t.topic LIKE '%Grafiken%') ORDER BY t.lastposttime DESC ' at line 11
mysql error number: 1064
mysql version: 4.1.22-log
php version: 4.4.5
Date: 23.02.2007 @ 11:07
Script: /wbb2/thread.php?threadid=669&page=1
Referer: http://pesfan2006.pe.funpic.de/wbb2/board.php?boardid=46


Link zum Forum oder Screenshot:
www.pes-revolution.de --> Forum

oder

www.pes6forum.de.vu (sofort zum Forum!)

vor allem im Grafikboard:
http://pesfan2006.pe.funpic.de/wbb2/board.php?boardid=46

Was wurde zuletzt geändert oder eingebaut?

Similar, BB-Code



#####


Auf einmal kommt bei manchen Themen (vor allem in grafik-Threads) diese Fehlermeldung!

Was läuft da schief?
mkkcs
das liegt einfach daran, das dort eine Suchabfrage gestartet wurde wo ein 's mit abgefragt wurde, und da das Hochkomma auch im sql ein String-Trenner ist, ist es klar das es dabei zu Problemen kommt !

also kein Fehler, nur eine Fehlerhafte Anfrage !