Welcome to Geeklog Thursday, October 21 2021 @ 04:01 pm EDT

Geeklog Forums

SQL Error when listing group members

Status: offline


Forum User
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?


Status: offline


Site 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

All times are EDT. The time is now 04:01 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