Media Library Bug

Found a bug? Tell us!!
Post Reply
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Media Library Bug

Post by martoq »

Media Library cannot remove files that no longer physically exist. I use SVN to backup my websites and blogs. Well I had a problem during the upgrade and now...well.... you can see here:

http://www.euphoricallyvexed.com/index. ... ge]=moblog

A number of pictures got toasted. And when I go into media library to delete them I get this:

Code: Select all

Unable to locate the file entitled /.svn/e, maybe it has already been deleted?
I have since removed SVN from my uploads directory.
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Media Library Bug

Post by garvinhicking »

Hi!

Calling the "sync thumbnails" menu option should remove those files.

The mediadatabase of serendipity 1.1 automatically removes such files.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Unfortunately thats the problem, the sync thumbnail isn't removing it. Running 1.0 btw. :)
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Post by garvinhicking »

Hi!

Hm, since all our attention went to the improved MDB in 1.1, changing this in 1.0 is a bit of wasted effort. So if you can't update to 1.1-alpha, you might just want to use phpMyAdmin to delete the corresponding rows in the serendipity_images directory?

Or you just create fake .SVN files to then delete them?

Best regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Just fyi:

Code: Select all

Synchronizing the database with the image folder

Done (Synchronized 0 images).

Resizing

Done (resized 0 images). 
Yet if you still goto the link above you will see its still referencing those files and my media library still shows them.
martoq
Regular
Posts: 41
Joined: Thu Mar 10, 2005 5:05 pm

Post by martoq »

Sounds good. I will try and find a little work around. Thanks for the efforts!
Post Reply