Whenever the file *Aperture Library/iLifeSharing/ApertureDatabaseTimestamp* reappears in my system, then the sharing of photos from my Aperture Library implemented by the iLife media browser framework quits working.
This seems to have begun with the update to Aperture 3.1. Note that, while I'm currently using iLife '09, media browsing is not specific to iLife apps - for instance, my screen saver won't be able to display photos from my Aperture Library either.
When iLife media browsing quits working, I get console messages of the form:
10/30/10 8:54:06 AM iWeb[2092] ILLogger ILAperture31Plugin: Error in _loadDataThreaded: -[NSNull timeIntervalSinceReferenceDate]: unrecognized selector sent to instance 0x7fff7026d000
issued from whichever application - iTunes, iPhoto, iDVD, System Preferences, or in this case iWeb - that's trying to use iLife media sharing to browse through my Aperture Library. If I remove the ApertureDatabaseTimestamp file, browsing starts working again, but I seem to have to restart the app in question.
I haven't quite figured out exactly when ApertureDatabaseTimestamp gets recreated; I have opened and closed Aperture after having made modifications and deleted versions, and run it with *Aperture->Preferences->Share Previews with iLife and iWork* set both to "When quitting Aperture" and "Always" but I haven't been able to catch exactly when or force it to happen.