it works now i mean the error came from my Db
TedRoastBeef
Posts
-
Nedd help while instaling NodeBBon Debian 7 -
Nedd help while instaling NodeBBon Debian 7got new error:
node app start
info: NodeBB v0.3.2 Copyright (C) 2013 DesignCreatePlay Inc.
info: This program comes with ABSOLUTELY NO WARRANTY.
info: This is free software, and you are welcome to redistribute it under certain conditions.
info:
info: Time: Thu Feb 20 2014 13:54:30 GMT-0500 (EST)
info: Initializing NodeBB v0.3.2
info: * using configuration stored in: /var/www/forum.nardox.de/config.json
info: * using mongo store at 127.0.0.1:27017
info: * using themes stored in: /var/www/forum.nardox.de/node_modules
warn: You have no mongo password setup!
info: No minified client-side library found
info: NodeBB attempting to listen on: 0.0.0.0:8080
info: NodeBB Ready/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Cannot call method 'substr' of null
at Object.m.compare (/var/www/forum.nardox.de/node_modules/bcryptjs/bcrypt.min.js:40:142)
at /var/www/forum.nardox.de/src/routes/authentication.js:191:13
at /var/www/forum.nardox.de/src/database/mongo.js:339:4
at /var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/collection/query.js:147:5
at Cursor.nextObject (/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/cursor.js:733:5)
at commandHandler (/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/cursor.js:713:14)
at /var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/db.js:1806:9
at Server.Base._callHandler (/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/connection/base.js:442:41)
at /var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/connection/server.js:485:18
at MongoReply.parseBody (/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)The erros will popup if i try to login
-
Nedd help while instaling NodeBBon Debian 7Hey, i have tryd to isntall NodeBB on my Debian 7 root but i wont work. it thros me an error:
/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/connection/base.js:242
throw message;
^
TypeError: Object #<Object> has no method 'genSalt'
at Object.User.hashPassword (/var/www/forum.nardox.de/src/user.js:555:10)
at /var/www/forum.nardox.de/src/user.js:133:11
at /var/www/forum.nardox.de/src/database/mongo.js:418:5
at /var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/collection/core.js:703:14
at /var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/db.js:1098:5
at /var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/db.js:1806:9
at Server.Base._callHandler (/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/connection/base.js:442:41)
at /var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/connection/server.js:485:18
at MongoReply.parseBody (/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/responses/mongo_reply.js:68:5)
at null.<anonymous> (/var/www/forum.nardox.de/node_modules/mongodb/lib/mongodb/connection/server.js:443:20)I dont know what that means?
can any one help me pls?