Seite 1 von 1

Global announcement MOD

Verfasst: 28.07.2005 12:36
von tschinkes
Hallo habe versucht den Global announcement MOD zu installieren, soweit so gut, aber wenn ich jetzt in meinem Forum auf einen Topic gehen will kommst folgende Fehlermeldung:

Could not obtain topic information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 't.topic_type = 10) AND t.topic_poster = u.user_id AND p.post_id = t.topic_fi' at line 3

SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2 WHERE (t.forum_id = 1 AND t.topic_type <> 2 AND t.topic_type <> 3OR t.topic_type = 10) AND t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id ORDER BY t.topic_type = 1, t.topic_last_post_id DESC LIMIT 0, 20

Line : 366
File : viewforum.php
Habe phpbb 2.0.15, global Topic MOD und jetzt eben dieses Problem. Habe auch schon versucht es selbst hinzubekommen, aber keine Chance!

Verfasst: 29.07.2005 11:30
von tschinkes
Hat den keiner irgendeinen Tip oder ne Hilfe??????

Verfasst: 29.07.2005 11:35
von Masterkennie

Code: Alles auswählen

t.topic_type = 10)


Dort fehlen, wenn ich mich nicht irren sollte, doppelte Anführungsstriche vor und nach der 10.

Also so: "10"

Verfasst: 29.07.2005 12:31
von Christian Benz
Hi,

Code: Alles auswählen

3OR t.topic_type = 10
->

Code: Alles auswählen

3 OR t.topic_type = 10
Gruß,
Chris