something before .domain not working anymore

Technical Support

Suggested Topics


  • 0 Votes
    26 Posts
    1k Views

    No it goes in library.js since it's a server side hook. And you need to add the corresponding entry in plugin.json.

    // library.js myPlugin.filterMiddlewareRender = async (hookData) => { hookData.templateData.user = await user.getUserData(hookData.req.uid); return hookData; }; //plugin.json "hooks": { "filter:middleware.render": "filterMiddlewareRender" ... }
  • 0 Votes
    18 Posts
    5k Views

    @pitaj yes, I tried ./nodebb build several times, but I always used ./nodebb dev to start.

    I tried it once more as you said. ./nodebb start aborted with the message to run ./nodebb upgrade. After the upgrade and another ./nodebb start I can post and answer again! 😄

    I don't know why an how, but it works again. hopefully not only for a short time. 😉

    Thanks for you help!

  • 0 Votes
    5 Posts
    2k Views

    EDIT: Restarted NodeBB and Bold and Italic are back!!

    Thanks, Len

    @nhl.pl These are the plugins that I am using:

    0_1457401146620_upload-c206d29f-f5fa-4bcf-b802-7e6d6b80a877

  • 0 Votes
    2 Posts
    1k Views

    SOLVED

    Just in case anyone else runs into a similar problem, I was looking at the wrong api urls to get what I needed.

    I needed to be getting JSON from the topic data, rather than category or post. Most everything is working now.

    😤

  • 0 Votes
    10 Posts
    4k Views

    Nope i deleted the corrupted install, the only thing i have is the content of my output.log which i posted earlier.

    There was this error :

    TypeError: Parameter 'url' must be a string, not undefined

    this error was repeating itself 3 or 4 times then the server crashed.