Previous Thread
Next Thread
Print Thread
Hop To
#3961 10/01/2006 9:00 AM
Joined: Jun 2006
Posts: 1,344
G
veteran
veteran
G Offline
Joined: Jun 2006
Posts: 1,344
If you go to group management and click on the number where it shows how many people are in that group you get this message
Quote
select COUNT(t1.USER_ID) from ubbt_USERS as t1, ubbt_USER_PROFILE as t2, ubbt_USER_DATA as t3, ubbt_USER_GROUPS as t4 WHERE t1.USER_ID <> '1' and t1.USER_ID = t2.USER_ID and t1.USER_ID = t3.USER_ID and t1.USER_ID = t4.USER_ID and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6) and t4.GROUP_ID IN (6)GROUP BY t1.USER_ID ORDER BY t2.USER_DISPLAY_NAME ASC

Unknown column 't2.USER_DISPLAY_NAME' in 'order clause'

Last edited by Rick; 10/01/2006 3:37 PM.
gliderdad #3965 10/01/2006 3:36 PM
Joined: Jun 2006
Posts: 9,242
Likes: 1
R
Former Developer
Former Developer
R Offline
Joined: Jun 2006
Posts: 9,242
Likes: 1
Thanks for the info. Fixed for the final. If you need to fix.

Line 146 of admin/membersearch.php has this:

$orderby = "t1.USER_DISPLAY_NAME";

It needs to be:

$orderby = "t2.USER_DISPLAY_NAME";


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Having issues going from 7.5.5. to 8X
by Mors - 10/22/2026 5:32 PM
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 8:34 PM
Selling a Forum?
by ECNet - 10/10/2026 2:54 PM
Who's Online Now
1 members (1 invisible), 870 guests, and 118 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 20261016)