Seite 1 von 1

fetchposts.php Fehler mit Smartors Portal

Verfasst: 03.04.2005 17:56
von Zyancali
Hi !

Ich habe Smartors Portal und die anzeige der letzten 5 themen im forum 1 aktiviert.

die fetchposts.php verursacht folgenden Fehler:

Could not query announcements 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 '5,6,7,8,9) AND t.topic_time <= 1112541931 AND t.top

SELECT t.topic_id, t.topic_time, t.topic_title, pt.post_text, u.username, u.user_id, t.topic_replies, pt.bbcode_uid, t.forum_id, t.topic_poster, t.topic_first_post_id, t.topic_status, pt.post_id, p.post_id, p.enable_smilies FROM phpbb_topics AS t, phpbb_users AS u, phpbb_posts_text AS pt, phpbb_posts AS p WHERE t.topic_type = 2 AND t.forum_id IN (1,2,3,,5,6,7,8,9) AND t.topic_time <= 1112541931 AND t.topic_poster = u.user_id AND t.topic_first_post_id = pt.post_id AND t.topic_first_post_id = p.post_id AND t.topic_status <> 2 ORDER BY t.topic_time DESC LIMIT 0,5

Line : 87
File : fetchposts.php
ich kann keinen fehler entdecken!

dateien: portal.php und fetchposts.php

Danke im Voraus!

Verfasst: 03.04.2005 20:19
von Mario Siebert
Du hast im ACP in der Portal Konfiguration ein kommata zuviel eingegeben, änder:
1,2,3,,5,6,7,8,9
in:
1,2,3,5,6,7,8,9
Grüße Mario