Page 1 of 1

Administration Suite Dissapeared

Posted: Fri May 26, 2006 10:19 pm
by Berg
Well most of it anyway. When I go into administer the site all I see are the Frontpage, Back to Weblog, ang Logout buttons...

It was working fine up until now, all I changed was the ability to add comments to my posts.

What gives?

Re: Administration Suite Dissapeared

Posted: Sat May 27, 2006 11:39 am
by garvinhicking
Hi!

This happens when your user account has no privileges anymore. This can have either happened because you set "Allow to create entries" in your user configuration to "No", or because you've removed yourself from usergroups.

Were you using Serendipity prior to 1.0-beta3? There it could happen that when changing your user properties, your browser would not submit the multi-select field with the association of your usergroups to your author.

You will need to restore that with an SQL code, entering in phpMyAdmin or similar. Let's say your authorid is "1" then you need to enter this to become an administrator again:

Code: Select all

UPDATE serendipity_config SET value = 0 WHERE authorid = 1 AND name = 'no_create';
INSERT INTO serendipity_authorgroups (groupid, authorid) VALUES (1,1);
INSERT INTO serendipity_authorgroups (groupid, authorid) VALUES (2,1);
INSERT INTO serendipity_authorgroups (groupid, authorid) VALUES (3,1);
Group #1 is the "Editor" group, #2 is the "chief" group and #3 the admin group by default. If you created custom usergroups you were a member of, you need to insert your author for those groups as well.

Upgrading to 1.0-beta3 will also enable a warning message that will be shown when you save your personal config when not having any authorgroup assigned to your account.

Best regards,
Garvin