Previous Thread
Next Thread
Print Thread
Hop To
Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
I discovered a banning bug in 6.5.5 that could also be a problem in version 7, if this feature hasn't been tested yet.

Here is the error message in the 6.5.5 bug:

Script: /home/virtual/site5/fst/var/www/html/ubbthreads/admin/doupdatebanlists.php - Line: 69
INSERT INTO w3t_Banned
VALUES
('68.186.88.5')
- Column count doesn't match value count at row 1

I would appreciate a fix for 6.5.5 as well as a test request here for version 7.

Last edited by Rick; 10/01/2006 11:44 AM.
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Hmm, that looks like your Banned table has a field in there that should no longer be there. That table used to have a couple fields, but in 6.5 it was reduced to 1 field. Definitely not an issue with 7.0.

Run this command from the SQL area:

Code
show fields from w3t_Banned

The only field that should be there is B_Hostname. If there are more than that, the others need to be dropped. If you're not sure how to drop the field, just post here what fields came back from the query above.

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
This is what it is showing:

B_Uid tinyint(4) 0
B_Hostname varchar(60)
B_Reason tinyint(4) 0

Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Ok, you'll need to drop 2 of those fields.

alter table w3t_Banned
drop B_Uid,
drop B_Reason

Joined: Jun 2006
Posts: 626
Addict
Addict
Joined: Jun 2006
Posts: 626
Did it and it's working good now.

Thank you.


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Are any of these legitmate?
by Baldeagle - 09/06/2026 1:37 PM
After server reboot
by Morgan - 09/02/2026 8:27 AM
8.0.1 Patch Changelog Discussion
by isaac - 11/26/2025 1:34 PM
Who's Online Now
0 members (), 296 guests, and 109 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)