SOLVED Errors With KB And UPI2DB


Subject: Re: Errors With KB And UPI2DB
I've fixed the UPI2DB problem when merging topic... about KB I should need more info... :roll:

When did you get this error? :shock:

Subject: Re: Errors With KB And UPI2DB
In ACP / Knowledge Base / Articles Management and clicking on the title of one of the article's title ...

Profile PM  
Subject: Re: Errors With KB And UPI2DB
Lucky wrote: [View Post]
In ACP / Knowledge Base / Articles Management and clicking on the title of one of the article's title ...


This is not a bug... I don't have any error.

Subject: Re: Errors With KB And UPI2DB
andrea75 wrote: [View Post]
Lucky wrote: [View Post]
In ACP / Knowledge Base / Articles Management and clicking on the title of one of the article's title ...


This is not a bug... I don't have any error.


same here, no error in ACP

Subject: Re: Errors With KB And UPI2DB
Strange ... very strange ...

The only one reason could be a my problem with the tables ... but, what is the meaning of my KB error ?

Please help me !

Profile PM  
Subject: Re: Errors With KB And UPI2DB
If you don't have too many articles, you can try to drop KB tables and add them again from scratch!

Subject: Re: Errors With KB And UPI2DB
i've got the same problem when merging topics

Could not delete topic reads

DEBUG MODE

DELETE FROM phpbb_upi2db_unread_posts WHERE topic_id IN ()

Line : 846
File : modcp.php

:(

Subject: Re: Errors With KB And UPI2DB
I confirm this error.
But topics are merged, anyway.

Subject: Re: Errors With KB And UPI2DB
ganesh wrote: [View Post]
I confirm this error.
But topics are merged, anyway.


Yes , me too.

Now I have KB problem to solve ... MG what do you mean about "add them again from scratch" ?

Profile PM  
Subject: Re: Errors With KB And UPI2DB
Another problem with KB.

If I try to use "Optimization Tables" function in ACP / Knowledge Base I will not receive a reply ... a ACP page empty ...


ottimizza_tabelle.jpg
Description:  
Filesize: 14.42 KB
Viewed: 7074 Time(s)

ottimizza_tabelle.jpg


Profile PM  
Subject: Re: Errors With KB And UPI2DB
Zuker wrote: [View Post]
i've got the same problem when merging topics

Could not delete topic reads

DEBUG MODE

DELETE FROM phpbb_upi2db_unread_posts WHERE topic_id IN ()

Line : 846
File : modcp.php

:(


It is possible to solve this problem? I know that topics are merged anyway, but.... :oops: I love perfection.. :roll:

Subject: Re: Errors With KB And UPI2DB
Try this:
OPEN modcp.php
FIND
Code: [Download] [Hide] [Select]
$sql = "DELETE FROM " . UPI2DB_LAST_POSTS_TABLE . "
WHERE topic_id IN ($topic_id_sql)";

REPLACE WITH
Code: [Download] [Hide] [Select]
$sql = "DELETE FROM " . UPI2DB_LAST_POSTS_TABLE . "
WHERE topic_id IN ($topic_id_list[$i])";


Let me know.

Subject: Re: Errors With KB And UPI2DB
Mighty Gorgon wrote: [View Post]
Try this:
OPEN modcp.php
FIND
Code: [Download] [Hide] [Select]
$sql = "DELETE FROM " . UPI2DB_LAST_POSTS_TABLE . "
WHERE topic_id IN ($topic_id_sql)";

REPLACE WITH
Code: [Download] [Hide] [Select]
$sql = "DELETE FROM " . UPI2DB_LAST_POSTS_TABLE . "
WHERE topic_id IN ($topic_id_list[$i])";


Let me know.


Doesn't work... a ttopics merge the error is this

Could not delete topic reads

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 ')' at line 2

DELETE FROM phpbb_upi2db_unread_posts WHERE topic_id IN ()

Line : 846
File : modcp.php

Subject: Re: Errors With KB And UPI2DB
I'll checck, but I think that my code should solve that problem, because I've already fixed it some weeks ago. :roll:

Subject: Re: Errors With KB And UPI2DB
Please stop opening new topics for this error.

Can you try this file please?


modcp.rar
Description: Modified MODCP 
Download
Filename: modcp.rar
Filesize: 9.79 KB
Downloaded: 211 Time(s)


Page 2 of 3


  
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.1572s (PHP: 14% SQL: 86%)
SQL queries: 14 - Debug Off - GZIP Enabled