Page 1 of 1

Media Library Bug

Posted: Tue Jun 27, 2006 9:05 pm
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.

Re: Media Library Bug

Posted: Tue Jun 27, 2006 9:12 pm
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

Posted: Tue Jun 27, 2006 10:00 pm
by martoq
Unfortunately thats the problem, the sync thumbnail isn't removing it. Running 1.0 btw. :)

Posted: Tue Jun 27, 2006 10:02 pm
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

Posted: Tue Jun 27, 2006 10:03 pm
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.

Posted: Tue Jun 27, 2006 10:29 pm
by martoq
Sounds good. I will try and find a little work around. Thanks for the efforts!