I got the following error trying to add a user account as moderator to a forum through section "User Admin > Permissions". I'm running BBtoNuke 2.0.7 by Nuke Cops.
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 ') AND aa.group_id = ug.group_id AND aa.auth_mod = 1
SELECT ug.user_id, COUNT(auth_mod) AS is_auth_mod FROM nuke_bbauth_access aa, nuke_bbuser_group ug WHERE ug.user_id IN () AND aa.group_id = ug.group_id AND aa.auth_mod = 1 GROUP BY ug.user_id
I searched and tried fixes, my errors changed twice but not fixed any help or pointers for me to fix this? www.the77clan.com thanks anyone...
Code:
Error getting user list for group
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 'ORDER BY u.username' at line 7
SELECT u.username, u.user_id, u.user_viewemail, u.user_posts, u.user_regdate, u.user_from, u.user_website, u.user_email, u.user_icq, u.user_aim, u.user_yim, u.user_msnm, ug.user_pending FROM nuke_users u, nuke_bbuser_group ug WHERE ug.group_id = '7' AND u.user_id = ug.user_id AND ug.user_pending = '0' AND ug.user_id <> ORDER BY u.username
Line : 797
File : groupcp.php
perfect-games Site Admin
Joined: Jun 18, 2004
Posts: 208
Posted:
Mon May 22, 2006 4:10 pm
well that message codes meaning unable to insert
and looking at the sql shows this
nuke_bbuser_group
which is possibly from a mod you have installed and you have not done all the edits correctly
try this may work
ALTER TABLE nuke_users DROP bbuser_group;
then see if it works
thanks
steve
daman Nuke Cadet
Joined: May 22, 2006
Posts: 3
Posted:
Tue May 23, 2006 3:04 am
thanks steve i will try that and post later today when i arrive home from work.
daman Nuke Cadet
Joined: May 22, 2006
Posts: 3
Posted:
Thu May 25, 2006 3:35 am
SQL query:
ALTER TABLE nuke_users DROP bbuser_group
MySQL said: Documentation
#1091 - Can't DROP 'bbuser_group'. Check that column/key exists
Can I upload new original files, which I believe I tried. I turned off cash mod and other unessicary stuff. It also happens when I try to change forum permissions for users, I get an SQL error. Getting confused but dont want to restore.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum