Ask Your Question
0

Getting 404 Saving Sidebar Settings

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

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

Comments

Which setting are you trying to fill out?

Evgeny's avatar Evgeny  ( 2015-02-07 16:04:54 -0500 )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 -0500 )edit

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

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

@Matthew did you get this issue fixed?

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

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Comments

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 -0500 )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 -0500 )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 -0500 )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 -0500 )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

Stats

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

Seen: 165 times

Last updated: Feb 07 '15