ObJoke ...
(... promptly doesn't preview.)
Hmmm. I take it that you tried restarting stuff as well (so that, if any temp contact-to-database errors led to empty posts getting cached in the actual forum software, they should've gotten flushed out)?
I would expect established forum s/w like SMF to have a rather elaborate database scheme where there's not only tables storing the content of the posts, but also index tables to speed up access to that data. Any idea whether that's the case and, if so, whether those indexes might have gotten damaged? Does SMF happen to provide tools to verify and/or repair its own database?
(No preview on this one either.) Yes to all of the above. I did everything on this side that I could without being too intrusive, then slapped everything up on my own webspace
here so that I could have a broken mirror I could break with impunity. (I also have a working version with the september backup
here.) I updated SMF, ran repairs on the database, had it re-index, cleared the cache, turned
off the cache... I don't remember what else, basically everything I could think of. SMF doesn't seem to have a database verification script that I can find, their advice for a bad db is just to always have a backup.
I had the same thought as you about indexes, and went looking around for a metadata table or something like that, but I didn't find one--and SMF's documentation on their database structure is sparse. I even grabbed the post ID of one of the older posts that disappeared and grepped through both the good and bad databases for any mention of it to compare, and both versions seemed to be identical. TBH tho, doing that manually is kind of brain-melting so there's a good chance I missed something. I'll be seeing if I can use grep|sdiff or an SQL query to do it more efficiently sometime today.
There does seem to be a
tentative connection with quotes and/or links in the affected posts: not all posts with links/quotes have issues, but all the posts I checked with issues seem to have links/quotes. I haven't checked out any PMs to see if that's the case with them as well. Back to grep I go...