coppermine-gallery.com/forum

Support => cpg1.4.x Support => Older/other versions => cpg1.4 upgrading => Topic started by: BT-loader on August 18, 2006, 01:51:25 AM

Title: files can't be deleted
Post by: BT-loader on August 18, 2006, 01:51:25 AM
Well.. not really sure how to explain this.  :-\
Let´s give it a try.

I upgraded from 1.3.3 to 1.4.8 without any BIG problems.
But because of some strange problem, some of my pics where deleted from my server.
(I think i got "hacked".)
Oh well.. nevermind that.

I re-installed 1.4.8 and used my old database backup.
Now, some pics can´t show cause they aren´t on the server anymore (because i´ve got hacked), but the info about the "missing" pics is still in my database.
It seems that i can´t delete all the missing pics from the admin cp either.

I´m gettings this:
Directory 'albums/userpics/13454/' is not writable, files can't be deleted
That´s not strange, but i don´t have thoose directories anymore.

Is there a way to "get around" this?
I really want/need to delete all the "missing" pics from my database.

Thanks in advance!
Title: Re: files can't be deleted
Post by: Nibbler on August 18, 2006, 02:04:00 AM
Easy way is to create the directory. Harder way is a coding solution that I've posted previously.
Title: Re: files can't be deleted
Post by: BT-loader on August 18, 2006, 02:07:05 AM
Quote from: Nibbler on August 18, 2006, 02:04:00 AM
Easy way is to create the directory.
And then what?  ???

Quote from: Nibbler on August 18, 2006, 02:04:00 AM
Harder way is a coding solution that I've posted previously.
What solution?
Title: Re: files can't be deleted
Post by: Nibbler on August 18, 2006, 02:08:17 AM
Then delete the files via Coppermine.
Title: Re: files can't be deleted
Post by: BT-loader on August 18, 2006, 02:09:50 AM
Quote from: Nibbler on August 18, 2006, 02:08:17 AM
Then delete the files via Coppermine.
Hmm, ok..
I´m gonna try right now.

EDIT: Yes it worked, but it was lots of work creating false directories just to delete the "missing" pics.

Thanks for your help.