forum.coppermine-gallery.net

Support => cpg1.3.x Support => Older/other versions => cpg1.3 Miscellaneous => Topic started by: mylogon on May 12, 2005, 12:56:56 am

Title: Deleting Files
Post by: mylogon on May 12, 2005, 12:56:56 am
I had a problem with an album - it would not add all the files  - so I decided to delete the album and retry to add the files to see if that would fix.  Answered Ok and apply modifications, and recreated the album and tried to re-batch upload.  Thew error message I received is that the file were already in the database.  The only place I can find to delete anything is in the album  - so I am lost.  What I did to make it work for now uis to rename the directory so the database did not think the files were duplicates, but I really do not need all that extra data.  So, how can I get rid of that bad data?  Is there a verify database command somewhere to check all links?

Title: Re: Deleting Files
Post by: OmegaGOD on May 12, 2005, 01:31:47 am
It looks like the delete process was not completed successfully. You will need to use a script like PhpMyAdmin to modify the database. You will want to remove the entries for the images manually from the pictures table.
Title: Re: Deleting Files
Post by: Joachim Müller on May 13, 2005, 10:19:48 am
did you delete the files by FTP or using the coppermine user interface?
Title: Re: Deleting Files
Post by: mylogon on July 04, 2005, 10:23:57 am
was done through admin interface and yes could search through MySql - but that should not be th way to fix some internal error.

Maybe not possible now - but a data verify is in most database style programs  -hint for features....

Title: Re: Deleting Files
Post by: Joachim Müller on July 04, 2005, 10:26:28 am
answer my question, then I may be able to answer yours.