Upgraded to 5.6.0.1 can't set page permissions

Permalink
I just upgraded to 5.6.0.1 -- it did not go smootly. However after some gyrations I managed to get the site up and running.

Everything looks good, performance is excellent, the only problem I have is I'm the only one who can see the site.

If you aren't logged in, all you see is the login page. I have advanced permissions turned on, and my pages all have no permissions set.

When I go to edit them, I add the group Guest to the page under view, and the system responds "permissions updates successfully" but if you go back to edit them again, all changes are gone and we're back to blank permissions.

Yes, I *know* I should have a backup, but I don't. I'm stuck with fixing what I currently have. Any ideas on to where to start debugging this? There are no errors in the logs that I can see.

o13102
 
o13102 replied on at Permalink Reply
o13102
My understanding is that these permissions are stored in the PagePermissions table.

The hompage is page 1 and all of my pages inherit from there, so I only need to get that one page set properly.

The columns I see in that table related page one on the dB side are:

cID gID uID cgPermissions cgStartDate cgEndDate
1 1 0 r NULL NULL
1 3 0 r:rv:wa:db:av:dc:adm NULL NULL

Any of this make sense to anyone?
o13102 replied on at Permalink Reply 4 Attachments
o13102
Here are some screencaps for clarification:

I click on the permissions for the homepage and I get the screen in the attached permissions1.PNG

I add the built in Guest group and hit save as shown in the attached permissions2.PNG

As you can see in the attached permissions3.PNG, it adds the group. I hit OK and the site says that it updated the permissions successfully.

However if I open them again, you see what is in the attached permissions4.PNG.
mhawke replied on at Permalink Reply
mhawke
Please stay out of the database. I'm pretty sure only bad things will happen if you make changes in there.

I've updated to 5.6 and I also had to change the permissions on my Home page but my permissions 'stuck' so I can't repeat your problem.

A couple of suggestions. First, make sure you're clicking all the 'Save' buttons all the way back. C5 opens a lot of levels and each one needs to be saved. Another suggestion is to clear your C5 cache and then turn the cache off when developing your site. I'm not sure if permissions are cached but this might help. The easiest way to find cache settings is to type 'cache' into the Intelligent Search box.

Just some ideas.
o13102 replied on at Permalink Reply
o13102
I'm clicking all the saves all the way out. I've also already cleared my cache several times as well as disabling it.

Does anyone have a suggestion as to how to start troubleshooting this problem?
o13102 replied on at Permalink Reply
o13102
I've checked my concrete/config/version.php file and it says 5.6.0.1

The database says that SITE_APP_VERSION is 5.6.0.1

I do not have a
define('DIRNAME_APP_UPDATED', 'concrete.blah.blah.blah)
line in my site.php in the config directory...

I've been down for 3 days now. Does anyone have any final suggestions before I just give up and rebuild on a different CMS?

This is painful. I'm going to lose hundreds of hours of content building.
mhawke replied on at Permalink Reply
mhawke
If you did an automatic update then you should have a 'concrete5.6.0.1' folder inside the 'updates' folder. If you do then add a line in your site.php that says :

define('DIRNAME_APP_UPDATED', 'concrete5.6.0.1')


Make sure the 'concrete5.6.0.1' part in the define line above matches the name of the folder in your 'updates' folder.
o13102 replied on at Permalink Reply
o13102
No the automatic update didn't work. The whole site went http error 500 after that.

After doing a manual upgrade and running the
http://www.your-concrete5-site.com/index.php/tools/required/upgrade
script the site started working, but only for my login.

All I need to do is get guest added but I can't do it via the UI for some reason.
mhawke replied on at Permalink Best Answer Reply
mhawke
Would you be willing to PM me your FTP username and password so I could have a quick look at the structure to see what might have gone wrong?
o13102 replied on at Permalink Reply
o13102
You have a PM.
o13102 replied on at Permalink Reply
o13102
Oh, and thank you. I do appreciate the help.
o13102 replied on at Permalink Reply
o13102
Just as a follow up:

My site is now fully functioning. What Mike (mhawke) did was login and look over my structure. He found a file that didn't match and suggested that I simply re-upload the concrete/ directory from the source on github.

I copied the existing concrete/ folder to a backup and re-uploaded a new one.

This worked PERFECTLY and my site is now fully functional again.

Mike, thank you again for taking the time to help me out!
mhawke replied on at Permalink Reply
mhawke
Happy to be of assistance. Glad things are humming again.