Rolling Back Upload Date Rolling Back Upload Date
 

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

Rolling Back Upload Date

Started by nowordneeded, January 19, 2021, 04:16:59 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

nowordneeded

Sorry for the back-to-back posts, but I was hoping someone could help me with resetting or rolling back the album upload date. I'm running the current stable version of 1.6.09 on http://tamara-braun.com/gallery.

I had an issue with a critical error on an album and posted before. The solution I came up with was to delete the pictures via the phpmyadmin database, then I deleted the images via ftp, the reuploaded to then finally update the album. The only problem is I want the album/pictures in that album dated on the original upload date which is January 04, 2021. I know on Wordpress there is a way to backdate posts, I was wondering if there is a similar way on Coppermine?

Thanks in advance for answering.

NWN
Sometimes my musings are too confusing for someone not inside my head.

phill104

There is no method built in, you would need to run a database query.
It is a mistake to think you can solve any major problems just with potatoes.

nowordneeded

Phill:

Once again, thank you for answering my post. Could you tell me how I would do that...exactly?!

Thanks.

NWN
Sometimes my musings are too confusing for someone not inside my head.

phill104

I cannot remember off hand which table you need to edit. It can all be done using PHPmyadmin. Just look for the images in question in the database and edit them.

Always take a backup of your database before making any changes.

Another option would be to export your database as an .sql file to your local computer. Then using find/replace in notpad or notepad++ change the dates in that file. You then then import the edited database back to your hosting.


I would lookup exactly the table and column but am currently stuck in bed with a back injury so cannot sit up.

It is a mistake to think you can solve any major problems just with potatoes.

nowordneeded

Phill:

I did import the database, however, I don't know what I'm looking for. So I think I'll just leave it alone. While I would like to change it, I'm not that versed in editing a database.

Please get better and I hope you're up and back to yourself in no time. Please take care.

NWN
Sometimes my musings are too confusing for someone not inside my head.