Getting 404 Saving Sidebar Settings
When I try to save my side bar settings, I get a 404 error message.
What might be causing this?
When I try to save my side bar settings, I get a 404 error message.
What might be causing this?
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.
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?
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..
The user has both Staff and Active flags set. In addition, they user also has Superuser status.
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.
To enter a block of code:
Comments
Which setting are you trying to fill out?
I'm trying to fill out the: Settings → Static Content, URLS & UI → Main page sidebar → Custom sidebar header (English)
I cannot reproduce this issue on the master branch of Askbot.
@Matthew did you get this issue fixed?