Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Anyway to RESTORE IMAGE descriptions to the Database?  (Read 2838 times)

0 Members and 1 Guest are viewing this topic.

severeidaho

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Posts: 62
Anyway to RESTORE IMAGE descriptions to the Database?
« on: July 25, 2006, 06:00:42 am »

Hi there.  After I had a database error with my previous version of Gallery, I decided to Re-install the New CPG version and create a new database.  I did back up my previous database and this backup has my image descriptions on it.  All I want to do is restore that table and nothing else.   Can this be done?  And How?   

Thank you....

-gerrit
Logged

Sami

  • VIP
  • Coppermine addict
  • ***
  • Offline Offline
  • Gender: Male
  • Posts: 3686
  • BMossavari
    • My Project
Re: Anyway to RESTORE IMAGE descriptions to the Database?
« Reply #1 on: July 25, 2006, 06:44:09 am »

this is not coppermine issue !
if your old databse is up:
you need to write simple php script to query your old databse/xxx_pictures/caption
something like
- connect to your old databse
- execute the query select caption from cpgxxx_pictures
- store result in array
and then insert or update these info from array to your new database , xxx_pictures table
if you don't have your old databse up and running then use phpmyadmin and manualy restore only that table
Logged
‍I don't answer to PM with support question
Please post your issue to related board
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 17 queries.