Skin switch on persona theme not working

Technical Support
  • Hi guys,

    I'm running the latest version of nodebb ie 1.11.0.
    I have trouble with the bootswatch theme for now, I can select the theme but only the default skin can be selected (the white one).

    Every time I reach ACP then Appearance -> Skins and try to select a new skin, I got the success popup but the skins is never applied.

    Already looked through the logs, started nodebb with debug aswell to have more intel but without luck.

    The only thing I have is from the Chrome dev console, and appears as soon as I click the "Skins" item under Appearence menu.

    Uncaught TypeError: Cannot read property '1' of null
        at skins.js?v=bmgmjnl3vjq:1
    (anonymous)	@	skins.js?v=bmgmjnl3vjq:1
    setTimeout (async)		
    (anonymous)	@	translator.js?v=bmgmjnl3vjq:1
    Promise.then (async)		
    e	@	translator.js?v=bmgmjnl3vjq:1
    (anonymous)	@	skins.js?v=bmgmjnl3vjq:1
    setTimeout (async)		
    (anonymous)	@	benchpress.js:224
    Promise.then (async)		
    l	@	benchpress.js:223
    e.render	@	skins.js?v=bmgmjnl3vjq:1
    l	@	jquery.js:3268
    fireWith	@	jquery.js:3398
    T	@	jquery.js:9305
    (anonymous)	@	jquery.js:9548
    load (async)		
    send	@	jquery.js:9567
    ajax	@	jquery.js:9206
    e.init	@	skins.js?v=bmgmjnl3vjq:1
    (anonymous)	@	ajaxify.js:261
    execCb	@	require.js:29
    check	@	require.js:18
    (anonymous)	@	require.js:22
    (anonymous)	@	require.js:7
    (anonymous)	@	require.js:23
    y	@	require.js:6
    emit	@	require.js:23
    check	@	require.js:19
    enable	@	require.js:23
    init	@	require.js:16
    h	@	require.js:13
    completeLoad	@	require.js:28
    onScriptLoad	@	require.js:29
    load (async)		
    g.load	@	require.js:34
    load	@	require.js:29
    load	@	require.js:17
    fetch	@	require.js:17
    check	@	require.js:17
    enable	@	require.js:23
    enable	@	require.js:27
    (anonymous)	@	require.js:22
    (anonymous)	@	require.js:7
    y	@	require.js:6
    enable	@	require.js:21
    init	@	require.js:16
    (anonymous)	@	require.js:26
    setTimeout (async)		
    g.nextTick	@	require.js:32
    l	@	require.js:26
    requirejs	@	require.js:32
    (anonymous)	@	ajaxify.js:259
    (anonymous)	@	ajaxify.js:272
    ajaxify.loadScript	@	ajaxify.js:271
    ajaxify.end	@	ajaxify.js:205
    (anonymous)	@	ajaxify.js:191
    setTimeout (async)		
    (anonymous)	@	translator.js?v=bmgmjnl3vjq:1
    Promise.then (async)		
    e	@	translator.js?v=bmgmjnl3vjq:1
    (anonymous)	@	ajaxify.js:186
    setTimeout (async)		
    (anonymous)	@	benchpress.js:224
    Promise.then (async)		
    l	@	benchpress.js:223
    c	@	ajaxify.js:185
    (anonymous)	@	ajaxify.js:99
    success	@	ajaxify.js:312
    l	@	jquery.js:3268
    fireWith	@	jquery.js:3398
    T	@	jquery.js:9305
    (anonymous)	@	jquery.js:9548
    load (async)		
    send	@	jquery.js:9567
    ajax	@	jquery.js:9206
    ajaxify.loadData	@	ajaxify.js:286
    ajaxify.go	@	ajaxify.js:87
    a	@	ajaxify.js:359
    (anonymous)	@	ajaxify.js:419
    dispatch	@	jquery.js:5183
    g.handle	@	jquery.js:4991
    

    Thanks for the help ! 🙂

  • @krptg0 latest version is 1.11.1 I believe.

  • @PitaJ Yes I checked after, I'm on 1.11.1, thanks for the hint 🙂

  • @krptg0 did you just upgrade to 1.11.1? Did that fix the issue?

  • @PitaJ No I was on 1.11.1 since it's out, just forgot to mention it. I read somewhere that that was bootswatch API that changed thus restraining nodebb to reach it to retrieve skins.

    I wanted to change to a black screen because the light ones are so bright and none of the actual themes works...

  • @krptg0 what version of persona are you on?

  • @PitaJ 9.1.5, the latest !


Suggested Topics


  • Can't get Nginx to work

    Technical Support
    7
    0 Votes
    7 Posts
    765 Views

    @PitaJ said in Can't get Nginx to work:

    @Goldrush12 said in Can't get Nginx to work:

    I just tried that without success (yes, I made sure to restart NodeBB). Also, the developer mode doesn't fix the problem (contrary to what's stated in the linked thread).

    Okay, so it must be something else.

    I'm not sure if this has anything to do with the issue, but I had a few errors while setting up NodeBB initially, which I had to address.

    Wow, um, big red flag there. How did you install NodeBB in the first place? It may be wise to start from scratch and reinstall with correct permissions from the get-go. You absolutely should not use sudo to install or run NodeBB. The only installation-related things you need root access for are nginx configuration and maybe changing directory privileges before installing NodeBB.

    What OS are you installing NodeBB on? Are you following any tutorials or instructions?

    My OS is Ubuntu 18.04 and I followed a documentation from your website. I started from scratch and it's running fine now! I assume the guide I used must have been outdated, which led to some errors. I must say that it might make sense to clean up the documentary and make sure that only one version of the installation guide for every OS exists to avoid confusion.

    Thank you for your help! 🙂

  • 0 Votes
    9 Posts
    942 Views

    @pitaj Thank you. Will give it a test later

  • 0 Votes
    1 Posts
    684 Views

    I'm running the standard persona theme, and on mobile it's really unintuitive how to get to the title entry place (you have to tap on the main text entry and then use the up and down buttons on the keyboard to move to the field up above). Furthermore, the text color is the same as the background so you can't even tell you are typing. This seems to be a problem with the Yeti skin.

  • 0 Votes
    3 Posts
    1k Views

    Ok. Looks like it was because of a incompatible plugin. The plugin in my case was nodebb-plugin-reddcoin . Its fixed now. Though i can't use the reddcoin plugin. Was a nice plugin 👍

  • New from-scratch theme

    Moved Technical Support
    7
    1 Votes
    7 Posts
    4k Views

    Opened an issue. Getting rid of Bootstrap is currently close to impossible without modifying NodeBB.