Hotlink images to the Nodebb wall?

Technical Support

Suggested Topics


  • 0 Votes
    15 Posts
    199 Views

    @tankerkiller125 Very strange. I'm using the latest version of highlight.js with my own functions I provided, and everything works as intended. I had an issue before where basic text was being detected as bash for example, meaning every word almost was a different colour!

    Now I've disabled the Markdown version and implemented my own, it looks so much better. I'm using a theme switcher I wrote so that when themes change, it also pulls the highlight.js theme css file.

  • 0 Votes
    4 Posts
    356 Views

    @pitaj and @baris , thanks for your help.

    @baris adding --series did let the image finish building, but then it would get the error when running with ./nodebb start

    @pitaj, I changed the pgBouncer (connection pool) to "session" mode instead of "transaction" mode in the DigitalOcean settings and that seems to have allowed it to eventually run.

    I say "eventually" run because the first time I tried after making the change I got this error:

    error: error: prepared statement "getSortedSetRangeWithScoresAsc" already exists

    the second time I got this error:

    error: error: prepared statement "getObject" already exists

    and the third time it ran successfully!

    At this point I have started and stopped the docker image a couple times and it seems to be stable.

    Thanks for your help guys!

  • 0 Votes
    3 Posts
    313 Views

    @jtsimoes You are really nice!

  • 0 Votes
    1 Posts
    745 Views

    Hey,
    I have a problem after updating my forum to version 1.4.5 (from 1.4.2)
    The Problem is user cant login to there account.

    nodebb LOG:
    17/3 12:47:48 [21825] - warn: [deprecated] Accessing stylesheet.css from / is deprecated. Use /assets/stylesheet.css to access this file.
    17/3 12:47:48 [21825] - warn: [deprecated] Accessing nodebb.min.js from / is deprecated. Use /assets/nodebb.min.js to access this file.
    17/3 16:22:13 [21825] - warn: [deprecated] Accessing stylesheet.css from / is deprecated. Use /assets/stylesheet.css to access this file.
    17/3 16:22:13 [21825] - warn: [deprecated] Accessing nodebb.min.js from / is deprecated. Use /assets/nodebb.min.js to access this file.
    17/3 16:24:33 [21825] - warn: [deprecated] Accessing vendor/fontawesome/fonts/fontawesome-webfont.woff2 from / is deprecated. Use /assets/vendor/fontawesome/fonts/fontawesome-webfont.woff2 to access this file.
    17/3 16:24:58 [21825] - error: /login
    invalid csrf token

    Chrome DEV Log: WebSocket connection to 'wss://showgaming.de/socket.io/?EIO=3&transport=websocket&sid=theid....' failed: Error during WebSocket handshake: Unexpected response code: 404

    When you are already logged in evrything works fine, else comes a session expired invalide csrf token by login.
    I hope someone can help me with that problem,
    Have a nice day,
    Ezamik

  • nodebb on heroku

    Technical Support
    0 Votes
    2 Posts
    960 Views

    I've been trying to do this. I used git add config.json before pushing and that worked. Started the app from the console. It starts, connects to the db, says NodeBB is now listening on: 0.0.0.0:58466 Great.

    But I'm stuck there, I do heroku open and no dice. Application Error. Logs say App crashed, code=H10

    I don't understand this heroku thing. Maybe you'll have better luck after pushing that config.json.