Constant logging out and "access denied" message
Permalink 1 user found helpful
Hi,
I'm having an issue with being able to edit blocks on my site. Whenever I click on a block to edit it, it says "access denied". Then if I go to "exit edit mode" it says "access denied" again. Refreshing the page only seems to log me out of the whole site. I've read similar threads on the forum about this but couldn't find a solution. I'm not sure if the "access denied" issue is because I'm being logged out constantly or if the two issues are unrelated.
I'm using a custom theme and advanced user permissions. I'm using the admin account, so I should be able to do everything.
Thanks for your help in advance!
I'm having an issue with being able to edit blocks on my site. Whenever I click on a block to edit it, it says "access denied". Then if I go to "exit edit mode" it says "access denied" again. Refreshing the page only seems to log me out of the whole site. I've read similar threads on the forum about this but couldn't find a solution. I'm not sure if the "access denied" issue is because I'm being logged out constantly or if the two issues are unrelated.
I'm using a custom theme and advanced user permissions. I'm using the admin account, so I should be able to do everything.
Thanks for your help in advance!
I'm running 5.4.1.1 and it says that I'm fully up to date regarding updates. Is there a more recent version?
5.4.1.1 is the latest version, are you logged into concrete 5 dashboard in two different tabs of the browser ? if so please logout through both the tabs , and try logging again through a single browser tab.
I also get these "access denied" messages after editing blocks. A reload in the browser displays the changed block correctly. I am not being logged out and I am using 5.4.1.1 with advanced permissions switched on. The user is admin.
see attached images...
Would be glad if someone could point me into the right direction.
Thx,
Markus
see attached images...
Would be glad if someone could point me into the right direction.
Thx,
Markus
I think your install may be corrupted try re uploading the concrete folder.
On Jun 27, 2011 5:51 AM, "Concrete5 Community" <discussions@concretecms.com>
wrote:
On Jun 27, 2011 5:51 AM, "Concrete5 Community" <discussions@concretecms.com>
wrote:
I've tried it again today and it's worse now. I log in ok, then click "edit page" and it logs me straight back out again.
I can't re-upload the concrete folder though because it was installed through Softaculous.
Will I need to delete the site completely and start again?
I can't re-upload the concrete folder though because it was installed through Softaculous.
Will I need to delete the site completely and start again?
Doesnt matter if it was installed through softaculous
On Jun 27, 2011 9:42 AM, "Concrete5 Community" <discussions@concretecms.com>
wrote:
On Jun 27, 2011 9:42 AM, "Concrete5 Community" <discussions@concretecms.com>
wrote:
I can't find an option to reinstall the single folder?
there is no "option" download concrete, from this site, then take the /concrete folder and overrwrite the old one.
I've taken your advice and stuck to using only one tab but it still didn't work, so I completley deleted the whole site and started from scratch.
Again, I'm using a custom theme (haven't got advanced permissions on yet) and it seemed to work fine this time. However, when I went to insert the same content as last time the same problem occurred. It says access denied and I'm logged out. If it helps, I was inserting a HTML content block.
Please help, this is getting frustrating now! :)
Again, I'm using a custom theme (haven't got advanced permissions on yet) and it seemed to work fine this time. However, when I went to insert the same content as last time the same problem occurred. It says access denied and I'm logged out. If it helps, I was inserting a HTML content block.
Please help, this is getting frustrating now! :)
Just in case it helps, here's the code for the template. I've got view.php set up.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <?php Loader::element('header_required'); ?> <link href="<?=$this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" /> </head> <body> <div id="header"><div id="header_content"> <a href="http://www.domainhere.co.uk"> <img src="/images/newsite/logo_white.jpeg" alt="Logo"/> </a> <div id="navigation_content">
Viewing 15 lines of 92 lines. View entire code block.
Sorry to be a pain and post three times, but just thought I'd try out the default themes. The problem only seems to happen when I use my custom theme :/
Please help!
Please help!
I've been piecing together three or four different tutorials on how to create a theme and not one of them mentioned that, but I've gone into the concrete themes and looked at the code there. I've included what you said to in all the pages, but now I log in, click "edit page" and it immediately logs me out :/
Here's the code for the page:
And for the header:
and for the footer:
Here's the code for the page:
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); $this->inc('/header.php'); ?> <body> <div id="header"><div id="header_content"> <a href="http://www.pinkfishadvertising.co.uk"> <img src="/images/newsite/logo_white.jpeg" alt="Logo"/> </a> <div id="navigation_content"> <ul id="navigation"> <li id="navigationlist"><a id="navigationlink" href="/">Listings</a></li> <li id="navigationlist"><a id="navigationlink" href="/">Sign Up</a></li> <li id="navigationlist"><a id="navigationlink" href="/">Sign In</a></li> <li id="navigationlist"><a id="navigationlink" href="/">Contact us</a></li>
Viewing 15 lines of 27 lines. View entire code block.
And for the header:
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <?php Loader::element('header_required'); ?> <link href="<?=$this->getThemePath()?>/style.css" rel="stylesheet" type="text/css" /> </head>
and for the footer:
<?php defined('C5_EXECUTE') or die("Access Denied."); ?> <div id="footer"> <div id="footer_content"> <div class="footermod1"> <h6 class="blue">Site notice</h6> © pinkfish advertising <?php echo date('Y')?>. All rights reserved. </div> <div class="footermod2"> <h6 class="blue">Navigate the site</h6> <table width="100%"> <tr> <td width="50%"> <a href="/index.html">Home</a></td> <td> <a href="/terms.html">Terms</a></td>
Viewing 15 lines of 64 lines. View entire code block.
Bump
I've been struggling with this as well. Clear site and browser cache, checking user permissions, etc...
Help?
Help?
Hi,
All I can say is that my problem was caused by not using the php code for an image that appears in the theme itself.
Hope this helps and you get it sorted!
All I can say is that my problem was caused by not using the php code for an image that appears in the theme itself.
Hope this helps and you get it sorted!
Well, I sorta got it figured - I think. I think either my browser or the site still figured user2 was logged in, so it wasn't letting me edit the same page as user2 was on? I logged in with user2's credentials and then properly logged out, signed in as user1, and all is right in the world again...
Having this exact same problem, specifically editing my site using Chrome, where "Access denied" comes up after one or two edits. The problem disappears when I open the site and edit using Safari. I've tried the fixes mentioned and more, must be something I'm still missing.
5.4.1.1?
I havn't seen many at all with 5.4.1+ only in 1 specific instance...