What's up with my header all the sudden???
Todd last edited by Todd
So I came to my site one day and suddenly, the entire header/navbar area is completely out of whack. I have no idea how this happened because I didn't even touch any code up there or change any settings at all. Can someone point me to how to fix this? All it is is the default header with the small forum name... No images or anything. I do have Twitter cards code up there but I tried taking it out and that wasn't the problem.
You can see the problem on the forum: https://malwareanalysisforums.com/ Thanks.
Apologies if it's something simple... Been a while since I did web dev stuff.
It due to the skins messing up. You need to upgrade to the latest
I've upgraded and am still having this issues. Can you please elaborate on "skins messing up" because that is not enough info for me to troubleshoot this. I tried switching skins and that didn't help, upgrade and restarting the forum, that didn't help. I'm just not sure what the problem is since I never customized anything related to themes or skins....
@todd did you try disabling skins entirely?
There's more information here:
Changing the bootstrap url from "/latest" to "/3.3.7" in two places (src/client/account/settings.js and src/middleware/header.js) gave us an immediate fix to this problem.
And just random kudos for how easy it is to find and fix things in NodeBB. Definitely my favorite forum software!
I didn't have a /src/client/account/settings.js file but I did change my src/middleware/header.js file and its FIXED!!
Now, is this a hackish workaround that's going to break soon or is this actually a good fix for the problem? Thanks.
Did you read through the thread?
Just FYI, you don't need to run manual changes. You can just
git pullnow that we've released a hotfix (as long as you're on v1.7.x).
Also check the issue on Github, you need to have updated to at least v1.7.5: https://github.com/NodeBB/NodeBB/issues/6306
I don't even know how to view my current version... Looked in the admin panel and on ssh I type ./nodebb --version or version and nothin.
After that, I can establish whether I need any further upgrades or not but as it stands, I did a ./nodebb upgrade which was successful.
I'm going to also have to check and see if I had used GitHub to get NodeBB to begin with, I can't remember if I did.