suche:
Code: Alles auswählen
$mode_types = 'rating';
Code: Alles auswählen
$mode_types[] = 'rating';
ah
Code: Alles auswählen
$mode_types = 'rating';
Code: Alles auswählen
$mode_types[] = 'rating';
Wenn ich:Couldn't obtain topic information
DEBUG MODE
SQL Error : 1109 Unknown table 'rating' in order clause
SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_username FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_users u2 WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_id AND p.poster_id = u2.user_id AND t.topic_type = 3 ORDER BY rating DESC
Line : 484
File : /viewforum.php
Code: Alles auswählen
$order_by = "rating $sort_order";
Code: Alles auswählen
$order_by = "r.rating $sort_order";
Couldn't obtain topic information
DEBUG MODE
SQL Error : 1109 Unknown table 'r' in order clause
SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_username FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_users u2 WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_id AND p.poster_id = u2.user_id AND t.topic_type = 3 ORDER BY r.rating DESC
Line : 484
File : /viewforum.php
Couldn't obtain topic information
DEBUG MODE
SQL Error : 1054 Unknown column 'rating' in 'order clause'
SELECT t.*, u.username, u.user_id, u2.username as user2, u2.user_id as id2, p.post_time, p.post_username FROM phpbb_topics t, phpbb_users u, phpbb_posts p, phpbb_users u2 WHERE t.topic_poster = u.user_id AND p.post_id = t.topic_last_post_id AND p.poster_id = u2.user_id AND t.topic_type = 3 ORDER BY rating DESC
Line : 484
File : /viewforum.php