Menu

Issue updating reports list and if delete reports.dat

Help
2022-02-11
2022-02-11
  • Douglas Terry

    Douglas Terry - 2022-02-11

    I am currently running PhpGedView 4.3.1 SVN 7321, and have been customizing some reports and trying to add a new report has issues. In the existing cemetery report I added display for sources, and in missing facts I restricted displaying missing burial info if person was not dead and had no issues since these reports already existed. I had previously created a new emaillist report when I first installed PhpGedView with no issues. However now that I am on SVN 7321 I have created a new report so I can see if I have added NOTEs to each record on if I have completed cleanup actions, but the new report name is not showing up in the reports drop down. Reviewing the forums discussions I expected the reports.dat file to be regenerated but it is not. If I delete the reports.dat file as suggested (so it can be regenerated), then I get an error "Parse error: syntax error, unexpected 'Report' (T_STRING) in /volume1/web/phpgedview/includes/reportheader.php(122) : eval()'d code on line 1".
    I have checked all my configurations and resaved to no effect, so before I upgrade to the latest SVN 7337, has anyone else seen this or is there something else I need to do to fix this issue?

     
  • Douglas Terry

    Douglas Terry - 2022-02-11

    Ignore this question, I found the problem was that I had a syntax error where I had changed <pgvrvar var="pgv_lang&lt;span&gt;[birth_report]&lt;/span&gt;"> to <pgvrvar var="Notes Report">, but this should just be "Notes Report" as it was looking for a variable string that did not exist. As soon as I fixed it then the reports.dat file was automatically regenerating.</pgvrvar></pgvrvar>

     

    Last edit: Douglas Terry 2022-02-11

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.