Batch Upload, Deleted, Update Database? Batch Upload, Deleted, Update Database?
 

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

Batch Upload, Deleted, Update Database?

Started by ZakRhino, November 16, 2005, 11:44:18 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

ZakRhino

Hello everybody,  :o :o
I have a few question, I pretty much a newbe and learning Coppermine with fails and pass so I'm trying ^_^  ::) ::) ::)
First I search the archives of the forums for batch upload. Which I did and it all work out correctly. I then deleted the files from that folder thinking that they where in the folder that I made thru Coppermind and where in there folders.
1.So I guess now I look up at my gallery and see blank images how do I update the datebase so that it will not show those images and I wish to batch upload but to make them an spefice folder I have about 20 folders that I have to add files to but if I batch upload all them in one folder it very hard to sort that way and the other way of uploading will take forever but can be done.
2. So I guess I'm asking is how can I batch upload to a folder I want the files to be in and deleted the one I made on the server after I put them in the correct folder that coppermind made for them? If that makes anysense :P

Tranz

You would need to use something like phpmyadmin to edit the database entries for the pictures. This is not recommended for newbies, though. If you're desperate to try it, it's mandatory that you backup your database before touching it so you can restore the db if something goes terribly wrong.

ZakRhino

What do I used that for? I have 2 question, which one are you addressing?

ZakRhino

Quote from: TranzNDance on November 16, 2005, 11:51:28 AM
You would need to use something like phpmyadmin to edit the database entries for the pictures. This is not recommended for newbies, though. If you're desperate to try it, it's mandatory that you backup your database before touching it so you can restore the db if something goes terribly wrong.

What is  phpmyadmid anyway? :P

Joachim Müller

this happens if you disrespect the "one question per thread" policy you agreed to respect when signing up => you and others get confused, and it's hard for supporters to track the support request.

If you have no idea about databases and the tools needed to manipulate them, it's recommended that you give up your plans, as this is advanced user's stuff. If you insist, STFW.

This is all based on a misunderstanding: coppermine doesn't move files around when you batch-add: they stay where you uploaded them. If you delete them by FTP after they were added to the database, you keep broken links. I recommend looking up the batch-add process in the coppermine docs.