SQL Error

Support for IntegraMOD 140

Moderator: Integra Moderator

SQL Error

PostAuthor: ayasha » Wed Sep 06, 2006 6:37 am

ok, i have searched the forums and the archives, maybe someone knows if this error has been talked about before and i just cannot find it.

i am trying to clean up my member list, and when i go to delete a member, i get this error, but it seems to delete the member as i wanted.
Could not delete group for this user

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_groups WHERE group_id =

Line : 317
File : admin_userlist.php


i also want to ask, why does it talk about groups? the 2 deletetions that gave me this error, the members were not in a group.

thanks in advance for any help.
Last edited by ayasha on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.
No one can make you feel inferior without your consent.
~Eleanor Roosevelt

ayasha
Sr Integra Member
Sr Integra Member
 
Posts: 634
Likes: 0 post
Liked in: 0 post
Joined: Tue Mar 28, 2006 6:10 pm
Cash on hand: 0.00

PostAuthor: computerz » Sat Sep 09, 2006 10:52 pm

Sounds like you have a syntax distortion in your code, most likely due to a bad edit you made at some point.

Go to your admin/admin_userlist.php file and find the line that begins like this:

$sql = "DELETE FROM " . GROUPS_TABLE . "


Post that and a few lines below that so I can see what you have.

Do the same thing for your admin/admin_users.php file.

Also state the method you're using to delete the user so that we can reproduce your problem.
Last edited by computerz on Wed Dec 31, 1969 5:00 pm, edited 1 time in total.

computerz
Members
Members
 
Posts: 84
Likes: 0 post
Liked in: 0 post
Joined: Sun Aug 27, 2006 2:21 pm
Cash on hand: 0.00


Return to IntegraMOD 140

Who is online

Registered users: App360MonitorBot, Bing [Bot], Google [Bot]