Pagination 404 issue.
-
Ok now change this line
File not found 路 NodeBB/NodeBB
Node.js based forum software built for the modern web - File not found 路 NodeBB/NodeBB
GitHub (github.com)
to
console.log('pid : ' + pid, postData); return next(new Error('[[error:no-teaser]]'));
Im guessing one of the posts got purged somehow but is still in the list of posts for that topic so you are getting that error. Let me know the output of that console.log.
-
@baris Spot on...
info: NodeBB Ready
pid : 10825 { pid: '10825',
uid: 'undefined',
timestamp: '1389195689000',
fields: [ 'pid', 'uid', 'timestamp' ] }
pid : 10825 { pid: '10825',
uid: 'undefined',
timestamp: '1389195689000',
fields: [ 'pid', 'uid', 'timestamp' ] } -
Ok if you are using redis check out that post and see whats going on.
redis-cli hgetall post:10825
I am committing a fix that will stop the crashing. https://github.com/NodeBB/NodeBB/commit/24aa166ed595f89e0917047e1bd47af8e9c1261f.
But you should still check out why that post doesn't have a uid.
-
@baris Thanks, I've got this:
- "editor"
- ""
- "content"
- "Cheers for the tunes, mix is a bit random but I did what I could -聽 :teeth: It'll be posted later today or tomorrow."
- "uid"
- "undefined"
- "relativeTime"
- "2014-01-08T15:41:29.000Z"
- "votes"
- "0"
- "deleted"
- "0"
- "timestamp"
- "1389195689000"
- "edited"
- "0"
- "tid"
- "274"
- "pid"
- "10825"
- "reputation"
- "0"
EDIT: Just realised that's a post in the topic I was looking for... Small world. That post was also made by a member who deleted their account on my old forum.
-
Looks like that post doesn't have a valid uid, if you know its poster's uid then you can fix it by.
hset post:10825 uid <theiruid>
If they are deleted then just set their uid to 0 with
hset post:10825 uid 0
I guess thats something the importer should do.
-