What's up with my header all the sudden???



  • Hello,

    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.


  • Global Moderator

    It due to the skins messing up. You need to upgrade to the latest v1.7.x.



  • 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....


  • Global Moderator

    @todd did you try disabling skins entirely?

    There's more information here:

    https://community.nodebb.org/topic/11875/skin-display-issue-noskin



  • @PitaJ ok that's useful info thanks... Question... User @Trulore said this:

    @trulore said in Skin display issue (noskin):

    Thanks guys!

    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.


  • Global Moderator

    Did you read through the thread?

    @pitaj said in Skin display issue (noskin):

    Just FYI, you don't need to run manual changes. You can just git pull now 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

    dangerusslee created this issue in NodeBB/NodeBB

    closed Some bootswatch skins broken #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.


 

Suggested Topics

| |