Problem mit Board3 Portal

Du hast Probleme beim Einbau oder bei der Benutzung eines Mods? In diesem Forum bist du richtig.
Forumsregeln
phpBB 3.0 hat das Ende seiner Lebenszeit überschritten
phpBB 3.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 3.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf die neuste phpBB-Version, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Antworten
AuroraXF
Mitglied
Beiträge: 30
Registriert: 20.07.2009 13:11

Problem mit Board3 Portal

Beitrag von AuroraXF »

Guten Tag,

ich wollte es in dem Portal so haben das auch Bekanntmachungen mit in den Letzten Beiträgen eingetragen werden, bzw überprüft ob es da neue Beiträge gibt.
Darauf wurde mir im Board3 Portal eigenen Forum gesagt ich solle bestimmten Code in dieser und jener Datei ändern um das zu bewirken. Allerdings bekam ich dann folgenden Fehler wenn ich das Forum/Portal aufrufen wollte:

Code: Alles auswählen

    SQL ERROR [ mysql4 ]

    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_status <> 2 AND t.topic_approved = 1 AND t.topic_moved_id = ' at line 37 [1064]

    SQL

    SELECT t.forum_id, t.topic_id, t.topic_last_post_id, t.topic_last_post_time, t.topic_time, t.topic_title, t.topic_attachment, t.topic_views, t.poll_title, t.topic_replies, t.topic_replies_real, t.topic_poster, t.topic_type, t.topic_status, t.topic_last_poster_name, t.topic_last_poster_id, t.topic_last_poster_colour, t.icon_id, u.username, u.user_id, u.user_type, u.user_colour, p.post_id, p.poster_id, p.post_time, p.post_text, p.post_attachment, p.post_username, p.enable_smilies, p.enable_bbcode, p.enable_magic_url, p.bbcode_bitfield, p.bbcode_uid, f.forum_name, f.enable_icons, tp.topic_posted FROM (phpbb_topics t) LEFT JOIN phpbb_users u ON (t.topic_poster = u.user_id) LEFT JOIN phpbb_forums f ON (t.forum_id=f.forum_id) LEFT JOIN phpbb_posts p ON (t.topic_first_post_id = p.post_id) LEFT JOIN phpbb_topics_posted tp ON (tp.topic_id = t.topic_id AND tp.user_id = 2) WHERE AND t.topic_status <> 2 AND t.topic_approved = 1 AND t.topic_moved_id = 0 ORDER BY t.topic_last_post_time DESC LIMIT 5

    BACKTRACE

    FILE: includes/db/mysql.php
    LINE: 174
    CALL: dbal->sql_error()

    FILE: includes/db/mysql.php
    LINE: 221
    CALL: dbal_mysql->sql_query()

    FILE: includes/db/dbal.php
    LINE: 170
    CALL: dbal_mysql->_sql_query_limit()

    FILE: portal/includes/functions.php
    LINE: 231
    CALL: dbal->sql_query_limit()

    FILE: portal/block/news.php
    LINE: 26
    CALL: phpbb_fetch_posts()

    FILE: portal.php
    LINE: 119
    CALL: include('portal/block/news.php')
Da ich im Board3 eigenen Board bisher darauf keine Antwort bekommen habe, wollte ich hier mal nachfragen was da falsch gelaufen sein könnte und wie man das behebt.

Wer die gesamte hintergrundgeschichte lesen möchte: http://www.board3.de/viewtopic.php?f=8&t=3175

MfG AuroraXF
Antworten

Zurück zu „[3.0.x] Mod Support“