If i attach two post i have this debug error:
Could not delete topic reads
DEBUG MODE
SQL Error : 1196 Warning: Some non-transactional changed tables couldn't
be rolled back
DELETE FROM phpbb_upi2db_unread_posts WHERE topic_id IN ()
Line : 846
File : modcp.php
You have ideas?
This is the section of line 846 in modcp.php
//<!-- BEGIN Unread Post Information to Database Mod -->
if($userdata['upi2db_access'])
{
$sql = "DELETE FROM " . UPI2DB_UNREAD_POSTS_TABLE . "
WHERE topic_id IN ($topic_id_sql)";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete topic reads', '', __LINE__, __FILE__, $sql);
}
$sql = "DELETE FROM " . UPI2DB_LAST_POSTS_TABLE . "
WHERE topic_id IN ($topic_id_sql)";
if ( !$db->sql_query($sql) )
{
message_die(GENERAL_ERROR, 'Could not delete topic reads', '', __LINE__, __FILE__, $sql);
}
}
//<!-- END Unread Post Information to Database Mod -->
P.S. phpBBXS 0.58a