Thema teilen
Verfasst: 16.08.2003 09:50
Hallo
wenn ich ein Thema teilen möchte bekomme ich folgende meldung
Could not get post information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ') ORDER BY post_time ASC' at line 3
SELECT post_id, poster_id, topic_id, post_time FROM phpbb_posts WHERE post_id IN () ORDER BY post_time ASC
Line : 685
modcp.php
Hier die line 685
hier noch ein paar codes mehr
Danke für die Hilfe
Gruss Dan11
wenn ich ein Thema teilen möchte bekomme ich folgende meldung
Could not get post information
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax near ') ORDER BY post_time ASC' at line 3
SELECT post_id, poster_id, topic_id, post_time FROM phpbb_posts WHERE post_id IN () ORDER BY post_time ASC
Line : 685
modcp.php
Hier die line 685
Code: Alles auswählen
message_die(GENERAL_ERROR, 'Could not get post information', '', __LINE__, __FILE__, $sql);hier noch ein paar codes mehr
Code: Alles auswählen
$sql = "SELECT post_id, poster_id, topic_id, post_time
FROM " . POSTS_TABLE . "
WHERE post_id IN ($post_id_sql)
ORDER BY post_time ASC";
if (!($result = $db->sql_query($sql)))
{
message_die(GENERAL_ERROR, 'Could not get post information', '', __LINE__, __FILE__, $sql);
}
if ($row = $db->sql_fetchrow($result))
{
$first_poster = $row['poster_id'];
$topic_id = $row['topic_id'];
$post_time = $row['post_time'];
$user_id_sql = '';
$post_id_sql = '';
doGruss Dan11