Code: Selecteer alles
SQL requests not achieved
DEBUG MODE
SQL Error : 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ' t.topic_poster FROM phpbb_forums f, phpbb_topics t WHER
SELECT t.forum_id, t.topic_sub_type, t.topic_icon, t.topic_duration, t.topic_time, t.topic_sub_title, t.topic_last_post_id, t.topic_status, t.topic_title, t.topic_type, , t.topic_poster FROM phpbb_forums f, phpbb_topics t WHERE t.topic_id = 11
Line : 378
File : posting.php
Code: Selecteer alles
// let's do some cleaning in this request as we already have the forum informations
// this way prevents to edit at too many place the script :)
$sql = eregi_replace('AND f\.forum_id = (p|t)\.forum_id', '', $sql);
$sql = str_replace(', ' . FORUMS_TABLE . ' f', '', $sql);
$sql = str_replace('f.*', $added_sql, $sql);
// read
$result = $db->sql_query($sql, false, __LINE__, __FILE__);
if ( !($post_info = $db->sql_fetchrow($result)) )
{
message_die(GENERAL_MESSAGE, $lang['No_such_post']);
}
//EDIT*
Opgelost, er zat een foutje in functions_FTP.php er stond een comma teveel.