Probleme beim Mini Foren-Statistik Mod
Forumsregeln
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
phpBB 2.0 hat das Ende seiner Lebenszeit überschritten
phpBB 2.0 wird nicht mehr aktiv unterstützt. Insbesondere werden - auch bei Sicherheitslücken - keine Patches mehr bereitgestellt. Der Einsatz von phpBB 2.0 erfolgt daher auf eigene Gefahr. Wir empfehlen einen Umstieg auf phpBB 3.0, welches aktiv weiterentwickelt wird und für welches regelmäßig Updates zur Verfügung gestellt werden.
Probleme beim Mini Foren-Statistik Mod
Hallo zusammen, ich hab alles das gemacht was in der Install.txt drin stant und nun hab ich diesen Fehler :
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
Woran liegt das...
Phpbb version 2.0.22
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
Woran liegt das...
Phpbb version 2.0.22
Probier mal das:
finde
ersetze mit
finde
Code: Alles auswählen
FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2
Code: Alles auswählen
FROM (phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2)
wo muss ich das suhen?Seimon hat geschrieben:Probier mal das:
findeersetze mitCode: Alles auswählen
FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2
Code: Alles auswählen
FROM (phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2)
hmm irgend wie findert der das in der datei nicht bei mir steht unter der Line 188 folgendes :
Code: Alles auswählen
message_die(GENERAL_ERROR, 'Could not obtain topic information', '', __LINE__, __FILE__, $sql);
}
-
- Mitglied
- Beiträge: 1620
- Registriert: 03.01.2004 23:12
- Wohnort: Aken (Elbe)
In der Datei, nicht in der Zeile.Seimon hat geschrieben:findeersetze mitCode: Alles auswählen
FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2
Code: Alles auswählen
FROM (phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2)
schon klar doch das oben genannte gibt es in der actualstats.php nichtSeimon hat geschrieben:Probier mal das:
findeersetze mitCode: Alles auswählen
FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2
Code: Alles auswählen
FROM (phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_posts p2, phpbb_users u2)
Zeig mal deine actualstats.php
-> Eine PHP-Datei zum Download bereitstellen
Wenn der Abschnitt dann doch drin ist, mach dich auf was gefasst
-> Eine PHP-Datei zum Download bereitstellen
Wenn der Abschnitt dann doch drin ist, mach dich auf was gefasst

Doch steht drin 
SUCHE:
ERSETZE MIT:
Das eingebaute MOD " ##### start last_topics ##### (z123-428) " ist nicht ganz MySQL 3 / 4 / 5 kompatible.....daher die Fehlermeldung.

SUCHE:
Code: Alles auswählen
$sql = "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 " . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2, " . USERS_TABLE . " u2
LEFT JOIN " . FORUMS_TABLE . " 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";
Code: Alles auswählen
$sql = "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 (" . TOPICS_TABLE . " t, " . USERS_TABLE . " u, " . POSTS_TABLE . " p, " . POSTS_TABLE . " p2, " . USERS_TABLE . " u2)
LEFT JOIN " . FORUMS_TABLE . " 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";