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

News:

CPG Release 1.6.27
change DB IP storage fields to accommodate IPv6 addresses
remove use of E_STRICT (PHP 8.4 deprecated)
update README to reflect new website
align code with new .com CPG website
correct deprecation in captcha

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