Some Errors? not too sure from where

Bug Reports
  • Running nodebb in DEV mode.

    info: [sounds] Sounds OK
    info: [meta/templates] Compiling templates
    info: [meta/css] Done.
    info: [meta/css] Committing stylesheet (acpCache) to disk
    info: [themes] Successfully compiled templates.
    info: [meta/css] Stylesheet (acpCache) committed to disk.
    info: [meta/css] Done.
    info: NodeBB Ready
    info: [meta/css] Committing stylesheet (cache) to disk
    info: [meta/css] Stylesheet (cache) committed to disk.
    info: [socket] uid 2 (2FKHz_g096oufKXdvIY2) has successfully reconnected.
    info: [meta/js] Successfully minified.
    info: [meta/js] Retrieved Mapping.
    info: [meta/js] Compilation complete
    info: [meta/js] Committing minfile to disk
    info: [meta/js] Client-side minfile and mapping committed to disk.
    info: [socket] uid 2 (kQgkpF287hU_-w6jvIY0) has successfully reconnected.
    info: [socket] uid 1 (G_Zepx_8d0udkYHSvIY1) has successfully reconnected.
    info: [socket] An anonymous user (-zSWcSXEHEOjH0BcvIY3) has successfully reconnected.
    warn: Route requested but not found: /vendor/jquery/timeago/locales/[email protected]?=1413274724219
    info: [Auth] Session JUciTIkJCTuhvViaSPia41LDGsNxQk3v logout (uid: 2)
    warn: Route requested but not found: /vendor/jquery/timeago/locales/[email protected]?
    =1413274737162
    warn: Route requested but not found: /api/admin

    Error: invalid csrf token
    at verifytoken (/srv/forums-gameredge/node_modules/csurf/index.js:234:13)
    at csrf (/srv/forums-gameredge/node_modules/csurf/index.js:94:7)
    at Layer.handle [as handle_request] (/srv/forums-gameredge/node_modules/express/lib/router/layer.js:76:5)
    at next (/srv/forums-gameredge/node_modules/express/lib/router/route.js💯13)
    at Route.dispatch (/srv/forums-gameredge/node_modules/express/lib/router/route.js:81:3)
    at Layer.handle [as handle_request] (/srv/forums-gameredge/node_modules/express/lib/router/layer.js:76:5)
    at /srv/forums-gameredge/node_modules/express/lib/router/index.js:227:24
    at Function.proto.process_params (/srv/forums-gameredge/node_modules/express/lib/router/index.js:305:12)
    at /srv/forums-gameredge/node_modules/express/lib/router/index.js:221:12
    at Function.match_layer (/srv/forums-gameredge/node_modules/express/lib/router/index.js:288:3)

    at the front end, my admin user is attempting to access the category section in acp
    categories.png

  • @Silvina upgrade all themes and plugins this is the most common fix for this kind of issue. Also if you are using a theme which is derived from any other theme like vanilla or lavendar then upgrade your theme with latest code of the original theme as well.

  • Resize the window in the categories page, do they appear when you make the window smaller? If so, this was fixed in an update recently.

  • @vatsal i have updated all the themes and plugins 🙂 It is still happening
    @a_5mith ?Just wondering if the fix is to 0.51 or 0.52 (dev)?

    I just pulled the latest 0.51 version, i am still encountering the same issue. It has to do with browser size, at full screen, or very small screen, i am able to see the categories, but as some odd resolution, the categories disappeared

  • @Silvina any recent changes would be in 0.5.2, however updating to that could lead to other issues with it being a dev version.

  • @Silvina said:

    Is it happening on ACP or front end?

  • @vatsal Luckily it is on ACP, doesn't impact the majority users 🙂

  • @Silvina at this url http://localhost:4567/api/admin/manage/categories/active do you see anything like

    "csrf": "f0TfO3Kb-MZ33i2Z6HBr###########rjH5wo",

  • @vatsal
    Yes

        {
            "topic_count": "0",
            "icon": "fa-coffee",
            "imageClass": "cover",
            "link": "",
            "bgColor": "#0059b2",
            "class": "col-md-4",
            "name": "Developers Hangout",
            "post_count": "0",
            "numRecentReplies": "2",
            "disabled": false,
            "slug": "20/developers-hangout",
            "order": "16",
            "cid": "20",
            "color": "#fff",
            "description": "pro·gram·mer (n) An organism capable of converting caffeine into code.",
            "backgroundImage": "",
            "unread-class": "",
            "children": [],
            "parent": null
        }
    ],
    "csrf": "lANmiuSd-################wnwI",
    "loggedIn": true
    

    }

  • @Silvina hmm.... its really weird, everything looks alright for you and even the error is occurring on ACP panel where no third party or external scripts load. This is really strange issue, wait for somebody from the nodeBB dev team to respond on this. I am sorry for not able to resolve this issue for you 😞

  • @Silvina The latest version of NodeBB (to be released to the v0.5.x branch today) should resolve the issues with the ACP not showing content.


Suggested Topics