I'm wondering if anyone else has run into this and, if so, what the resolution is.
I added a page for my client which they later tried to edit and could not. I was able to reproduce the problem he described without fail.
We navigate to the page, click the "edit page" button, click the content area and select "edit." The editor overlay-window opens but is empty except for the message "access denied." The page is now uneditable.
We're using one admin log-in so user permissions aren't the issue. Thoughts? Thanks in advance.
you said that you "later try to edit" the page and cannot. do you mean that you login later under the same username and try to edit and you get the error? or do you mean that you wait a little while (without any activity) and then try to edit? if the latter, it may be that you session timed out. if it's not that, can you provide a little more detail. what are the exact step you go through to duplicate the problem.
the only instance in which something like this occur is if i let my browser site for a while with no activity (while logged in) and then come back later and try to edit.
Good call, but this doesn't have anything to do with sessions. My client mentioned this days ago and since that time I've even restarted my computer, so everything in that session has been destroyed. I've cleared cache, history, etc. and still no luck.
So, in short, logging out and back in again still produces the same results.
Regarding the steps:
1) I created a page.
2) My client tried to edit a week or so later.
3) They reported the access denial.
4) I logged in and tried to access the page with the same results.
i've never seen this issue occur. maybe someone else has and can give some more insight. until then here's some ideas you may or may not have tried already:
-Try creating a new user and assigning that to the administrators group and logging in as that user to edit.
-Try adding the administrator to the administrators group
Other than that, I've got no clue cause I've never seen that before. One more question though - have you tried adding a block other than the content block? Will it let you do that?
I ran into the same problem with my home page now. Let me describe more what I've tried:
1. The problem is in my 'Home' page. Other pages seem to be working fine. (Haven't tried too much, but could edit content in other pages when I tried)
2. The problem is with SOME of the areas on the page, not all.
3. The problem is NOT limited to Content block type. AutoNav could not be edited too.
4. Adding new blocks is possible. But the newly added blocks can not be edited immediately.
5. I did a 'Move' operation on the blocks of the page before the problem is introduced. I don't know if the problem is associated with that or not.
6. No operation can be performed on the problematic areas (not only edit), I mean, when you choose 'Set Custom Template' you get the access denied too.
Go into your administration panel and click Users and Groups.
Now, click on the clients username.
At the bottom of that page, you should see Groups.
Now, click add to group. Add him to the administrators group.
See if that works for him.
In my case, I'm using the admin user which should basically have permission to do anything, and haven't changed anything in the users / groups / permissions.
This is a false 'access denied', and I suppose that's a bug.
Haven't tried the 5.3.0 yet, I'll check and post back.
Another thing is that the issue is in my Home page. If it was any other page, I would have removed and re-created the page!
I found what in my template was causing the access denied error. I have an accordion menu script (a javascript by Ryan Stemkoski) that allows my side menu to expand when clicked - turns out that including a file containing the triggering divs (no js or any code except html) caused the problem. Oddly enough, including the javascript file didn't cause any problems by itself.
My solution is to provide different content while in edit mode (thus removing the offending "trigger" divs from the include).
<?phpglobal$c;if($c->isEditMode()){echo'Message / Different Content here';exit();}?>
... Menu to display when out of edit mode (Regular HTML)...
Have not figured out in detail what the real problem is.
But as a workaround I found out that
choosing the "design" link to call the "set block styles" dialog and then using the "reset"-button seems to fix the problem.
After that I can edit the block again.
I am not using any block styles at all so this is pure voodoo.
Problem occurred using area splitter with 5.4.0.5. and an alias scrapbook block.
I had the same issue after installing concrete 5.4.1.1 using simplescripts to install to a subdirectory on Bluehost. I could not edit anything or do anything. Sometimes clicking to edit something just immediately signed me out. The first time this happened, I uninstalled Concrete 5 and tried again. I noticed when uninstalling, the files in the files/cache folder remained, and as long as those were present, I got the error. I reinstalled to a subdomain, deleted the cache files, and things seem to be ok-- on that site. I installed a new site to a subfolder and I had the same issue, but even deleting the cache files didn't solve it. I didn't get the access denied error, I just get kicked out of the site... I think I will reinstall again to a subdomain instead of a subfolder and see if that fixes it.... this is getting to be cumbersome...
After re-installing to a subdomain like last time, it seems to work. Weird. Maybe it has to do with the fact that my primary domain is a Concrete5 website also, and perhaps the htaccess files conflict...
the only instance in which something like this occur is if i let my browser site for a while with no activity (while logged in) and then come back later and try to edit.