FUDforum - خوراک RDF
http://fudforum.org/forum/index.php
File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33600&th=7013#msg_33600
I had a forum where the messages contained many attachments. I had to delete the group and recreated it by importing from the original NNTP source.
It appears the deleting the forum, then deleting the messages did not remove the attachments. Now for each message with an attachment, it also shows all the orphan attachments from the previous forum's existance. I tried running a Forum Consistency check but it did not correct the condition.
How do I purge the orphan attachments?
]]>jcarter2006-09-09T01:50:00-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33625&th=7013#msg_33625
Normally consistency checker will remove any orphan file attachments.]]>Ilia2006-09-11T13:44:38-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33654&th=7013#msg_33654
Quote:
Did you delete the original forum? The only way what you've described may have happened is if your message id returned to previous values, allowing the file association to re-occur
I have re-deleted the original forum and deleted all messages. Then I ran the consistency checker. Looking in /var/www/FUDForumData/files, I see 2 copies of many of the attachments that were in that forum. Rerunning the consistency checker doesn't pick up any abnormalities.
]]>jcarter2006-09-12T02:22:46-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33664&th=7013#msg_33664
Ilia2006-09-12T14:45:33-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33668&th=7013#msg_33668
jcarter2006-09-12T17:07:45-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33688&th=7013#msg_33688
Ilia2006-09-14T19:01:44-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33772&th=7013#msg_33772
The real problem is that during an NNTP import session, the attachments are applied to the correct message, then also to all following messages which have attachments. For example - looking at the attach_cnt column in a forum which was imported from a newsgroup-
Msg #1 has 1 attachment: attach_cnt = 1
Msg #5 has 1 attachment: attach_cnt= 2
Msg #8 has 5 attachments: attach_cnt = 7
msg #12 has 1 attachment: attach_cnt = 8
...
msg #250 has 1 attachment: attach_cnt = 53
msg #260 has 1 attachment: attach_cnt = 54
Looking at msg #260 confirms that all 54 attachments shown are for previous messages in that NNTP import session.
]]>jcarter2006-09-20T17:14:15-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33788&th=7013#msg_33788
http://cvs.prohost.org/c/index.cgi/FUDforum/chngview?cn=11602]]>Ilia2006-09-21T22:01:25-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33830&th=7013#msg_33830
]]>jcarter2006-09-22T21:06:04-00:00Re: File attachments and deleted messages
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=33831&th=7013#msg_33831
]]>jcarter2006-09-22T21:18:10-00:00