Welcome to Geeklog, Anonymous Saturday, September 24 2022 @ 07:48 pm EDT

Geeklog Forums

admin/group.php SQL error


Status: offline

ivy

Forum User
Full Member
Registered: 11/25/04
Posts: 314
Location:Tokyo Japan
Geeklog Japanese member reported this.
I guess this might be a bug.

1.display group list
http://demo.geeklog.net/admin/group.php?mode=listusers&grp_id=2

2.then click "Last login Date"
http://demo.geeklog.net/admin/group.php?order=4&prevorder=username&direction=asc&userlistpage=&q=&query_limit=

3.Error message
An SQL error has occurred. Please see error.log for details.

---

admin/group.php line:629

Text Formatted Code

    $retval .= ADMIN_list ('user', 'ADMIN_getListField_users', $header_arr, $text_arr, $query_arr, array(), $defsort_arr, "&mode=listusers&grp_id=$grp_id");


 


--->
Text Formatted Code

    $retval .= ADMIN_list ('user', 'ADMIN_getListField_users', $header_arr, $text_arr, $query_arr, array(), $defsort_arr,"", "&mode=listusers&grp_id=$grp_id");


 


added "", then OK!

Geeklog Japan https://www.geeklog.jp
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Looks like this has already been fixed in CVS. Thanks anyway, this may help someone running into that problem.

bye, Dirk
 Quote

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