1

Topic: HTTP 406 Error on upgrading accounts to Moderator / Administrator

I have a newly installed punBB installation at http://uprc.magnapc.co.uk/

When I try to upgrade users to moderators or administrators (User Profile, Administration, Dropdown list, Submit) I get an HTTP 406 error:

406 Not Acceptable

Not Acceptable
An appropriate representation of the requested resource /forums/profile.php could not be found on this server.

So i tried downloading the punBB ZIP file again, extracting profile.php, and uploading it to overwrite my copy. However, this made no difference.

Any ideas please? I really need to give club staff admin / mod rights!

Thanks in advance,

JimmE
James Edgar

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

That happens to be a browser issue: have you modified any settings in your browser recently?

3

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

hmm... not sure.

I first tried it from a machine at the uni - using IE6. This failed, i tried another machine, and another. All failed.

Since tried it on my home machine, running FireFox 1.5. Also failed.

I'm a bit stumped...

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

That is odd :-/

5

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

I can make changes to the user on any page of their profile OTHER than the administration page. Does that point at the administration page of the user profile? Or some of the code that only makes it accessible to administrators...?

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

It doesn't really point much of anywhere, since you shouldn't be having this problem
any chance you could give my account admin status for a second (I just registered with username "test") so I can see if I get the error (and try to figure out what's wrong from that)?

7

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

i would love to, but i can't make any accounts admin at the moment. That's the problem tongue

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

Through MySQL directly (or though the DB plugin)?

9 (edited by JimmE 2005-11-09 04:14)

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

OK, done.

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

I have absolutely no clue hmm

11 (edited by JimmE 2006-01-15 16:30)

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

oh dear sad

Well, i've since backed up the site and database, and deleted both, reinstalled punBB from scratch, and without restoring any mods / styles / database content, created a new user, then logged back in as Admin to upgrade it to Mod. Same error. I'll try talking to my webhost in the meantime, but if anyone has any ideas, I would be very gratetful....

http://robotclub.org.uk/

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

Do you get any errors in your web server error log?

"Programming is like sex: one mistake and you have to support it for the rest of your life."

13

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

I get same error, when I try to upgrade users to moderators or moderators to users sad

14

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

OK, turned out to be an issue with something called mod_security which was being run on the server by my webhost. Talking to them they recognised the issue and were able to solve it.

Thanks for your help!

--JimmE

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

Bah, I've solved that issue a couple times now tongue

16

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

Thanks anyway smile

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

Im having the same issue and still cannot fix it.

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

Have you talked to your host about mod_security?

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

I haven't been able to get in contact with them, however I did notice I could change the user status manually in the DB however I don't know how to set up the moderators manually because I can't find the table in the DB.

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

The table is the forums table and it requires a bit more work than just a simple status change wink
But yeah, the problem is on your hosts' end

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

Well I've been able to change the status of people and change there groups, however I now can't setup moderators because I don't know what values need to be set to do so.

Re: HTTP 406 Error on upgrading accounts to Moderator / Administrator

It's a seralized array of usernames stored in the moderator column of the forums table