MyBB Community Forums

Full Version: Error in splitting thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi guys!
I use this wounderful software for my community forum (http://www.glamazonia.it/board).
I've got this error message when I try to split a thread:

Quote: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 ') GROUP BY p.pid, p.tid, p.fid, p.visible, p.uid, t.visible, t.replies, t.una' at line 5
Query:
SELECT p.pid, p.tid, p.fid, p.visible, p.uid, t.visible as threadvisible, t.replies as threadreplies, t.unapprovedposts as threadunapprovedposts, t.attachmentcount as threadattachmentcount, COUNT(a.aid) as postattachmentcount FROM mybb_posts p LEFT JOIN mybb_threads t ON (p.tid=t.tid) LEFT JOIN mybb_attachments a ON (a.pid=p.pid) WHERE p.pid IN () GROUP BY p.pid, p.tid, p.fid, p.visible, p.uid, t.visible, t.replies, t.unapprovedposts,t.attachmentcount

What can I do?
ACP >> Tools & Maintenance >> File Verification >> Yes

Are any files listed in red there?
(2012-02-13, 07:44 PM)Alan Shepperson Wrote: [ -> ]ACP >> Tools & Maintenance >> File Verification >> Yes

Are any files listed in red there?

These are the red ones
Quote:inc/class_parser.php
inc/functions.php
install/resources/language.lang.php
jscripts/editor.js