files can't be deleted files can't be deleted
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

files can't be deleted

Started by BT-loader, August 18, 2006, 01:51:25 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

BT-loader

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!
:: BT-loader ::
"The one and only..."

Nibbler

Easy way is to create the directory. Harder way is a coding solution that I've posted previously.

BT-loader

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?
:: BT-loader ::
"The one and only..."

Nibbler

Then delete the files via Coppermine.

BT-loader

#4
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.
:: BT-loader ::
"The one and only..."