Closed NukeRusich closed 9 years ago
Comment by mmccook Thursday Jun 20, 2013 at 02:49 GMT
I'm having the same issue, can reproduce on a blank install, as well as after multiple posts were made.
This is the error I'm getting NodeBB/node_modules/redis/index.js:535 throw err; ^ Error: Can't set headers after they are sent. at ServerResponse.OutgoingMessage.setHeader (http.js:644:11) at ServerResponse.res.setHeader (NodeBB/node_modules/connect/lib/patch.js:59:22) at ServerResponse.res.set.res.header (NodeBB/node_modules/express/lib/response.js:518:10) at ServerResponse.res.send (NodeBB/node_modules/express/lib/response.js:124:10) at NodeBB/src/routes/admin.js:61:11 at Categories.getCategoryById.RDB.smembers.RDB.multi.get.smembers.exec.async.parallel.categoryData.topics (NodeBB/src/categories.js:58:8) at Categories.getCategoryById.RDB.smembers.RDB.multi.get.smembers.exec.categoryData.moderator_block_class (NodeBB/src/categories.js:47:8) at Categories.getModerators (NodeBB/src/categories.js:220:34) at try_callback (NodeBB/node_modules/redis/index.js:532:9) at RedisClient.return_reply (NodeBB/node_modules/redis/index.js:614:13)
Comment by julianlam Thursday Jun 20, 2013 at 03:14 GMT
Hi babagegeii/mmccook,
The topics tab in the admin panel wasn't updated when the dependent libraries that it calls to populate it (either categories or topics) were refactored. It will be one of the next things I work on. Thanks for bringing it to my attention. Will link the branch to this issue when I begin.
Comment by julianlam Thursday Jun 20, 2013 at 20:22 GMT
Latest commit 32eba62ef650d54773fb8b334031ee58aece9ee7 resolves this issue.
Issue by andyjessop Wednesday Jun 19, 2013 at 07:49 GMT Originally opened as https://github.com/NodeBB/NodeBB/issues/3
Here's the error:
nodebb/node_modules/redis/index.js:535 throw err; ^ Error: write after end at writeAfterEnd (_stream_writable.js:130:12) at Gzip.Writable.write (_stream_writable.js:178:5) at ServerResponse.res.write (/home/andy/dev/node/nodebb/nodebb/node_modules/connect/lib/middleware/compress.js:86:18) at ServerResponse.res.end (/home/andy/dev/node/nodebb/nodebb/node_modules/connect/lib/middleware/compress.js:91:23) at /home/andy/dev/node/nodebb/nodebb/node_modules/connect/lib/middleware/session.js:286:13 at /home/andy/dev/node/nodebb/nodebb/node_modules/connect-redis/lib/connect-redis.js:130:18 at try_callback (/home/andy/dev/node/nodebb/nodebb/node_modules/redis/index.js:532:9) at RedisClient.return_reply (/home/andy/dev/node/nodebb/nodebb/node_modules/redis/index.js:614:13) at ReplyParser. (/home/andy/dev/node/nodebb/nodebb/node_modules/redis/index.js:266:14)
at ReplyParser.EventEmitter.emit (events.js:95:17)