Menu

4.2.2 backup doesn't get the counters

Help
Victor H.
2009-09-19
2013-05-30
  • Victor H.

    Victor H. - 2009-09-19

    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?

     
  • Anonymous

    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";

     
  • Wes Groleau

    Wes Groleau - 2009-09-20

    Except change those quot entities back to the actual quote marks.
    (SourceForge Forum strikes again?)

     
  • Gerry Kroll

    Gerry Kroll - 2009-09-20

    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.

     

Log in to post a comment.