Ask Your Question

Getting 404 Saving Sidebar Settings

asked 2015-02-07 15:47:55 -0600

SwisherSweet's avatar

When I try to save my side bar settings, I get a 404 error message.

What might be causing this?

edit retag flag offensive close merge delete


Which setting are you trying to fill out?

Evgeny's avatar Evgeny  ( 2015-02-07 16:04:54 -0600 )edit

I'm trying to fill out the: Settings โ†’ Static Content, URLS & UI โ†’ Main page sidebar โ†’ Custom sidebar header (English)

SwisherSweet's avatar SwisherSweet  ( 2015-02-07 16:08:22 -0600 )edit

I cannot reproduce this issue on the master branch of Askbot.

Evgeny's avatar Evgeny  ( 2015-02-07 16:29:08 -0600 )edit

@Matthew did you get this issue fixed?

Evgeny's avatar Evgeny  ( 2015-02-13 21:21:30 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-02-07 16:34:10 -0600

Evgeny's avatar

Maybe by the time you were posting the change you were logged out or logged in under unprivileged account? Only site administrators can change the settings.

edit flag offensive delete link more


I tired 7 to 8 different times. I wasn't logging out and I believe the first account is an admin account. Is there a log I can find the root problem?

SwisherSweet's avatar SwisherSweet  ( 2015-02-07 16:43:02 -0600 )edit

I don't see yet from where the 404 may be coming. Who has access to settings is actually controlled by the `is_staff` and `is_active` fields on the `User` record, both must have `True` boolean values..

Evgeny's avatar Evgeny  ( 2015-02-07 16:53:36 -0600 )edit

The user has both Staff and Active flags set. In addition, they user also has Superuser status.

SwisherSweet's avatar SwisherSweet  ( 2015-02-07 17:02:19 -0600 )edit

Maybe try setting `DEBUG=True`, might help if there is an issue with the url. Otherwise you could try addding `import pdb; pdb.set_trace()` in the beginning of the function `askbot.deps.livesettings.views.group_settings`, run the site with the `runserver` command and step with the debugger. If the breakpoint is never reached, insert the same statements upstream in the call chain until the breakpoint works. With a hard to understand issues using debugger would be the method to try.

Evgeny's avatar Evgeny  ( 2015-02-07 17:31:30 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-02-07 15:47:55 -0600

Seen: 230 times

Last updated: Feb 07 '15