Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:01 am EST

Geeklog Forums

error when turning off link to documentation


Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
hello!

using gl 181.
When I turn off the link to the documentation in the admin list, then render the list for a user for whom only one link would be left in the list, eg., submissions, then the page fails with the following error logged:

"05/17/12 08:02:43 - 2 - uksort() expects parameter 1 to be array, null given @ C:\...\lib-common.php line 2832"

did my explanation make sense? Any advice?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
I can reproduce it. It happens, for example, when a user only has moderate rights. Then they would only get the link to the Submissions page plus the documentation.

Workarounds:
- re-enable link to the Documentation, obviously
- give them access to some other harmless admin section

I've filed this as a bug: http://project.geeklog.net/tracking/view.php?id=1447

bye, Dirk
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Turned out to be a simple fix:

http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/43a0ddb69d93

This bug must have been around for quite a while. Thanks for reporting it.

bye, Dirk
 Quote

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