Hallo Kevin,
wenn die von dir angebebene Zeile in der bestehenden news.php zum Test ändern, gibt es folgende Fehlermeldung:
Allgemeiner Fehler
SQL ERROR [ mysql4 ]
Fehler in der SQL-Syntax. Bitte die korrekte Syntax im Handbuch nachschlagen bei 'news_all, 1' in Zeile 41 [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 (( t.topic_type = 2) OR ( t.topic_type = 3)) AND t.topic_time > 1200934286 AND t.topic_status <> 2 AND t.topic_approved = 1 AND t.topic_moved_id = 0 AND (t.forum_id = 0 OR (t.forum_id = 3)) ORDER BY t.topic_time DESC LIMIT news_all, 1
BACKTRACE
FILE: includes/db/mysql.php
LINE: 158
CALL: dbal->sql_error()
FILE: includes/db/mysql.php
LINE: 205
CALL: dbal_mysql->sql_query()
FILE: includes/db/dbal.php
LINE: 159
CALL: dbal_mysql->_sql_query_limit()
FILE: portal/includes/functions.php
LINE: 255
CALL: dbal->sql_query_limit()
FILE: portal/block/news.php
LINE: 30
CALL: phpbb_fetch_posts()
FILE: portal.php
LINE: 115
CALL: include('portal/block/news.php')
Hast du eine Idee dazu?
Gruß Maxwell