Edit bar disappeared after upgrading to 5.5.0
Permalink
I don't upgrade very often because I always seem to run into trouble somewhere along the way. This time, the upgrade went smoothly, or so I thought. When I go to the login screen, that seems to work fine, but I no longer have the edit bar at the top. So I can't really tell if I'm logged in or not. My login does have administrative privileges.
Similar threads indicated to clear the cache - which I did both through Concrete 5 dashboard and Firefox. No change.
Other threads mention a javascript issue. I'm not a programmer and found these comments confusing in terms of how they actually fixed their problem.
Can anyone tell me what I need to do to get my edit bar back?
http://www.mtairylearningtree.org
Thanks for any help you can provide, especially over the holidays.
Similar threads indicated to clear the cache - which I did both through Concrete 5 dashboard and Firefox. No change.
Other threads mention a javascript issue. I'm not a programmer and found these comments confusing in terms of how they actually fixed their problem.
Can anyone tell me what I need to do to get my edit bar back?
http://www.mtairylearningtree.org
Thanks for any help you can provide, especially over the holidays.
Ack, I don't see it. Where is it (what line #)?
It says like 7333. :)
document.getElementById(...) is null
Thanks for your help, rainmaker, but I can't seem to find what you're seeing. This bit of code must be in the Concrete 5 files I just uploaded in the upgrade and is used all over the place. Any idea which file it's actually in.
Sorry for being dense, I only see like 145 lines of code when I click on View Page Source. So I know you're doing something differently to see more than 7000 lines of code.
Hang in with me just a little while longer, and I'm sure I'll get it!
Thanks :)
Sorry for being dense, I only see like 145 lines of code when I click on View Page Source. So I know you're doing something differently to see more than 7000 lines of code.
Hang in with me just a little while longer, and I'm sure I'll get it!
Thanks :)
In the source code I am not seeing the closing body or html tags
If they are missing, this will cause the page to not complete loading and the scripts for the edit bar will only load once the page has finished loading..
</body> </html>
If they are missing, this will cause the page to not complete loading and the scripts for the edit bar will only load once the page has finished loading..
Hey NToizer,
I would definitely do what Weyboat said. You need to make sure your code is closing properly.This has been a problem with some custom theme's as well. The work around I found for this was to put
This goes
just before the closing body tag and before the last div tag. I do that as a standard now since I am not sure if it ever got fixed. It was a really old issue but do those 2 things and let us know how it goes.
Hope that helps.
I would definitely do what Weyboat said. You need to make sure your code is closing properly.This has been a problem with some custom theme's as well. The work around I found for this was to put
<?php Loader::element('footer_required'); ?>
This goes
<?php Loader::element('footer_required'); ?> </div> </body> </html>
just before the closing body tag and before the last div tag. I do that as a standard now since I am not sure if it ever got fixed. It was a really old issue but do those 2 things and let us know how it goes.
Hope that helps.
I've been comparing the default.php, footer.php, and header.php from Concrete's default theme and my own. The closing /body and /html tags are in the footer.php file.
The default theme had this line at the end:
So I've added that to my default.php file. No change in my issue.
I have the suggested footer_required piece in the footer.php file, as it is in the default theme's footer.php file.
The website was all good before the upgrade, so it doesn't seem as likely (to me) to be my theme's files...
What would happen if I upgrade again to 5.5.2.1? Any chance the issue I'm having could have been fixed in a later update?
The default theme had this line at the end:
<?php $this->inc('elements/footer.php'); ?>
So I've added that to my default.php file. No change in my issue.
I have the suggested footer_required piece in the footer.php file, as it is in the default theme's footer.php file.
The website was all good before the upgrade, so it doesn't seem as likely (to me) to be my theme's files...
What would happen if I upgrade again to 5.5.2.1? Any chance the issue I'm having could have been fixed in a later update?
I'm going to need to update the home page this week and still haven't been able to get the edit bar back. I now have the grey bar at the top, but no actual "Edit page" or "Dashboard" buttons on top.
Please, ANY suggestions would be welcome!
Please, ANY suggestions would be welcome!
So let me see if I can get this straight, you placed the
In the footer and you are now including it? Because like weyboat said above, I'm not seeing a </body></html> at the bottom. Are you sure you are calling the footer in the PHP page type file?
<?php Loader::element("footer_required"); ?>
In the footer and you are now including it? Because like weyboat said above, I'm not seeing a </body></html> at the bottom. Are you sure you are calling the footer in the PHP page type file?
OH! Try clearing your cache too.
When I look at Concrete's own default theme files, I have mimicked those for these bits of code.
is in their footer.php file. And it had been in my footer.php file before the upgrade.
is in their default.php file. This line had NOT been in my default.php file but it is now.
I see what you're saying! I only changed that line in default.php, not all the different page types (home_page.php, left_sidebar.php, and three_column.php). That has made the difference.
Thank you ALL for your help! (sigh of relief)
<?php Loader::element('footer_required'); ?>
is in their footer.php file. And it had been in my footer.php file before the upgrade.
<?php $this->inc('elements/footer.php'); ?>
is in their default.php file. This line had NOT been in my default.php file but it is now.
I see what you're saying! I only changed that line in default.php, not all the different page types (home_page.php, left_sidebar.php, and three_column.php). That has made the difference.
Thank you ALL for your help! (sigh of relief)
Thanks!