Edit Bar

Permalink
I updated our website to the most recent concrete 5. Everything prior to the upgrade was working just fine. Now after the upgrade I can't edit my pages. I'm missing the edit button on the toolbar, I'm actually missing all the buttons on the tool bar. I did some research and thought it might be the code, however once I was able to access the code on my custom themes everything looked fine. I'm completely lost. We used a third party to set up our website and i do all the updates. If anyone could help it would be much appreciated.

 
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
Try clearing your site cache.

Go to Dashboard > System & Settings > Optimization > Clear Cache

or go to http://YOUR-DOMAIN-HERE/index.php/dashboard/system/optimization/cle...
katelyn126 replied on at Permalink Reply
Tried that. Didn't work. Any other suggestions?
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
What was the previous version that you updated from, and what steps did you take to perform the update?
katelyn126 replied on at Permalink Reply
I can't remember, but i believe it was 5.6
mhawke replied on at Permalink Reply
mhawke
Is there a live URL we could look at?
mhawke replied on at Permalink Reply
mhawke
Is there a live URL we could look at?
katelyn126 replied on at Permalink Reply
Bear with me.. the live url ishttp://www.svdesign.com
mhawke replied on at Permalink Reply 1 Attachment
mhawke
It appears your site remains on version 5.5.2.1. See attached screencap of your source code.

When you say you 'upgraded to the most recent version of concrete5' do you mean through the Dashboard or did you try to download and install (via FTP) the newest version because the newest version is 5.7 and it's not compatible with sites built in 5.5 or 5.6.

After you log in and are sitting on a page with the blank Toolbar, try hitting CTRL+SHIFT+'J' (in Chrome or Firefox) to open the JavaScript console to check for errors. An empty toolbar is almost always some sort of JavaScript conflict.
katelyn126 replied on at Permalink Reply
Yes, I updated from the dashboard. Would have been nice to know it wouldn't have been compatible prior to the update. I really only know the basics of websites, so its my own fault.

So what now? Is there a way to undo the update and just go back to what we were using before?
mhawke replied on at Permalink Reply
mhawke
I don't believe the Dashboard will offer to upgrade your site to 5.7 so I don't think you have seriously broken anything.

Have you tried the CTRL+SHIFT+J to see what errors exist?
katelyn126 replied on at Permalink Reply 1 Attachment
I did the control shift and i attached a screen shot of what I get. Not sure what I need to look for.
mhawke replied on at Permalink Reply
mhawke
Those look like Firefox errors for a broken extension or plug-in.

Can you click on the JS tab to limit the error reporting to just the JavaScript errors?
katelyn126 replied on at Permalink Reply 1 Attachment
Attached isis a screen shot with just the JS
mhawke replied on at Permalink Reply
mhawke
I'm afraid that's not very helpful. Can you open your site in Chrome and do the same CTRL+SHIFT+J thing?
katelyn126 replied on at Permalink Reply
When I try to do control shift J within google chrome it only opens a download folder.
mhawke replied on at Permalink Reply
mhawke
CTRL +J opens the download folder. Do you have a broken Shift key?

You can also right-click anywhere on the page and choose 'Inspect Element' and then choose the 'Console' tab..
goodnightfirefly replied on at Permalink Reply
goodnightfirefly
On Mac it would be Command + Shift + J I think
katelyn126 replied on at Permalink Reply 1 Attachment
Got it. Had to do the right click to the console tab, not sure why the command shift isn't working.

Attached is the screenshot of what comes up. Does this mean anything?
mhawke replied on at Permalink Best Answer Reply
mhawke
Ok I think I know what's happened.

Your theme was pre-version 5.5 and so it's missing the call to the footer_required.php file where the toolbar gets created that was introduced in version 5.5..

You will need to add the following line in your theme file just above the closing </ body > tag.
<?php   Loader::element('footer_required'); ?>
mhawke replied on at Permalink Reply
mhawke
On a separate issue... I think you need to compress the JPGs in your gallery and/or remove some of the images because your homepage is 14MB in size and that is huge. I'm on a slow internet connection and your homepage takes over a minute to load.
katelyn126 replied on at Permalink Reply
It actually worked. Took some time to find the actual file to put the line in, but the toolbar is finally there.

Thank you so much! You don't know how much time I have spent on this trying to figure it out.

Thanks for the tip about the homepage, I'll definitely look into that. Can't have a slow website!
mhawke replied on at Permalink Reply
mhawke
Glad I could help.

tools.pingdom.com is very helpful in showing you where the slowdowns are on your page.
PJSAndo replied on at Permalink Reply
Hello,
I have the same problem. The top admin/edit bar has gone from one of my pages.
Here's a link to the pagehttp://gotimetrekkers.com/concrete5/tour/test2...

Any ideas would be greatly appreciated!