Support Forum

Admin permissions to see forum gone: The requested group does not exist or you do not have permission to view it

RT Ryan Thompson
Ryan Thompson
Member

When I login to the backend of SPF with my admin user, I can administrate the site, change configurations, etc.

But when I go to the front end, no forums show up and I get a message saying “The requested group does not exist or you do not have permission to view it”

This is just after upgrading from 4.5x to 5.2.2.  

WordPress 3.5.1
SPF 5.2.2

When I am logged out, or logged in as a different user I can see everything as intended.

I have tried to remove and readd all forum permissions, I made sure that my admin user at moderator access (I also tried switching to full access).

No matter what Ive done, I have not had any success.

The website is:   http://xcannabis.com/forum

15 Answers

New Answer

RT Ryan Thompson
Ryan Thompson
Member

I noticed that I have these errors in the logs:

 

February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
February 6, 2013
6:20 pm
php file: /simple-press/sp-api/sp-api-auths.php
line: 32
function: sp_get_auth
Notice | Trying to get property of non-object
MP Mr Papa
Mr Papa
Member

those are not errors… but  a notice…  and does not appear related…  we fix these harmless notices when they come up…

so this is after an upgrade from 4.x??  we have had a handful of folks that lost their permissions on the upgrade.. quite frustrating since its not repeatable even with a db backup from before the upgrade…

can you look in your db at the sfauths and sfroles tables?  any entries?

 

RT Ryan Thompson
Ryan Thompson
Member

Thanks for the pointers, I don’t have the ability right now to open up the tables, but I will a little later and post the results on that. 

 

Has anyone been successful at restoring permissions?   I wonder how many of the 500 members have this problem. 

I will get a query from those tables by morning.  Thanks again!

MP Mr Papa
Mr Papa
Member

500 members? on your site?

its probably the whole table gone…  did you customize the permissions at all?  if not, or minimal changes, might just be worth going to forum – permissions – reset permissions and reset them…  but you would have to then go through and make any customizations to the default permissions you might have done…

if the tables are bad like I suspect, you will have to do it anyway…

RT Ryan Thompson
Ryan Thompson
Member

That was actually one of the things that I tried.  I cringed when I cleared the permissions.  Then I went through and reset up the permissions for each group.   Still have the same problem.

RT Ryan Thompson
Ryan Thompson
Member

I noticed something else while troubleshooting.  I tried to add a few more moderators.  I did that, and they exist as moderators.  But when I tried to assign them permissions, I could not give them any.  I could select the buttons, and they turned green.  But after saving the changes, all of my changes went away and the buttons were greyed again.

YS Yellow Swordfish
Yellow Swordfish
Member

Ryan Thompson said
That was actually one of the things that I tried.  I cringed when I cleared the permissions.  Then I went through and reset up the permissions for each group.   Still have the same problem.

Did you also re-assign user groups/permissions to each of your forums?

Ryan Thompson said
I noticed something else while troubleshooting.  I tried to add a few more moderators.  I did that, and they exist as moderators.  But when I tried to assign them permissions, I could not give them any.  I could select the buttons, and they turned green.  But after saving the changes, all of my changes went away and the buttons were greyed again.

What does the update message (that appears in the yellow box at the top of the forum) have to say when you update the page? Anything useful?

 

 

RT Ryan Thompson
Ryan Thompson
Member

Did you also re-assign user groups/permissions to each of your forums?

 

Yes, I did.  I re-checked and permissions are still set.

 

What does the update message (that appears in the yellow box at the top of the forum) have to say when you update the page? Anything useful?

 “Admin Capabilities Updated”

I am making a screen recording to show you what I am seeing.

I can’t update anything.

 

RT Ryan Thompson
Ryan Thompson
Member

I am including two screen shots of those two tables that you asked about, and Im linking to a screen recording of the admin panel and the questions that you had about the process for setting permissions.

 

http://xcannabis.com/simple_press/

 

Data dumps for the tables that you asked for.

http://xcannabis.com/simple_press/wp_sfroles.sql

http://xcannabis.com/simple_press/wp_sfauths.sql

 

I hope that helps.  I am getting gray hair over this. lol

RT Ryan Thompson
Ryan Thompson
Member

One more thing, I do have all members assigned to the groups that they are designated for.

YS Yellow Swordfish
Yellow Swordfish
Member

We are going to have to do this one thing at a time – and it could possibly be that your admin save issues are related to permissions any way.

Your permissions – the sfauths table – are basically empty. I am afraid I have no idea why or how but they have all gone missing. The only ones you have in there are from activated piugins. It almost looks as if the ‘reset’ you performed ws interrupted in some way which leaves me wondering if you just have some kind of database update issue effecting everything.

So let’s tackle this one short step at a time.

It can not get any worse than having an empty sfauths table so – in the gorunm admin go to the permissions section, open the ‘Reset Permission’ panel and when displayed click on the ‘reset permissions’ blue button.

When that comes back – i.e., reloads – note the message in the yellow popup. Then click on ‘Manage Permission Sets’ from the menu and open any one of the permission records. There should be something like 40-50 individual permission items within each set.  Do you see all of these or just a small handful? And if still just a small handful what was the message after the reset?

RT Ryan Thompson
Ryan Thompson
Member

I swear I had reset those permissions once already, but this time it WORKED!

You rawk thank you so much!

I sure wish I could find a developer that would give me the ability to use Bitcoin with Marketpress/CubePoints 

If you ever find yourself board, I could probably put as much as $100 to be able to accept bitcoin payments via a bitcoin daemon with marketpress and/or cubepoints.

 

Thanks so much!  I feel my investment in your site is VERY worth the while.  Cheers~!

YS Yellow Swordfish
Yellow Swordfish
Member

So progress. Excellent.

Now how about the editing of your admin caps? Is that solved too?

By the way – I noticed from your video that you were changing multiple permission records all at the same time and then using a single update button. You actually need to update them one at a time after a change although I appreciate that is not too clear. (It used to be that if you opened a second permission set to look at then opened one would close making it more obvious. I will have to look into why it is not doing that now).

RT Ryan Thompson
Ryan Thompson
Member

Thanks for asking about that.  No the admin permissions is still a problem.  I can’t changed those still.

Also I did figure that out about adding the permissions one section at a time.

 

I haven’t used SPF for about a year.   I hope I can get it all tidied up, because I love the cubepoints plugin, and that is ultimately what got me interested in having a forum on my site again.

 

Thanks for your help!