Okay, got it.
Have to go to bed. Tried the string "/api/category/2/category-name" instead of "/api/category/2/<category-name>" ^^
Sobo85
Posts
-
Get Imgur-URL from Category Picture via JS?! -
Get Imgur-URL from Category Picture via JS?!Hi baris,
are you sure that it works? I only get a "not-found" notification.
-
Get Imgur-URL from Category Picture via JS?!Hi,
I'm trying to make my categories a little bit more personal.
Here's my question: Is there a way to get the picture-url of the category if it is saved on Imgur via JS? Or do you have any other ideas?Thx
-
NodeBB crashes after changing themeah okay... how does it come that this version is installed?... anyway, is there a way to check, which version is used by nodebb by myself?
-
NodeBB crashes after changing themeOkay,
I tried "npm show <pkg> version" to get the version of both.
nodebb-widget-essentials: 0.2.0
nodebb: 0.4.3 (the strange thing here is, that I am sure I installed the latest 0.5.4 version :S ) -
NodeBB crashes after changing themehow to find it out?
I tried to find it out by opening the README.md (nano) --> empty file!?
-
NodeBB crashes after changing themeHi!
Today i tried to change the theme via ARC.
After trying to reload the server it didn't start.
I'm not interested in installing the server againAre there any other possibilities?
2014-11-18T19:47:07.670Z - error: TypeError: object is not a function
at Object.Widget.init (/var/opt/nodebb/node_modules/nodebb-widget-essentials/library.js:44:3)
at /var/opt/nodebb/src/plugins.js:489:23
at /var/opt/nodebb/node_modules/async/lib/async.js:125:13
at Array.forEach (native)
at _each (/var/opt/nodebb/node_modules/async/lib/async.js:46:24)
at Object.async.each (/var/opt/nodebb/node_modules/async/lib/async.js:124:9)
at Object.Plugins.fireHook (/var/opt/nodebb/src/plugins.js:487:12)
at Plugins.reloadRoutes (/var/opt/nodebb/src/plugins.js:135:11)
at /var/opt/nodebb/node_modules/async/lib/async.js:656:23
at fn (/var/opt/nodebb/node_modules/async/lib/async.js:641:34)
TypeError: object is not a function
at Object.Widget.init (/var/opt/nodebb/node_modules/nodebb-widget-essentials/library.js:44:3)
at /var/opt/nodebb/src/plugins.js:489:23
at /var/opt/nodebb/node_modules/async/lib/async.js:125:13
at Array.forEach (native)
at _each (/var/opt/nodebb/node_modules/async/lib/async.js:46:24)
at Object.async.each (/var/opt/nodebb/node_modules/async/lib/async.js:124:9)
at Object.Plugins.fireHook (/var/opt/nodebb/src/plugins.js:487:12)
at Plugins.reloadRoutes (/var/opt/nodebb/src/plugins.js:135:11)
at /var/opt/nodebb/node_modules/async/lib/async.js:656:23
at fn (/var/opt/nodebb/node_modules/async/lib/async.js:641:34)
2014-11-18T19:47:07.748Z - info: [app] Shutdown (SIGTERM/SIGINT) Initialised.
2014-11-18T19:47:07.765Z - info: [app] Database connection closed.net.js:1236
throw new Error('Not running');
^
Error: Not running
at Server.close (net.js:1236:11)
at shutdown (/var/opt/nodebb/app.js:344:36)
at process.<anonymous> (/var/opt/nodebb/app.js:181:7)
at process.emit (events.js:95:17)
at process._fatalException (node.js:272:26)
[cluster] Child Process (5510) has disconnected
[cluster] Child Process (5510) has exited (code: 7, signal: null)
[cluster] Spinning up another process... -
Category with almost similar names get the same Icon :SYes, this makes sense to me.
Perhaps you can "fix" the Categories Control Panel, so that it is always shown although you are on the bottom of the category-list and switch the save button to this "Box".
But anyway... Nice work you already did with NodeBB. -
Category with almost similar names get the same Icon :SShame on me.
Could also not reproduce it. And it could really be, that I forgot to save some of the changes.Is there a reason that every category gets his own save button? Otherwise one Save-Button for all would avoid such stupid mistakes.
-
Category with almost similar names get the same Icon :SHi,
I don't know if it is a already known bug.
I made a subcategory with the name "Urlaub" with the subsubcategory "Winterurlaub" (both contain the string urlaub), resulting in a behavior that the icon for both are the same ( in my example I had no Icon). Also a picture for one of them couldn't be saved. Disapears every time after uploading. After changing the subsubcategory to "Winterlaub", both pictures and icons can be setup for themselfes. -
Login problems after setup nodebbYes it took up to 10 minutes.
If bcryptjs is a lot slower, why are you using it as the default hashing module? What are its advantages in comparison to bcrypt?
-
Login problems after setup nodebbDid a new install and had the same problem.
But could fix it. On raspbian you have to replace bcyptjs with bcrypt and I guess that this was the reason for the problem (different hashes?!).
So be aware of the correct install routine.
In the rootpath of nodebb do the following:- "npm install"
- "npm unlink bcryptjs && npm i bcrypt" and change <require("bcryptjs")> into <require("bcrypt")> in the bcrypt.js file (adapted from https://community.nodebb.org/topic/1591/login-not-possible)
- "./nodebb setup"
- "./nodebb start"
-
Login problems after setup nodebbHi,
we added two new testusers. They can login without problems. The Admin and the first account we set up are still unable to login. :S Normally we don't see any hint why we couldn't log in so that we are redirected to the login-Page.
-
Login problems after setup nodebbThe file is located in three different places.
I edited /var/opt/nodeBB/nodebb/bcrypt.js, restarted nodebb. The problem still exists./home/pi/node_modules/bcrypt/bcrypt.js
/var/opt/nodeBB/nodebb/node_modules/bcrypt/bcrypt.js
/var/opt/nodeBB/nodebb/bcrypt.jsWhen i tried to login as a registed user:
Invalid Csrf token
-
Login problems after setup nodebbSry that I bother you, but I didn't find a solution for my problem via search.
When I try to login on my nodebb forum (as admin or other registed user) I'll always get returned to the login-page without any hint.
After several login attempts the admin account get's locked.Do you have any advice for me, how to unlock the admin and fix the problem with login?
Setup:
Raspberry Pi with Raspbian (NOOBS)
Redis-Server v2.8.17
NodeBB v0.5.4