Toolbar problem following 5.5.2.1
Permalink
Let me start by saying this is not the typical "theme is missing the '<?php Loader::element('footer_required'); ?>' line in the template body" issue. Already ruled that one out.
What's happening is, after applying the 5.5.2.1 update - it went smoothly, no errors - some of the pages display the C5 toolbar just fine, and everything functions normally on those pages. But *some* - not all - of the pages only show the background of the toolbar, but no controls. (See the attached screen shots.)
I don't think the problem is with the theme, because pages that do show the controls have the same page types as some of the pages that do not show the controls. I also tried setting a non-working page to the same page type as a working page, and there was no change. (FYI, the theme this site is using is a slightly customized version of the plain yogurt theme from ver 5.4.1.)
When comparing the html between working and non-working pages, I find on the non-working pages,
is empty. It's missing the divs that have the controls.
I'll keep digging and post anything else I discover, meanwhile I'd appreciate any input you're willing to share.
What's happening is, after applying the 5.5.2.1 update - it went smoothly, no errors - some of the pages display the C5 toolbar just fine, and everything functions normally on those pages. But *some* - not all - of the pages only show the background of the toolbar, but no controls. (See the attached screen shots.)
I don't think the problem is with the theme, because pages that do show the controls have the same page types as some of the pages that do not show the controls. I also tried setting a non-working page to the same page type as a working page, and there was no change. (FYI, the theme this site is using is a slightly customized version of the plain yogurt theme from ver 5.4.1.)
When comparing the html between working and non-working pages, I find on the non-working pages,
<div id="ccm-toolbar>...</div>
is empty. It's missing the divs that have the controls.
I'll keep digging and post anything else I discover, meanwhile I'd appreciate any input you're willing to share.
It was at 5.4.2.2 prior to the upgrade. The site was originally built with 5.4.1. Checking on javascript errors...
Thanks for reminding me to check that. The non-working pages are throwing 2 javascript errors:
$.widget is undefined
ccm_activateToolbar is not defined
$.widget is undefined
ccm_activateToolbar is not defined
I did some follow-up on these errors, and it's looking more likely they could be caused by outdated add-ons. I'm going to pursue that first, then if that hasn't cleared this up, I'll pursue this more directly at that point.
Thanks for your help!
Thanks for your help!
Have you found something?
I've the same problem and cannot figure it out what is the cause of it. :-(
I've the same problem and cannot figure it out what is the cause of it. :-(
Could not find any soulution, but rm-ing 'Blog archive' page and creating a new one from the scratch, fixed it.
It turned out I just needed to update eCommerce and one other add-on installed on this site. The problem cleared up as soon as I updated the eCommerce add-on. Not sure why that would have affected the toolbar, but since I already knew I was going to have to update the add-ons anyway, I guess it should have been an obvious thing to try.
Are there any script errors showing in the Developer Console? The most likely thing to cause thus is a JavaScript error halting JavaScript before the toolbar renders.