forum.coppermine-gallery.net

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:
Code: [Select]
Directory 'albums/userpics/13454/' is not writable, files can't be deletedThatī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
Easy way is to create the directory.
And then what?  ???

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
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.