Bug Fix-Adminlib Folder
|Bug Fix-Adminlib Folder|
|Summary||Fixes an error in function tng_adminheader in adminlib.php that occasionally logs the user out of TNG.|
|Homepage||Robin Richmond's Genealogy Database|
|Mod Support||My Mod Support form or TNG Community Forums|
|Contact Developer||My Mod Support form|
|Min TNG V||9.2.0|
|Max TNG V||11.0.1|
Purpose of the Mod
Fixes an error in function tng_adminheader in adminlib.php where a <script> element does not use $cms['tngpath'] and therefore does not resolve properly if the program calling it is not in the main TNG folder.
TNG Admin programs that are not in the main TNG folder (which are a rare breed) will thus fail at runtime if they try to invoke TNG's LITBox feature.
Also, under rare circumstances that I do not understand, that incorrect <script> element in adminlib.php can cause TNG admin programs that are not in the main TNG folder to restart the current user session, thus logging the user out of TNG.
The situation exists in TNGv9.2* (and perhaps earlier) through TNGv11.0.1.
Compatibility With Other Mods
Gedcom Import Purge implements the same patch to adminlib.php as this mod, so this mod is unnecessary if you have already installed that mod.
- A working TNG installation.
- An installed current version of the Mod Manager.
- Remove and delete previous version of this mod.
- Backup adminlib.php, the only file updated by this mod.
- Download the .zip file, Extract its .cfg file to the mods folder.
- Follow the normal automated installation for Mod Manager, as shown in the example Mod Manager - Installing Config Files.
In the event of a problem
Mod Change History
|Mod Version||TNG Version||Date||Note|
|126.96.36.199||9.2.0 - 11.0.1||24 May 2016||Initial release.|
Sites using this mod
If you download and install this mod, please add your site to the table below.
|Robin Richmond's Genealogy Database||Robin Richmond||Mod developer||188.8.131.52||TNGv11.0||English|