Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
general-topic
Admin has no viewing permissions / "read only" forums invisible to all
Avatar
GenBeg
Rookie
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2012 - 12:04 pm

Hi, guys. I've got a couple of major, presumably related problems. I've searched around and I don't see that anyone has addressed this exact topic.

The first part is that administrators don't seem to have any permissions to view content. It's weird; I can set all of my forums to standard access to everyone, including guests, and administrators always receive some variant of the following error:

The requested group does not exist or you do not have permission to view it

Meanwhile guests can read the content just fine.

It gets better; I can create a new user account and gradually bump up his permissions; all is as normal up through moderator status. If I make him an admin, suddenly he gets the above errors.

Obviously this situation makes it hard to manage a forum. If anyone has an idea as to how to fix this, I will be grateful.

The second problem is that when I set a forum to "read only" for a given user group, to that group it becomes completely invisible. This feels like it's a part of the same problem as above, although I can't quantify why. Again I would appreciate any available help on this.

Thanks, guys.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 28, 2012 - 2:01 pm

Let's start at the beginning. Is this a recent upgrade? And are you able and willing to take a quick look at your database tables?

andy-signature.png
YELLOW
SWORDFISH
Avatar
GenBeg
Rookie
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2012 - 2:17 pm

Yes, it's a new upgrade. Here's some background.

The site and forum were instituted quite some time ago. Just recently we have gone through a revamp, and in the process noticed that the Simple:Press installation that we were using (4.1-something) wasn't working correctly -- so we downloaded the new version and upgraded without any obvious hitches -- at first. All forums, posts, and members carried over just fine. Once we got deeper into the setup, though, we realized the above problems. 

I'm willing to strip it down to the bare PHP, if that's what it takes. Where exactly should I be looking?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 28, 2012 - 2:29 pm

We had a small handful of users - about one a week or one every two weeks - for whom the permissions got screwed up somehow. We have never been able to replicate it even when a user gave us a backup of their pre-upgraded database and let us try! For us it just upgraded fine. For him it screwed them up. We have spent hours trying to find the glitch and afraid we never have.

I suspect this has happened to you. And I am really sorry to hear that.

There are basically two ways to fix this up - assuming this is the problem - and it does sound like it hence my first question.

The first is to literally work through the database tables removing duplicate records which mainly seems to be the result of the problem.

But - if your permissions are fairly straightforward and you haven't done a lot of customisation to them then going to the forum admin > Permissions menu and choosing 'reset permissions' will clean them all up and put them back to their default settings as delivered on a new install.

Then you would need to just check through them all and check each forum had the correct pairing of permissions and user groups.

So would the second one cause too much pain?

andy-signature.png
YELLOW
SWORDFISH
Avatar
GenBeg
Rookie
Free Members
sp_UserOfflineSmall Offline
Nov 28, 2012 - 2:42 pm

Wow. I've done the latter, and provisionally it seems to have worked. I'll hold off declaring complete success until I've done more testing, but now everything that should be visible seems to be.

True, it will be a nuisance to go back and reset all of these permissions, but a little mindless busywork is an acceptable trade-off to get things working. 

Thank you a bunch for your help. I'll let you know if the issues continue in some way.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Nov 28, 2012 - 4:11 pm

Good news and again apologies. I really do wish we could find the culprit... that one combination of data and events that causes this.

andy-signature.png
YELLOW
SWORDFISH
Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online: Robfzs
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17362
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625