db object already connecting, open cannot be called multiple times
2013-07-31 16:24:56 +08:00
coolicer
Express 500 Error: db object already connecting, open cannot be called multiple times at Db.open (d:\nodejs\blog\node_modules\mongodb\lib\mongodb\db.js:233:11) at Function.Post.getOne (d:\nodejs\blog\models\post.js:85:11) at d:\nodejs\blog\routes\index.js:175:8 at callbacks (d:\nodejs\blog\node_modules\express\lib\router\index.js:161:37) at param (d:\nodejs\blog\node_modules\express\lib\router\index.js:135:11) at param (d:\nodejs\blog\node_modules\express\lib\router\index.js:132:11) at param (d:\nodejs\blog\node_modules\express\lib\router\index.js:132:11) at param (d:\nodejs\blog\node_modules\express\lib\router\index.js:132:11) at pass (d:\nodejs\blog\node_modules\express\lib\router\index.js:142:5) at Router._dispatch (d:\nodejs\blog\node_modules\express\lib\router\index.js:170:5)