Icy Phoenix

     
 


Post new topic  This topic is locked: you cannot edit posts or make replies. 
Page 1 of 1
 
 
Reply with quote Download Post 
Post While Merging Two Topics... 
 
P.S.  Ok, I found another topic about it, sorry


While merging two topics I hjad this error and the old topic was not deleted

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
 



 
tormentorSend private messageVisit poster's website  
Back to topPage bottom
Icy Phoenix is an open source project, you can show your appreciation and support future development by donating to the project.

Support us
 
Reply with quote Download Post 
Post Re: While Merging Two Topics... 
 
Which version of phpBBXS do you use?

Did you update to UPI2DB v3.0.7 ?
http://www.icyphoenix.com/viewtopic.php?t=693&highlight=

I have updated and get the same error.  

Here in this forum you can merge without errors.
 



 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: While Merging Two Topics... 
 
OK,

find in

OPEN modcp.php
FIND
Code: [Download] [Hide] [Select]
//<!-- 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 -->

REPLACE WITH
Code: [Download] [Hide] [Select]
//<!-- 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)";
                        */
                        $sql = "DELETE FROM " . UPI2DB_UNREAD_POSTS_TABLE . "
                            WHERE topic_id IN ($topic_id_list[$i])";

                        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)";
                        */
                        $sql = "DELETE FROM " . UPI2DB_LAST_POSTS_TABLE . "
                            WHERE topic_id IN ($topic_id_list[$i])";

                        if ( !$db->sql_query($sql) )
                        {
                            message_die(GENERAL_ERROR, 'Could not delete topic reads', '', __LINE__, __FILE__, $sql);
                        }
                    }
//<!-- END Unread Post Information to Database Mod -->


For me it's working.

I have updated this http://www.phpBBXS.eu/viewtopic.php?t=693
 



 
TheSteffenSend private message  
Back to topPage bottom
Reply with quote Download Post 
Post Re: While Merging Two Topics... 
 
SOLUTION        
 



 
hplSend private messageVisit poster's website  
Back to topPage bottom
Reply with quote Download Post 
Post Re: While Merging Two Topics... 
 
This has been already fixed at least twice... please use the search function...

Locking...
 




____________
Luca
SEARCH is the quickest way to get support.
Icy Phoenix ColorizeIt - CustomIcy - HON
 
Mighty GorgonSend private messageSend e-mail to userVisit poster's website  
Back to topPage bottom
Post new topic  This topic is locked: you cannot edit posts or make replies.  Page 1 of 1
 


Display posts from previous:    

HideWas this topic useful?

Link this topic
URL
BBCode
HTML




 
Permissions List
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


  

 

  cron