Welcome to Geeklog Sunday, July 25 2021 @ 01:56 pm EDT

Geeklog Forums

SQL Error when listing group members


Status: offline

Chump

Forum User
Newbie
Registered: 10/03/05
Posts: 4
Error is such: 1054: Unknown column 'gl_users.uid' in 'on clause'. SQL in question: SELECT DISTINCT gl_users.uid,username,fullname,email,photo,regdate,lastlogin FROM gl_users,gl_group_assignments LEFT JOIN gl_userinfo ON gl_users.uid=gl_userinfo.uid WHERE gl_users.uid > 1 AND gl_users.uid = gl_group_assignments.ug_uid AND (gl_group_assignments.ug_main_grp_id IN (31,1)) ORDER BY username asc

Any ideas?

Chump
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 12/01/02
Posts: 13073
Location:Stuttgart, Germany
As usual, it's a good idea to try a search for the error message first ...

bye, Dirk
 Quote

All times are EDT. The time is now 01:56 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content