Error when trying to get to the /users URL


(Nicholas Tolstoshev) #1

I’m trying to go to the user leaderboard described here:


on my Discourse site.

But when I do I get the following error message:
:frowning:
Access Denied
while trying to load /directory_items?period=weekly&order=likes_received
Something went wrong.

Any ideas on where to start troubleshooting?


(Jeff Atwood) #2

Did you turn off the user directory in your site settings? Some people objected to this page, so it can be disabled.


(Nicholas Tolstoshev) #3

ah, I didn’t realize that is a setting - let me go find out where that is


(Nicholas Tolstoshev) #4

Yep that was it, turned it on and now it works. Would it be possible to have the error message for that URL give that info if you have the setting turned off?


(Mittineague) #5

I don’t know how SitePoint is doing it. but the /users page is only visible when logged in.

When not logged in Users doesn’t show in the menu, and if you go to it, it doesn’t give the “oops” page, it redirects to the “home” page.

Six of one a half dozen of the other I guess, and maybe mostly because that’s what I’m used to, but I think the redirect is better than an error page.


(Nicholas Tolstoshev) #6

I was logged in, just had the feature turned off. I stumbled on a discussion of the /users page when looking for a leaderboard feature, so I just put in the URL manually. An ideal user experience as the admin of the site would be an error message that tells me that the feature is turned off and where to turn it on if I want that page to work.