Portal Polls Update MOD funktioniert nicht

Allgemeiner Support zum phpBB 2 Board und phpBB 2 Modifikationen
Forumsregeln
Auch wenn hier der Support für phpBB 2 weiterhin aufrecht erhalten bleibt, weisen wir darauf hin, dass das phpBB 2 nicht mehr offiziell unterstützt und weiterentwickelt wird!
Antworten
Darezettl
Beiträge: 589
Registriert: So 31.Jul, 2005 23:43

Portal Polls Update MOD funktioniert nicht

Beitrag von Darezettl »

http://www.oxpus.de/downloads.php?view=detail&id=154
Wenn ich den MOD installiere kommt diese Fehlermeldung:

Code: Alles auswählen

Couldn't obtain poll information.

DEBUG MODE

SQL Error : 1064 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 '2,6,7,8,9,10,11,12,13 AND t.topic_status <> 1 AND t.top

SELECT t.*, vd.* FROM phpbb_topics AS t, phpbb_vote_desc AS vd WHERE t.forum_id = 1,2,6,7,8,9,10,11,12,13 AND t.topic_status <> 1 AND t.topic_status <> 2 AND t.topic_vote = 1 AND t.topic_id = vd.topic_id ORDER BY t.topic_time DESC LIMIT 0,1

Line : 1089
File : /var/www/web58/html/love/portal.php
Was ist zu tun?
Bild
Life begins @ 1/1000
Benutzeravatar
oxpus
Administrator
Beiträge: 28735
Registriert: Mo 27.Jan, 2003 22:13
Wohnort: Bad Wildungen
Kontaktdaten:

Beitrag von oxpus »

Code: Alles auswählen

WHERE t.forum_id = 1,2,6,7,8,9,10,11,12,13
Was fällt da auf?

Richtig!
So wäre es korrekt:

Code: Alles auswählen

WHERE t.forum_id IN (1,2,6,7,8,9,10,11,12,13)
Also passe die portal.php an oder gib nur ein Forum im ACP an...
Karsten Ude
-={ Das Mädchen für alles }=-
Kein Support per Messenger, Email oder PN! Unaufgeforderte Nachrichten werden ignoriert!
No support per Messenger, Email or PM. Each unasked message will be ignored!
Antworten