A_Jelly_Doughnut: Yes....your right!
It's not the MOD error,but i dont know this yestarday
And i found the fix on my error:
In includes/ folder in the functions.php file in 1013. line
this
Code: Select all
$db->sql_query('INSERT INTO ' . TOPICS_POSTED_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
replace with that:
Code: Select all
$result = $db->sql_query('SELECT 1 FROM ' . TOPICS_POSTED_TABLE . ' WHERE user_id=' . $sql_ary['user_id'] . ' AND topic_id=' . $sql_ary['topic_id']) ;
$row = $db->sql_fetchrow($result) ;
$db->sql_freeresult($result) ;
if (!$row)
{
$db->sql_query('INSERT INTO ' . TOPICS_POSTED_TABLE . ' ' . $db->sql_build_array('INSERT', $sql_ary));
}