Ugh. Can't edit in 5.5.1
Permalink
Hi all,
Set up a site using Concrete5 for a client a while back, then decided it would be a good idea to upgrade to the latest version, since I was a few behind. Made it all the way up to the current version, but now we can't get the edit bar to appear. I can get to the dashboard, and the bar appears there, but when we're on the site, no edit bar. Just a blank white section.
I've been scanning through the forums for a couple days, as well as google, but haven't come across a solution that has worked. Any suggestions? I'm stumped.
Everything was working fine with the older version, so maybe there is a template change, or css change, or something that I've missed along the way that can fix this.
Thanks,
-Kaline
Set up a site using Concrete5 for a client a while back, then decided it would be a good idea to upgrade to the latest version, since I was a few behind. Made it all the way up to the current version, but now we can't get the edit bar to appear. I can get to the dashboard, and the bar appears there, but when we're on the site, no edit bar. Just a blank white section.
I've been scanning through the forums for a couple days, as well as google, but haven't come across a solution that has worked. Any suggestions? I'm stumped.
Everything was working fine with the older version, so maybe there is a template change, or css change, or something that I've missed along the way that can fix this.
Thanks,
-Kaline
Thanks. Not seeing any javascript errors. I'm using a theme called "distinctive".
I checked my footer.php file to make sure the footer required line was there. Also checked the header.php to make sure the same thing for the required header line.
Any suggestions?
I checked my footer.php file to make sure the footer required line was there. Also checked the header.php to make sure the same thing for the required header line.
Any suggestions?
Here is my footer.php, if this helps...
<?php defined('C5_EXECUTE') or die(_("Access Denied.")); require(DIR_FILES_ELEMENTS_CORE . '/footer_required.php'); ?> <div id="footer"> <span class="left">© <?php echo date('Y')?> <a href="<?php echo DIR_REL?>/"><?php echo SITE?></a>− Design: Luka Cvrk, <a href="http://www.solucija.com" title="Free CSS Templates">Solucija</a></span><span class="third"><?php echo t('Built with ')?> <a href="http://www.concrete5.org"><?php echo t('concrete5 CMS') ?></a>. <?php $u = new User(); if ($u->isRegistered()) { ?> <a href="<?php echo $this->url('/login', 'logout')?>"><?php echo t('Sign Out')?></a> <?php } else { ?> <a href="<?php echo $this->url('/login')?>"><?php echo t('Sign In')?></a> <?php } ?></p></span> </div> </div>
Viewing 15 lines of 18 lines. View entire code block.
As you've said there is a blank white screen, that suggests a fatal PHP error (it's just not outputting it to the screen).
Are you able to find your error log for your site? (often found in cPanel, etc)
Are you able to find your error log for your site? (often found in cPanel, etc)
Ahh. Sorry. Wasn't clear I guess. The page loads when I'm logged in, but the edit bar at the top is not there. There is a blank space for it, and the recent pages breadcrumb appears right below that, but the edit button, concrete5 hand thingy, etc., aren't there.
I can still check for errors, though.
I can still check for errors, though.
[Edit - sorry, just read back further and it seems you have already covered this]
A blank edit bar is often a javascript error (duplicate fn definition, fn definition not in place at the time it was first called, script incompatible with 5.5.1 .....).
The browser developer console may give some clues what is happening.
A blank edit bar is often a javascript error (duplicate fn definition, fn definition not in place at the time it was first called, script incompatible with 5.5.1 .....).
The browser developer console may give some clues what is happening.
OK. I've tried a number of things today, but still no edit bar. I've gone through and cleaned up all of my template php files, I cleaned up the css file, flushed the cache 100 times...I'm stumped. This site is about as simple as it gets. I don't have any add-ons, and didn't (at least as far as I know) add any extra javascript/jquery/etc. to anything. Everything worked fine on previous versions, but not on 5.5.1. I also turned off clean url's, but that didn't change anything, either. I used the wc3 validator, and my pages (except for one) are "green". I'm not seeing any php or javascript errors no matter where I look. The Dashboard works fine, the site looks fine, I just can't edit anything. I'm logging in with my admin account.
Not sure what else I can provide that might help. The site address is dreyersolutions.com if it helps looking at it. I've also attached a screenshot of what the top of the site where the edit bar should be looks like.
Not sure what else I can provide that might help. The site address is dreyersolutions.com if it helps looking at it. I've also attached a screenshot of what the top of the site where the edit bar should be looks like.
ive had some trouble with this also. are you logged in as admin? not just an account in the admin group. but the actuall startup admin account?
Yep. It's the super user account that I'm using.
One thing I've noticed that I don't understand...when I'm logged in as admin and look at the source html, there is a section of script calls at the bottom that are repeated. One section is above the footer and one is below. I can't figure out why this is happening, and if it is causing me the issue of no edit buttons appearing.
<div id="ccm-page-controls-wrapper"><div id="ccm-toolbar"></div></div> <script type="text/javascript" src="/index.php/tools/required/i18n_js"></script> <script type="text/javascript" src="/updates/concrete5.5.1/concrete/js/jquery.ui.js?v=7ee6e7a4a175822d36303ed40eacbec6"></script> <script type="text/javascript" src="/updates/concrete5.5.1/concrete/js/jquery.form.js?v=7ee6e7a4a175822d36303ed40eacbec6"></script> <script type="text/javascript" src="/updates/concrete5.5.1/concrete/js/jquery.rating.js?v=7ee6e7a4a175822d36303ed40eacbec6"></script> <script type="text/javascript" src="/updates/concrete5.5.1/concrete/js/ccm.app.js?v=7ee6e7a4a175822d36303ed40eacbec6"></script> <script type="text/javascript" src="/updates/concrete5.5.1/concrete/js/tiny_mce/tiny_mce.js?v=7ee6e7a4a175822d36303ed40eacbec6"></script> <script type="text/javascript" src="/index.php/tools/required/page_controls_menu_js?cID=1&cvID=&btask=&ts=1330523923"></script> <div id="footer"> <span class="left">© 2012 <a href="/">D E Solutions</a>− Design: Luka Cvrk, <a href="http://www.solucija.com" title="Free CSS Templates">Solucija</a></span><span class="third">Built with <a href="http://www.concrete5.org">concrete5 CMS</a>. <a href="/index.php/login/logout/">Sign Out</a> </span> </div> </div> </div>
Viewing 15 lines of 25 lines. View entire code block.
Hey! If I keep writing long enough, I can solve my own problem!
The issue was this line in the footer.php code I pasted above:
I removed that line from the top of the code, and that stopped the duplicated script section I also pasted above from appearing. Refreshed the page and now the edit bar appears once again.
Thanks to everyone for their help.
The issue was this line in the footer.php code I pasted above:
require(DIR_FILES_ELEMENTS_CORE . '/footer_required.php');
I removed that line from the top of the code, and that stopped the duplicated script section I also pasted above from appearing. Refreshed the page and now the edit bar appears once again.
Thanks to everyone for their help.
Any javascript errors? What theme are you using?
This appears to be a common issue:http://www.concrete5.org/community/forums/usage/concrete-5.5-theme-...