da fehlt ja auch was ...

suche in der index_body.tpl
Code: Alles auswählen
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
Code: Alles auswählen
{ACTUALSTATS_OUTPUT}
Code: Alles auswählen
<!-- BEGIN switch_user_logged_out -->
<form method="post" action="{S_LOGIN_ACTION}">
Code: Alles auswählen
{ACTUALSTATS_OUTPUT}
Code: Alles auswählen
{ACTUALSTATS_OUTPUT}
Code: Alles auswählen
Could not obtain topic information
DEBUG MODE
SQL Error : 1054 Unknown column 't.forum_id' in 'on clause'
SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2 LEFT JOIN phpbb_forums f ON t.forum_id=f.forum_id WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND f.auth_view < 2 ORDER BY t.topic_last_post_id DESC LIMIT 5
Line : 188
File : actualstats.php
Mit diesem SQL-Error schlage ich mich auch gerade herum.First User hat geschrieben:Hallo!
Wollte die Mini-Statistik auch eben einbauen, habe aber (nachdem ich alles fertig und hochgeladen hatte) diese Fehlermeldung:
Hier die actualstats.phpCode: Alles auswählen
Could not obtain topic information DEBUG MODE SQL Error : 1054 Unknown column 't.forum_id' in 'on clause' SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_username, p2.post_username AS post_username2, p2.post_time FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2 LEFT JOIN phpbb_forums f ON t.forum_id=f.forum_id WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_first_post_id AND p2.post_id = t.topic_last_post_id AND u2.user_id = p2.poster_id AND f.auth_view < 2 ORDER BY t.topic_last_post_id DESC LIMIT 5 Line : 188 File : actualstats.php
Könnt ihr mir sagen, was ich falsch gemacht habe?
P.S. Die Zeile forum_id existiert noch in der DB.