Welcome to Geeklog Sunday, December 05 2021 @ 03:38 am EST

Geeklog Forums

admin/group.php SQL error


Status: offline

ivy

Forum User
Full Member
Registered: 25/11/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

PHP Formatted Code

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


 


--->
PHP 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: 12/01/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 EST. The time is now 03:38 am.

  • 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