Topics

User Functions

Events

There are no upcoming events

What's New

Stories

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Tuesday, May 21 2013 @ 07:34 PM EDT


 Forum Index > Support > General Geeklog Support New Topic Post Reply
 error when turning off link to documentation
   
machinari
 05/17/12 02:18AM (Read 716 times)  
+++++
Full Member

Status: offline


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?

 
Profile Email
 Quote
Dirk
 05/17/12 02:56AM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Dirk
 05/17/12 03:11AM  
AAAAA
Admin

Status: offline


Registered: 01/12/02
Posts: 13027
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

 
Profile Email Website
 Quote
Content generated in: 3.49 seconds
New Topic Post Reply

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