Installing Upgrade Results in no Toolbar

Permalink
Hi all,

New here and not the best with knowledge on C5, but plenty of bespoke PHP/JS knowledge. I've tried solving this issue but to no avail..

Site was 5.4.2.2, with the older looking dashboard, working fine and no issues - however jquery was on a very very old version meaning any edits i did or any JS scripts i added didn't work. Tried updating jquery manually and didn't work at all - caused more errors.
So i decided to update the site to 5.5.2.1, now the toolbar at the top doesn't work and doesn't display. There are no errors, I have the Loader::element's in both header and footer, and have checked (i think) every post on Concrete5 to look for an answer.

The design of the site is real simple, and there are so few extra scripts that could cause a clash. The space at the top of the page is there for the toolbar, but none of the scripts and none of the html is loaded for it.
I have gone to check that there were no issues with outdated plugins but can't find out - the original developer has left and I now can't update the plugins used.. (Side question, is there a process to claim access to a project with a new account? I have access to the site and can prove it via FTP with files..?)

Any ideas what i can do? How can i check where the toolbar is going wrong?

***Edit: Ive just noticed a lot of the javascript *inside* the dashboard doesn't work either***
Does this lead to any other thoughts about this error?

Cheers

 
WebcentricLtd replied on at Permalink Reply
sounds like you've been doing all of the right things - the edit bar disappearing is normally symptomatic of javascript clashes or the footer scripts not being included.

Do you have any overrides in the root directory folders? Elements etc?

Does a console view in Chrome show you anything?
zircom replied on at Permalink Reply
Thanks for such a quick reply Andy. My console is always open, there is nothing in there on any page of the site.
The only thing i've noticed is some other JS things not working on other pages, but no clashes - however these are things like the accordion, which is part of C5, so i'm guessing that's just an out-of-date plugin?

Overrides meaning what, exactly?

***Edit: I've just noticed a lot of the javascript *inside* the dashboard doesn't work either***
WebcentricLtd replied on at Permalink Reply
sorry - rather than change core files in Concrete5 we override base functionality by copying the file into the corresponding root level directory and make our changes there - so the core never actually changes.

For example you will notice you have a file:

/siteroot/concrete/elements/header_required.php

as well as a bunch of other files - if you wanted to override this file you'd copy it to

/siteroot/elements/header_required.php

and use that for your changes.

I once had exactly the same upgrade issue as you (was quite a while ago though) because there was an override and the base file changed enough between versions to cause it.
zircom replied on at Permalink Reply
Dashboard doesn't work either.. Full Sitemap gives errors
On front page i get a an "Uncaught TypeError: undefined is not a function" on line 33, although there's no code on line 33.
The code just below is to do with the background image rotator?

Kinda feels like the update hasn't completed and is missing most of the core files..
WebcentricLtd replied on at Permalink Reply
just read this after my last post.

How did you do the upgrade?
Did you back up the database beforehand?
zircom replied on at Permalink Reply
I'll just reply to this part instead of both.
Yeah, both header and footer have overrides in elements/

Also, updated through the Dashboard, and yeah i've got a fair few database backups that i've done manually so can easily roll back
WebcentricLtd replied on at Permalink Best Answer Reply
I'd grab a copy of the header_required.php and the footer_required.php that are in the siteroot/elements/

put them in a safe place on your PC and then remove them.

Just to be clear these files are in siteroot/elements and not the ones under the concrete directory.
zircom replied on at Permalink Reply
Ahh, there aren't any files called header_required / footer_required sorry, it's just header and footer.
I could remove the header and footer php files, but i'd have no styles etc.
WebcentricLtd replied on at Permalink Reply
sounds like you are looking in the wrong place anyway.
You'll normally see header.php, footer.php in the elements folder under your themes directory.

I meant the folders right in the root of your site - not under themes.
zircom replied on at Permalink Reply
Aha! My bad..
Yeah it was a tiny tiny file causing this much problems! a couple of lines of code related to site_tracking - i'm not sure of the implications of this yet, but i'll be sure to do some testing.

Well it's got the Toolbar back for a start and the dashboard now fully works!

amazing how such a small bit of code can cause such an issue.

Thank you so much mate :) much appreciated! This has been causing me headaches for a few work days now haha