Closed SlashmanX closed 12 years ago
This is pretty Important Since I was trying to sync with your current code and I'm not being able to run the project.
Error:
TypeError: Cannot read property '_id' of undefined
at Object.CM.listHomePage (..../xForum/server/modules/category-manager.js:22:64)
at module.exports.app.get.CM.listOne.res.render.title (..../xForum/server/router.js:100:6)
at callbacks (..../xForum/node_modules/express/lib/router/index.js:165:11)
at module.exports.loginUser (..../xForum/server/router.js:53:4)
at callbacks (..../xForum/node_modules/express/lib/router/index.js:165:11)
at module.exports.getUser (..../xForum/server/router.js:41:4)
at Promise.AM.autoLogin (..../xForum/server/modules/account-manager.js:22:32)
at Promise.addBack (..../xForum/node_modules/mongoose/lib/promise.js:128:8)
at Promise.EventEmitter.emit (events.js:88:17)
at Promise.emit (..../xForum/node_modules/mongoose/lib/promise.js:66:38)
I'll be trying to gather some information regarding to the minimum requirements to run in order to start the project. (at least while the install script isn't ready)
Yep, this is top priority. Basically I just need to prefill the database with 3 roles (Guest, Member and Administrator) and on registration, each user is assigned to the 'Member' role.
I will try and get this sorted tonight and push it to master rather than waiting until the 0.0.3 release at the weekend
One that will run queries to create roles, admin user, settings etc.