Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo
Click on Delete button on admin page to delete Gedcom, some of my GEDCOM could be deleted, but two of them could not be deleted despite numerous tries. The process just went normal, but the item is still there, no error message whatsoever. Can someone give me any hint? Or at least where to check log for this so I can investigate what really happened? Or, is there a manual way to delete a gedcom if all other ways fail?
That would be an "ownership" problem. You'll have to get your server support to delete these files for you.
I have been reading manuals and searching regarding this issue, and I found that the "Delete" button on "Manage GEDCOMs and edit Privacy" deletes the data from database, but does not delete the files. So it does not seem to be file permission issues. Furthermore, I could delete other GEDCOM files I uploaded, only these 2 files failed to be deleted. Any idea?
I suspected that this is due to GEDCOM file name.
I tried uploading two exactly same GEDCOM files, but I changed the file name of one of these two into the file name of GEDCOM files I have not been able to delete, e.g., "Tarombo Batak (from Tarombo.com, cleaned, NAME cleaned) 4.ged".
Then I tried to delete the two files I just uploaded, the result is one file could be deleted, but the other one which has the long name could not be deleted.
Any idea GEDCOM with certain file names got into this problem, and how to remove these?
On the Admin page, there's a link "Cleanup Index directory ". Try using that.
This topic should have been posted in the "Help" forum, since you were actually asking for help.
Sorry for posting in a wrong forum.
In "Cleanup Index directory", files related to these particular GEDCOM are marked as "required for proper operation and cannot be removed". As far as I understand, this "Cleanup Index directory" only delete files that are no longer needed as the related GEDCOM has been deleted from database via "Manage GEDCOMs and edit Privacy". My problem now is that I could not delete the GEDCOM via "Manage GEDCOMs and edit Privacy".
The several files in the INDEX folder are telling the "Manage GEDCOMs…." pages that these GEDCOMs still exist, whether they do or they don't. In the INDEX folder, the YourGEDCOM.ged_conf.php and the YourGEDCOM.ged_priv.php files contain important information about setup, as does the gedcoms.php file. You can wipe any reference to your gedcoms by deleting the first two and manually editing the third, removing references to the GEDCOMs you no longer wish to remain.
Be sure retain backup copies of the original files should you make a mistake and need to restore.
What PGV is telling you is that the GEDCOM in question is still listed in the "index/gedcoms.php" file. This can be confirmed by looking at the Manage GEDCOMs page - is there still an entry here? If so, the "Delete" you attempted didn't work. Try again.
If you're certain that the database tables contain nothing related to that "deleted" GEDCOM, you can edit file "index/gedcoms.php" manually (outside PhpGedView) to remove the entries related to this GEDCOM, and then try the "Cleanup Index directory" operation again.