The backup menu includes an option to backup "GEDCOM Counters, SearchLogs and PhpGedView Logfiles". But as far back as I go in my logfiles, 2007 something, there are no counters. Just once where I manually FTP'd them down.
Now, my index is at /vindex, moved out of web-addressable space and renamed. So I wonder if my situation is unique. Would someone sanity check me on this by checking a recent 4.2.2 backup for your gedcom counters before I go raising a bug?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2009-09-19
Victor, yes you're right. It is a bug. Easily fixed manually, but would you raise a bug report for it, referring to this thread for the fix. Hopefully one of the developers will have a moment to fix it for the next release.
In the file /includes/controllers/usermigrate_ctrl.php, look for row 235:
if (file_exists($INDEX_DIRECTORY.$gedcom."pgv_counters.php")) $this->flist = $INDEX_DIRECTORY.$gedcom."pgv_counters.php";
and change the two occurrences of .php to .txt, so the row becomes:
if (file_exists($INDEX_DIRECTORY.$gedcom."pgv_counters.txt")) $this->flist = $INDEX_DIRECTORY.$gedcom."pgv_counters.txt";
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I can't say I'm overly impressed with the new SourceForge forums either. I told them so in the "brief survey". I doubt that they did much testing (if any) before implementing the new forum software. The poor way posts are handled is inexcusable.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The backup menu includes an option to backup "GEDCOM Counters, SearchLogs and PhpGedView Logfiles". But as far back as I go in my logfiles, 2007 something, there are no counters. Just once where I manually FTP'd them down.
Now, my index is at /vindex, moved out of web-addressable space and renamed. So I wonder if my situation is unique. Would someone sanity check me on this by checking a recent 4.2.2 backup for your gedcom counters before I go raising a bug?
Victor, yes you're right. It is a bug. Easily fixed manually, but would you raise a bug report for it, referring to this thread for the fix. Hopefully one of the developers will have a moment to fix it for the next release.
In the file /includes/controllers/usermigrate_ctrl.php, look for row 235:
if (file_exists($INDEX_DIRECTORY.$gedcom."pgv_counters.php")) $this->flist = $INDEX_DIRECTORY.$gedcom."pgv_counters.php";
and change the two occurrences of .php to .txt, so the row becomes:
if (file_exists($INDEX_DIRECTORY.$gedcom."pgv_counters.txt")) $this->flist = $INDEX_DIRECTORY.$gedcom."pgv_counters.txt";
Except change those quot entities back to the actual quote marks.
(SourceForge Forum strikes again?)
Fixed in SVN. Thanks, Kiwi.
I can't say I'm overly impressed with the new SourceForge forums either. I told them so in the "brief survey". I doubt that they did much testing (if any) before implementing the new forum software. The poor way posts are handled is inexcusable.