How to get the pics back when deleted from albums/userpics How to get the pics back when deleted from albums/userpics
 

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

How to get the pics back when deleted from albums/userpics

Started by yvesd, August 30, 2004, 12:12:13 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

yvesd

Hi !

First of all, contratulations for this great piece of work, I discovered it yesterday !

I've got a little question : I noticed that the pics were stored in the albums/userpics folder.
But what can I do if this folder got erased ? I tried to remove the .jpg files, but the gallery didn't work properly after that. How to get things working again (rebuild the files from the SQL database) ?

Thanks in advance !

--
Yves

kegobeer

If the userpics directory was erased, the only thing you can do is recreate it via FTP or your control panel and upload the images again.  The files aren't stored in the db, so you can't rebuild the files like you suggested.

You can always ask your host to restore your site to an earlier version, if they do weekly backups.
Do not send me a private message unless I ask for one.  Make your post public so everyone can benefit.

There are no stupid questions
But there are a LOT of inquisitive idiots

yvesd

Quote from: kegobeer on August 30, 2004, 03:56:21 PM
The files aren't stored in the db, so you can't rebuild the files like you suggested.

Oh, stupid me ! I saw the file size in the cpg132_pictures table, but that wasn't the record size ! Thanks for the answer, you can close this topic (and/or mark it as solved...).

bye