ich habe das Card Ban Mod eingebaut und bekomme ich nun
folgenden Fehler angezeigt.
Code: Alles auswählen
Could not obtain post/user information.
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near 'FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt WHERE p.topic_id = 476 ' at line 2
SELECT u.*, FROM phpbb_posts p, phpbb_users u, phpbb_posts_text pt WHERE p.topic_id = 476 AND pt.post_id = p.post_id AND u.user_id = p.poster_id ORDER BY p.post_time ASC LIMIT 0, 15
Line : 396
File : /usr/local/apache/www/web34/html/phpBB2/viewtopic.php3
Code: Alles auswählen
//
// Go ahead and pull all data for this topic
//
$sql = "SELECT u.*,
FROM " . POSTS_TABLE . " p, " . USERS_TABLE . " u, " . POSTS_TEXT_TABLE . " pt
WHERE p.topic_id = $topic_id
$limit_posts_time
AND pt.post_id = p.post_id
AND u.user_id = p.poster_id
ORDER BY p.post_time $post_time_order
LIMIT $start, ".$board_config['posts_per_page'];
if ( !($result = $db->sql_query($sql)) )
{
message_die(GENERAL_ERROR, "Could not obtain post/user information.", '', __LINE__, __FILE__, $sql);
}
$postrow = array();