SQL Fehler bei PhpBB Portal Modifikation


  • Groudon1
  • 1078 Aufrufe 5 Antworten

Diese Seite verwendet Cookies. Durch die Nutzung unserer Seite erklären Sie sich damit einverstanden, dass wir Cookies setzen. Weitere Informationen

  • SQL Fehler bei PhpBB Portal Modifikation

    Habe einen Fehler bei dem PhpBB Portal Mod.
    habe alles installiert nun kommt fehlermeldung:

    Allgemeiner 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 ') AND t.topic_time <= 1176328009 AND t.topic_poster = u.user_id AND ' at line 23

    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 <= 1176328009 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 : portal_poll.php



    Kann einer helfen
  • Moin. Wenn du mich fragst, liegt der Fehler an folgender Abfrage

    Quellcode

    1. t.forum_id IN ()


    In der Klammer müssen (soweit ich informiert bin) verschiedene Werte stecken. Versuch einfach mal aus Testgründen die Abfrage so zu stellen:

    Quellcode

    1. t.forum_id(2,1);


    gruß
    [size=1][FONT="Courier New"]###############_###_####_
    #_ __ #___ _ _| |_(_)__(_)__ _ _ _###############new uploads: [1] [2] [3] [4] [5] [6] [7] [8]
    |#'##\/ _ \ '_|##_| / _| / _` | ' \
    |_|_|_\___/_|##\__|_\__|_\__,_|_||_|###############Bis 28. Sept. weg[/FONT][/size]