Seite 1 von 1

SQL-Fehler im Portal

Verfasst: 26.01.2005 21:13
von Hound
Folgendes zeigt mir mein Board an wenn ich auf die seite gehe :


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 ') AND t.topic_time <= 1106769133 AND t.topic_poster

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.forum_id IN () AND t.topic_time <= 1106769133 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

Line : 86
File : /mnt/ja1/06/449/00000006/htdocs/Itas/portal_poll.php

Kann mir jemand bitte helfen

Danke Jens

Verfasst: 26.01.2005 21:39
von Mario Siebert
Zeig mal deine portal_poll.php als *.txt

Grüße Mario

Verfasst: 26.01.2005 21:42
von Hound
Ich hoffe so ist es Richtig :oops:

poll.txt

Verfasst: 26.01.2005 22:06
von Amdosh
Der kleine phpBB.de-Knigge
Eine PHP-Datei zum Download bereitstellen

An der Zeile 86 wird es wohl nicht liegen, dort steht nur der Block für die Fehlermeldung.

Grüsse Amdosh

Verfasst: 26.01.2005 22:20
von Hound
So Ich habe es jetzt geändert zwei nachrichten drüber.

Sorry nochmal.