Page 1 of 1

Bug in DSXchange

Posted: Tue Jun 15, 2010 5:08 pm
by ray.wurlod
Today I got the following error when posting one response.

Code: Select all

Could not query forum moderator information

DEBUG MODE

SQL Error : 1064 You have an error in your SQL syntax near 'AND g.group_single_user = 1 AND ug.group_id = aa.group_id ' at line 5

SELECT aa.forum_id, u.user_id, u.username FROM phpbb2_auth_access aa, phpbb2_user_group ug, phpbb2_groups g, phpbb2_users u WHERE aa.auth_mod = 1 AND aa.forum_id = AND g.group_single_user = 1 AND ug.group_id = aa.group_id AND g.group_id = aa.group_id AND u.user_id = ug.user_id AND u.user_id = 10

Line : 286
File : posting.php 
  
When I returned to the forum the entire thread (only the original question and my response) had vanished completely!

Double-plus ungood.

Posted: Tue Jun 15, 2010 5:17 pm
by chulett
By any chance were you replying to a post much like this one when it happened?

Posted: Tue Jun 15, 2010 9:52 pm
by ray.wurlod
Much like that one indeed. Probably the duplicate post thereof. Maybe the OP was deleting it as I was executing posting.php.

Posted: Tue Jun 15, 2010 9:55 pm
by chulett
Actually, I randomly picked one of the two to delete, neither had replies when I did so... guess I picked the wrong one. :(

Posted: Tue Jun 15, 2010 10:01 pm
by ray.wurlod
Ah. I forgot you now wear your underpants on the outside!
:lol: