Bug Fix-Showreport PersonID

From TNG_Wiki
Jump to: navigation, search
Bug Fix-Showreport PersonID
Summary Fixes a typo in showreport.php, where the variable $fromat is placed in a SQL query.
Validation
Mod Updated {{{mod_last_update}}}
Download link bug_fix-showreport_personid_v9.2.0.2.zip
TNG 9.2.0
Download stats
Author(s) Robin Richmond
Homepage Robin Richmond's Genealogy Database
Mod Support My Mod Support form or TNG Community Forums
Contact Developer My Mod Support form
Latest Mod 9.2.0.2
Min TNG V 9.2.0
Max TNG V 10.1.3 (fixed in v11)
Files modified
showreport.php
Related Mods
Notes


Purpose of the Mod

Fixes a typo in showreport.php, where the variable $fromat is placed in an SQL query. The bug exists in TNGv9.2* (and perhaps earlier) and TNGv10*, and was fixed in TNGv11.

The bug only appears if the report is based on a SQL statement, selects the field personID (with that exact letter case), and runs onto a second page.

Compatibility With Other Mods

No known conflicts

Requirements

  • A working TNG installation.
  • An installed current version of the Mod Manager.

Automated Installation

  1. Remove and delete previous version of this mod.
  2. Backup showreport.php, the only files updated by this mod.
  3. Download the .zip file, Extract its .cfg file to the mods folder.
  4. Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.

In the event of a problem

  1. Try using the Mod Manager Remove capability
  2. Contact me through My Mod Support form.

No visualization

Without the fix, a report that meets the conditions described above will generate an SQL error, noting that the SQL statement cannot be executed.

Mod Change History

Mod Version TNG Version Date Note
9.2.0.2 9.2.0 - 10.1.3 22 Feb 2016 Initial release didn't work right.

Sites using this mod

If you download and install this mod, please add your site to the table below.

URL User Note Mod-Version TNG-Version User-language
Robin Richmond's Genealogy Database Robin Richmond Mod developer 9.2.0.2 TNGv10.1.2 English