I cannot Edit my site - the Edit Mode tool bar is not there

Permalink 1 user found helpful
Hi All, I cannot Edit my site because when I log in the Edit Mode tool bar is not there with Edit this page, Dashboard etc. is not there

Here is in details what happen: I was trying to get rid of the footer "Sign in to Edit this site" and modified /Concrete/themes/greek yogurt/elements/footer.php
I did something wrong and my footer bugged, so I reversed the changes but at that point I a) lost the Edit mode tool bar and b) lost the slideshow that I set up.

Can anyone help, please! This is mega urgent.Thank you

 
Ekko replied on at Permalink Reply
Ekko
You may have missed something when restoring the original. Maybe double check it against this. The footer required having an issue is the most common problem, with edit bars, dashboards.

<?php defined('C5_EXECUTE') or die("Access Denied."); ?>
<div class="clear"></div>

<div id="footer">

<div id="footer-inner">

<p class="footer-sign-in">
<?php
$u = new User();
if ($u->isRegistered()) { ?>
<?php
if (Config::get("ENABLE_USER_PROFILES")) {
$userName = '<a href="' . $this->url('/profile') . '">' . $u->getUserName() . '</a>';
} else {
$userName = $u->getUserName();
}
?>
<span class="sign-in"><?php echo t('Currently logged in as <b>%s</b>.', $userName)?> <a href="<?php echo $this->url('/login', 'logout')?>"><?php echo t('Sign Out')?></a></span>
<?php } else { ?>
<span class="sign-in"><a href="<?php echo $this->url('/login')?>"><?php echo t('Sign In to Edit this Site')?></a></span>
<?php } ?>
</p>

<div class="clear"></div>
<p class="footer-copyright">©<?php echo date('Y')?> <?php echo SITE?>.</p>
<p class="footer-tag-line"><?php echo t('Built with <a href="http://www.concrete5.org/" alt="Free Content Management System" target="_blank">concrete5 - an open source CMS')?></a></p>

</div>

</div>

<!-- end main container -->

</div>

<?php Loader::element('footer_required'); ?>

</body>
</html>
JohntheFish replied on at Permalink Reply
JohntheFish
jkernick replied on at Permalink Reply
jkernick
I've also lost my edit bar and I do have the footer_required included. I actually have a bar but not dashboard or edit buttons. Suggestions?
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
This can be caused by the home page having an error which causes it to not load completely, best way to see if this is the case is to go directly to your dashboard and thereby bypassing the home page loading error,
Like this
http://www.yoursite.com/index.php/dashboard/
jekas91 replied on at Permalink Reply
Have the same problem....
So for someone who doesn't know a thing about this (I just edit the pages and add news), how do you fix this problem?
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Did you try going to the dashboard as in my last post?
jkernick replied on at Permalink Reply
jkernick
I can get to the dashboard if I manually enter the URL, and I can even see the dashboard buttons on my homepage, but not on any interior pages.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
What version of concrete are you using?
Have you cleared the cache?
jkernick replied on at Permalink Reply
jkernick
5.5.2.1

Tried clearing the cache, no go.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
What is your website url?
jkernick replied on at Permalink Reply
jkernick
http://concrete.imcpl.org/

But I'm not sure if it's accessible outside our IP range. The network admins have everything on pretty tight lockdown.
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Was this upgraded to 5.5.2.1 or a fresh install?
jkernick replied on at Permalink Reply
jkernick
Upgraded on the test server then moved over to the production server
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Okay,
Whilst I scratch my head a while,
Can you check the sub pages permissions to make sure you have editing permission for those pages?
jkernick replied on at Permalink Reply
jkernick
Yep I sure do. Thanks for your help, I'm just as confused!
jkernick replied on at Permalink Reply
jkernick
To add to the confusion, I can see the dashboard bar with edit buttons just fine on the test server. So not sure what happened during the transition, but I'm thinking of just moving it over again and seeing what happens...
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Yes,
I think you are on the right track..
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Incidentally is the home page supposed to be inaccessible to the public, I see the login page when I visit your site..
jkernick replied on at Permalink Reply
jkernick
Good to know! Thanks!
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Well I mention it because the sub pages will inherit the permissions of the home page (normally)
So it could still be a permissions issue, make sure you have full permissions for the home page as well as the sub pages, its a long shot I know but still worth double checking..
jkernick replied on at Permalink Reply
jkernick
Well I checked the permissions, that wasn't the problem. Then we moved the test site over again and still no dashboard buttons! Arrrgghhh
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Okay
Just to be clear,
You say you upgraded to 5.5.2.1 on the test server before moving everything over,
Do you then have a folder called concrete5.5.2.1 within your root/updates/ folder?
jkernick replied on at Permalink Reply
jkernick
Doh! It was a cache issue. I got my dashboard buttons back. WHEW!
ConcreteOwl replied on at Permalink Reply
ConcreteOwl
Excellent News!
baysmedia replied on at Permalink Reply
I've got exactly the same issue on multiple sites. I get the Edit Mode tool bar on my home page, but not any other subsequent pages. The details are:

i) It was working fine prior to me upgrading the sites from 5.4.4.2 to 5.5.2.1

ii) Although I have modified the footer, I can confirm that the footer.php has:
<?php  Loader::element('footer_required'); ?>


iii) I have purged and disabled the cache - no joy.

iv) I get the problem even when I bypass the home page by navigating to a page via the Site Map within the Dashboard.

Any suggestions would be greatly appreciated (kinda stuck not being able to edit the pages on my sites)!

Thanks
baysmedia replied on at Permalink Reply
I've just noticed that it's only happening on pages with eCommerce installed.

I'll request support via the eCommerce page.
shames replied on at Permalink Reply
Can you tell me what you did? I cleared my cache but that didn't help. Did you do something else related to the cache?
shames replied on at Permalink Reply
I am having the same problem. Two of my subpages will not go into edit mode. There is just a blank toolbar at the top of the page. The home page and other subpages are working fine. Not sure where the problem is. Have cleared the cache and that doesn't seem to help. Checked the permissions and they are exactly what they are supposed to be. Updated to 5.5.2.1 last week. Haven't made any other changes to the site since then.
jkernick replied on at Permalink Reply
jkernick
We were having Javascript conflicts, that was the first problem. But we've also had a lot of caching issues. We are now running cron jobs to clear the cache files every 12 hours. Click on the "Clear Cache" button in System Settings did nothing. I would suggest manually deleting your cached files and see if that helps.
shames replied on at Permalink Reply
Where would do that at? I'm fairly new at this.
jkernick replied on at Permalink Reply
jkernick
In your server directory, go to concrete > files > cache > and remove these files.
shames replied on at Permalink Reply
Okay. I cleared it out but that doesn't seem to help.
baysmedia replied on at Permalink Reply
In my case it's because of an issue with eCommerce having a problem - which is used only on a handful of pages (which is why, like you, I'm missing the edit bar only on certain pages).

Are there any plugins in use on only those two pages that you mention, and not anywhere else on your site?
GeeElle replied on at Permalink Reply
GeeElle
Just had the very same problem. Managed to clear it by going to the full site index, then on the affected pages selecting Versions and approving the one from last version (you lose the very last edit so be sure this is what you want to do), and removing the last (faulty) version. Every time I did this, and I had this problem on 3 of 7 sub pages, and I elected to return to website these pages would come back already in edit mode as if the commit for the last publish hadn't completed (or something).

I also noticed I'd turned on private browsing in safari but I'm not sure if that helped or not.
ribenawrath replied on at Permalink Reply
I'm having this problem too. I'm using the latest version of Concrete5, and the white edit bar appears at the top for a second and disappears. I never see any buttons.

So I cannot edit a page at all across the entire site. Cacche has been emptied, browser cache emptied, turned off site cache ect no cigar. Some pointers would be great :)
mhawke replied on at Permalink Reply
mhawke
This sounds like a JavaScript error. Can you right-click on the affected page, choose "Inspect Element" (in Chrome or use Firebug in Firefox) and have a look at the 'Console' tab. I'm pretty sure you'll have some error(s) to report.
ribenawrath replied on at Permalink Reply
I'm using Chrome, in the console tab I'm getting no errors. In fact I'm not getting anything in there, just

>
mhawke replied on at Permalink Reply
mhawke
How about right-clicking and 'View Source' and scrolling down to the bottom. There might be a php error or mySQL error displayed at the bottom.
ribenawrath replied on at Permalink Reply
Doesn't seem to be anything wrong there either. The only thing Im' getting that looks strange i

/* <![CDATA[ */
(function(){try{var s,a,i,j,r,c,l=document.getElementsByTagName("a"),t=document.createElement("textarea");for(i=0;l.length-i;i++){try{a=l[i].getAttribute("href");if(a&&"cloudflare.com/email-protection"==a.substr(7 ,31)){s='';j=44;r=parseInt(a.substr(j,2),16);for(j+=2;a.length-j&&a.substr(j,1)!='X';j+=2){c=parseInt(a.substr(j,2),16)^r;s+=String.fromCharCode(c);}j+=1;s+=a.substr(j,a.length-j);t.innerHTML=s.replace(/</g,"<").replace(/>/g,">");l[i].setAttribute("href","mailto:"+t.value);}}catch(e){}}}catch(e){}})();
/* ]]> */
mhawke replied on at Permalink Reply
mhawke
That appears to be an email obfuscation script injected by cloudfare to hide email addresses from spammers. It also appears to be well-formed with no missing brackets or quotes and such so I don't think that's the issue.

What about having a look at your log files at 'Dashboard > Logs'? You might have to turn error messages on at 'Dashboard > System and Settings > Logging Settings'. (I guess we should have done this earlier to make sure error messages are actually displayed).

I'm going out shortly so I won't be able to respond until around 11pm.
ribenawrath replied on at Permalink Reply
Ah the cloudflare script. I totally missed the word 'cloudflare' in it :)

I've had a look at the logs, and I've got a lot of really long exception errors. I don't understand them. But they all seem to say the same thing... that a SQL table for a plugin doesn't exist.

I've disabled it and emptied everything again. No change.

Do not worry about time! It's pretty late here in the UK, so I wont be replying till morning now. But thanks for your help :) I appreciate the effort.
ribenawrath replied on at Permalink Reply
On another related note: Is there anyway I can edit a page without pressing the 'edit page' button? I thought I'd be able to find it in the sitemap, but no luck.
mhawke replied on at Permalink Reply
mhawke
Well, C5 is built on an 'edit-in-place' concept so you really have to 'visit' the page to edit it. The sitemap menu gives you access to a bunch of other page-related functions but you still have to edit the page from the page. The alternative is the way 95% of the CMS's do it with a list of out-of-context page assets that bares no resemblance to the actual page. I know which system I prefer.
mhawke replied on at Permalink Reply
mhawke
Is there a public URL I could have a look at? I'd like to see if there are any missing closing tags or other such things.
ribenawrath replied on at Permalink Reply
yep it's

rationale.org.uk

Thanks for your help, this is beyond me :(
mhawke replied on at Permalink Reply
mhawke
Beautiful site.

All appears good with the HTML.

If you've got the 'Web Developer' extension installed in your Chrome browser, can you try turning off all css style and look for ant sign of your toolbar elements. I'm wondering if the toolbar is actually there but not visible due to some css issues.

If I kill the css on my site while I'm in edit mode, the entire dashboard is displayed in linear order.
ribenawrath replied on at Permalink Reply
Thanks!

Ok well I've got the 'Web Developer' extension, disabled CSS. I'm seeing no evidence of a toolbar at all. The very top of my site is the header logo.

When I'm logged in the toolbar appears for a second, and then the page seems to 'refresh' and the toolbar is gone. But at no point can I see any buttons.
mhawke replied on at Permalink Reply
mhawke
It might be nothing but you have an extra '<' in your footer where it says "website by". I'm nervous about this because the footer is where the toolbar gets called.
quickfoot replied on at Permalink Reply 1 Attachment
I'm having the same issue. So in Chrome I ran the elements tab and get the following in the ccm.app.js in the js file in tools updates folder for 5.6.0.2

See the attached file. I have no idea how to fix this one.
mramberg replied on at Permalink Reply
Has anyone found a resolution to this issue? I cant seem to use this product after day 1 of trying.
mhawke replied on at Permalink Reply
mhawke
There are many, many causes of this problem because it almost always comes down to a JavaScript or PHP error killing the page before the toolbar gets a chance to get rendered. Here's how I find these errors:

Right-click on the page and choose "Inspect Element" and then click on the "Console" tab along the bottom. JavaScript errors will show up there.

To see any PHP errors, first you need to make sure concrete5 is set to actually display PHP errors by visiting:

http://www.your-domain.com/index.php?cID=92...

and setting it to 'Show errors on page'. Then return to your site and right-click on the broken page and choose "View page source". Scroll down to the bottom to see if any error message has been spit out.

If you can get to the dashboard at all, you can go to the 'Full Sitemap' and find the broken page and click on it and choose 'Versions' and keep deleting the recent versions until the page works again.

If you can't get to the dashboard and sitemap the usual way try putting this in your browser:

http://www.your-domain.com/index.php?cID=7...
kevin001 replied on at Permalink Reply
kevin001
I recently updated an old version following a C5 how-to. I made the necessary code updates. The Dashboard shows fine but when I'm in the site to edit the bar is blank. I cruised the forums and have found no solution.
mhawke replied on at Permalink Reply
mhawke
Put the page into edit mode and then hit CTRL+SHIFT+J and then choose the "Console" tab. Are there any errors showing?
kevin001 replied on at Permalink Reply 1 Attachment
kevin001
I did this and I got some "Not Defined/Undefinded" errors. I haven't seen this before and I don't know what they are.
mhawke replied on at Permalink Reply
mhawke
What does it say if you click 'Warnings' instead of 'Errors'
kevin001 replied on at Permalink Reply 1 Attachment
kevin001
There is a huge list of warnings, all pointing to the concrete5.6.1.2_updater folder. I attached the the first part of the messages.
mhawke replied on at Permalink Reply
mhawke
Yeah, sorry, that was a dumb suggestion. Those are just CSS warnings.

The 'Console' I want you to use can be accessed by right-clicking anywhere on the page and choosing 'Inspect Element' then clicking the 'Console' tab. What is shown when you do that?
kevin001 replied on at Permalink Reply
kevin001
Here is the toolbar code. I have JavaScript turned on and tried the site in IE and Chrome also with similar results. I wonder if the updates didn't go through correctly.

<div id="ccm-page-controls-wrapper"><div id="ccm-toolbar"></div></div><script src="/~turnkez3/lchd/index.php/tools/required/i18n_js" type="text/javascript"></script><script src="/~turnkez3/lchd/updates/concrete5.6.1.2_updater/concrete/js/jquery.rating.js?v=8f4f2898a2223859a3e73b61e0543b28" type="text/javascript"></script><script src="/~turnkez3/lchd/updates/concrete5.6.1.2_updater/concrete/js/bootstrap.js?v=8f4f2898a2223859a3e73b61e0543b28" type="text/javascript"></script><script src="/~turnkez3/lchd/updates/concrete5.6.1.2_updater/concrete/js/tiny_mce/tiny_mce.js?v=8f4f2898a2223859a3e73b61e0543b28" type="text/javascript"></script><script src="/~turnkez3/lchd/index.php/tools/required/page_controls_menu_js?cID=1&cvID=&btask=&ts=1376495905" type="text/javascript"></script><script type="text/javascript"></script><div id="ui-datepicker-div" class="ui-datepicker ui-widget ui-widget-content ui-helper-clearfix ui-corner-all"></div>
kevin001 replied on at Permalink Reply
kevin001
Doing some more looking I noticed a line of code I haven't seen before located in root>config>site.php

<?php ?><?php define('DIRNAME_APP_UPDATED', 'concrete5.6.1.2_updater');?>
mhawke replied on at Permalink Reply
mhawke
This is all normal...

Could you please tell me what it says when you edit a page in Chrome and right-click anywhere on the page and choose 'Inspect element' and choose the 'Console' tab?
SheldonB replied on at Permalink Reply
SheldonB
From what version did u update from ?
You should post the errors but in a code tag so they don't stretch forever

Allot of people that have run into this problem is because of a custom theme missing a header or footer element that could have worked before
kevin001 replied on at Permalink Reply
kevin001
To answer both questions. In Chrome I have the following errors:
Uncaught TypeError: Cannot read property 'dialog' of undefined ccm.app.js?v=8f4f2898a2223859a3e73b61e0543b28:3
Uncaught ReferenceError: tinyMCE is not defined 66.147.244.108/~turnkez3/lchd/:348
Uncaught ReferenceError: ccm_setupAdvancedSearch is not defined ccm.app.js?v=8f4f2898a2223859a3e73b61e0543b28:2


The old version was 3.3.8.1. I used the documented suggestions to update the versions.http://www.concrete5.org/documentation/how-tos/developers/manually-...

I have double checked both my footers and my headers and they seem fine.
mhawke replied on at Permalink Reply
mhawke
Thanks for the detailed error messages.

When your page is in edit mode, right-click on the page and choose 'View source'. If you scroll down to the bottom of that output, is there any php errors? Can you get to your dashboard?

If not, try getting through from here:

http://66.147.244.108/~turnkez3/lchd/index.php/dashboard...
kevin001 replied on at Permalink Reply
kevin001
Dashboard works fine, that's why I'm so confused.

Looking at the View Source, the bottom of the page shows normal. I cross referenced to other C5 sites I have, and I have over 20.
<div id="ccm-page-controls-wrapper"><div id="ccm-toolbar"></div></div>
<script type="text/javascript" src="/~turnkez3/lchd/index.php/tools/required/i18n_js"></script>
<script type="text/javascript" src="/~turnkez3/lchd/updates/concrete5.6.1.2_updater/concrete/js/jquery.rating.js?v=8f4f2898a2223859a3e73b61e0543b28"></script>
<script type="text/javascript" src="/~turnkez3/lchd/updates/concrete5.6.1.2_updater/concrete/js/bootstrap.js?v=8f4f2898a2223859a3e73b61e0543b28"></script>
<script type="text/javascript" src="/~turnkez3/lchd/updates/concrete5.6.1.2_updater/concrete/js/tiny_mce/tiny_mce.js?v=8f4f2898a2223859a3e73b61e0543b28"></script>
<script type="text/javascript" src="/~turnkez3/lchd/index.php/tools/required/page_controls_menu_js?cID=1&cvID=&btask=&ts=1376512177"></script>
</body>
</html>
kevin001 replied on at Permalink Reply
kevin001
The only difference is the reference to updates/concrete5.6.1.2_updater.

I have a couple other sites running 5.6.1.2. they were not upgrades. and they don't have this.
mhawke replied on at Permalink Reply
mhawke
That's normal if you upgrade through the dashboard. The entry in the site.php you mentioned earlier points C5 to this 'upgrade' folder. I don't think that's the issue.

You say you upgraded from 3.3.8.1 but I'm not sure if that's possible. Can you double check what the old version was?
kevin001 replied on at Permalink Reply
kevin001
That is correct. I manually upgrade to 5.4.2.2, from there I upgraded through the dashboard.
SheldonB replied on at Permalink Reply
SheldonB
was there an edit bar in 5.4 ? there's allot of post about funny things happening when jumping to 5.6

I would go back to 5.4.2.2 then go to the download page and slowly update the site manually
Adreco replied on at Permalink Reply
Adreco
Hi Kevin001,

I just noticed you updated from 3.3.8.1?
The themes from that old of a version didn't include the ""footer required statement". This is required or your edit bar won't show. I believe you need to have Loader::element('footer_required'); just before the closing tag in your default.php (edit: in your elements> footer.php file just before the closing body tag)
Could you check your theme?

Adrian
Arvixe Web Hosting / Concrete5 Community Liaison |
http://www.arvixe.com/concrete5_hosting.............
kevin001 replied on at Permalink Reply
kevin001
I started with manually upgrading to 5.4.2.2. From there I used the CMS to upgrade. I made the appropriate code changes, including
<?php Loader::element('footer_required'); ?>
</body>
</html>

at the end.
kevin001 replied on at Permalink Reply
kevin001
Any more ideas?
mhawke replied on at Permalink Reply
mhawke
When I had access to your site last week, I tried swapping themes to determine if this is theme-related and unfortunately the same problem exists on all the themes I tried which tells me it's core related. Also, there doesn't appear to be any 'overrides' that could be causing this either. If this were my system, I'd install a new empty site and then install your theme and then 'cut'n paste' my way to happiness. IMHO, it would take less time than trying to find the problem.
kevin001 replied on at Permalink Reply
kevin001
I tried the same thing, specifically the Green Salad Theme and the Dark Chocolate theme. They both had the edit bar when signed in.
mhawke replied on at Permalink Reply
mhawke
Really? Humm... I swapped themes on just the Staff page and I still had no edit bar. I didn't do a wholesale swap because it's not my site.

If that's the case then perhaps the client wants to upgrade their theme ;-)
kevin001 replied on at Permalink Reply
kevin001
When I tried it I did site wide.

I'll give your previous suggestion a try and see what happens.
demispatti replied on at Permalink Reply
Hi there
Altough this thread is older, there might still be people having trouble with the edit toolbar not showing up.

I am not sure if it is any piece of advice, I can only report about the problem I had.
I upgraded to Twitter's bootstrap 3. After I finished the implementation, the dashboard was also gone. After rethinking my navbar, I found out that the "navbar-fixed-top"-class was what made the edit toolbar disappear. So disabling that feature while theme development is my solution to this problem.

I hope I could help

Demis
gewald replied on at Permalink Reply
gewald
I started having this problem recently and I tracked down the culprit to a content block of Page List that points at my blog entries. Some of the summaries that load include images that are actually pop ups built with the PUG add-on. If I cycle through the pages of entries to one that doesn't have images in it the edit and dashboard tool bar reappears. Each of the PUG elements point to 15-30 additional images which might create the file size issues you mentioned. If I change the page list format the controls return to views of the page that previously didn't have them.
gewald replied on at Permalink Reply
gewald
I also had started to get error messages about the MyEbay tool bar in safari. I cleared cache a couple of times and restarted Safari but that didn't help.
marcus30 replied on at Permalink Reply
I had a similar issue with the PageList and images. Check the permissions on the file directory of your project folder. Also, make sure all enclosed items have the correct permissions as well.

UPDATE
Scratch that. It was an issue with Yosemite's built-in PHP not supporting .png out of the box.