attachDirStatus gets the number of expected files and checks if it is the same as the number of attachments stored in the database.
This works if attachments and Avatars are both stored in the avatars Dir.
But if the Avatars are moved to a different Directory(For better Performance, like described in the Performance Tipps) than the normal attachmenst directory has less files than the the attachDirStatus Function gets as paramter "expectedfiles".
So it say there are missing files because it counts only the exisiting attachments in den attachment dir but estimate them plus the avatars which are now stored in the avatars dir.
So the Function who gives attachDirStatus() the estimated files count should decrease the amount with the amount of the moved avatars.
Actually this gives a status error, where no error was.
PeBe
EDIT
Sorry, forgot: SMF 2.0 RC3
... what version of SMF?
I think the Problem is better described from another User in his Post.
He has the same Problem.
http://www.simplemachines.org/community/index.php?topic=373898.msg2563724#msg2563724
just bookmarking this thread. ;D