• Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
v3.5.2 Latest
Buy Hosting

Why when i install plugin nodebb-plugin-dbsearch on nodebb v0.5.5 error

Scheduled Pinned Locked Moved NodeBB Plugins
12 Posts 5 Posters 4.3k Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Le Binh
    wrote on last edited by Le Binh
    #1

    nodebb.png

    1 Reply Last reply
    0
  • A Offline
    A Offline
    a_5mith
    wrote on last edited by
    #2

    What version of the plugin are you using?

    1 Reply Last reply
    0
  • julianJ Offline
    julianJ Offline
    julian GNU/Linux
    wrote on last edited by
    #3

    npm i [email protected]

    1 Reply Last reply
    0
  • L Offline
    L Offline
    Le Binh
    wrote on last edited by
    #4

    I using version 0.0.16 but this not working and error: TypeError: Cannot read property 'applyCSRF' of undefined in file nodebb-plugin-dbsearch/index.js at line
    params.router.get('/admin/plugins/dbsearch', params.middleware.applyCSRF, params.middleware.admin.buildHeader, renderAdmin);

    A 1 Reply Last reply
    0
  • A Offline
    A Offline
    a_5mith
    replied to Le Binh on last edited by
    #5

    @Le-Binh I don't think you are running 0.0.16 as params.middleware.admin.buildHeader, renderAdmin); is nodebb 0.6.0 specific and is in 0.1.0 of the dbsearch plugin only.

    Try uninstalling the dbsearch plugin first, then make sure you run the above command as is. You may need to reenable the plugin and restart nodebb.

    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    Le Binh
    replied to a_5mith on last edited by
    #6

    @a_5mith I using nodebb v 0.5.5
    upload-419bca1d-8cb1-47fa-b17d-c4fb0bda0791.
    I install dbsearch plugin
    upload-3f7c64ac-f9d4-4e2f-9b88-e4c9c39d6c89
    and start again is errored
    upload-811e75ae-80ec-423d-b608-c320dbafa766

    1 Reply Last reply
    0
  • S Offline
    S Offline
    Shaun
    wrote on last edited by Shaun
    #7

    @julian said:

    npm i [email protected]

    Actually, try:

    npm i [email protected]

    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    Le Binh
    replied to Shaun on last edited by Le Binh
    #8

    @Shaun said:

    @julian said:

    npm i [email protected]

    Actually, try:

    npm i [email protected]

    Thanks all, it worked

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #9

    No idea why but seems like 0.0.16 is nodebb 0.6.0 compatible instead of 0.5.x. I will try to fix that 0.0.15 should work in 0.5.x

    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    Le Binh
    replied to <baris> on last edited by
    #10

    @baris Which version nodebb-plugin-imgur must I use?

    1 Reply Last reply
    0
  • barisB Offline
    barisB Offline
    <baris> NodeBB
    wrote on last edited by
    #11

    For nodebb 0.5.x - 0.0.19
    For nodebb 0.6.x - 0.1.2

    L 1 Reply Last reply
    0
  • L Offline
    L Offline
    Le Binh
    replied to <baris> on last edited by
    #12

    @baris said:

    For nodebb 0.5.x - 0.0.19
    For nodebb 0.6.x - 0.1.2

    Thank you very much

    1 Reply Last reply
    0

Copyright © 2023 NodeBB | Contributors
  • Login

  • Don't have an account? Register

  • Login or register to search.
Powered by NodeBB Contributors
  • First post
    Last post
0
  • Home
  • Categories
  • Recent
  • Popular
  • Top
  • Tags
  • Users
  • Groups
  • Documentation
    • Home
    • Read API
    • Write API
    • Plugin Development