Is A Bug?


Subject: Is A Bug?
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

Profile PM  
Subject: Re: Is A Bug?
I'm tired of this kind of topics.

First, the topic title... second there are two topics about this error...

You got a beautiful Yellow Card... :wink:

http://www.phpbbxs.eu/viewtopic.php?p=5623#p5623


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.0732s (PHP: 21% SQL: 79%)
SQL queries: 10 - Debug Off - GZIP Enabled