Derrick Posted January 19 Report Share Posted January 19 The Living Color mod stopped working on both of my sites. This is the full readout: line 24: %target getperson.php verified line 26: %location #1 %insert:after not installed line 42: %location #2 %insert:after not installed line 53: %location #3 %insert:after not installed line 67: %location #4 %insert:after not installed line 81: %location #5 v486 %insert:after Bad target line 94: %location #6 %insert:after not installed line 104: %location #7 %trimreplace not installed line 111: %target css/genstyle.css verified line 112: %location #1 %insert:after not installed line 140: %newfile js/popup_2.js not created line 235: %copyfile: familyprevlib101.php not copied Derrick Quote Link to comment Share on other sites More sharing options...
Rob Severijns Posted January 19 Report Share Posted January 19 (edited) This is a known issue. We need to wait for @kazooter to update the mod. Edit: Mine gave an error in line 208 of the cfg file and not line 81 Are you sure you updated the globallib.php Edited January 19 by Rob Severijns extra info Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted January 20 Report Share Posted January 20 Until Rick fixes this, I was OK with temporarily losing the living color in admin side for people editing but keeping all working OK on the public pages. I merely disabled the mod's changes to the admin_people.php, by commenting out lines 196-215 in the latest version 15.0.0.25 of the cfg file. Only recommended if you're comfortable making such a change. Of course do this with the mod cleanly uninstalled first. Ron note: see later post about discrepancies in your living color mod's display of code changes. Quote Link to comment Share on other sites More sharing options...
Sandor! Posted January 20 Report Share Posted January 20 15 hours ago, Rob Severijns said: This is a known issue. We need to wait for @kazooter to update the mod. Edit: Mine gave an error in line 208 of the cfg file and not line 81 Are you sure you updated the globallib.php Hi Ron, Mine also: lijn 208: %location #2 v1355 %trimreplace Ongeldig doel Not sure what that v1355 should do there Sandor Quote Link to comment Share on other sites More sharing options...
Rob Severijns Posted January 20 Report Share Posted January 20 Sandor, Change line 209 of V15.0.0.25 of the mod into: $query = "SELECT p.ID, p.personID{$idselect}, p.lastname, p.firstname, p.lnprefix The mod will install and work as it should Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted January 20 Report Share Posted January 20 Rob, testing your change, the mod installs of course, but going to Admin:People, I get this: An error has occurred in the TNG software. What to do: If you just installed an upgrade, you might have skipped part of the installation instructions. Go back to the upgrade readme page reread the instructions. Pay special attention to the database structure step. If you just installed TNG for the first time, you might still need to create the database tables. Return to the readme.html page to find that step. If you are the site owner, you may contact TNG support for further assistance with this problem. Please copy the query below and paste it into your message. Query: SELECT tng_people.ID, tng_people.personID, CAST(SUBSTRING(p.personID,2) AS UNSIGNED) AS personIDnum, lastname, firstname, lnprefix, tng_people.living, tng_people.private, p.title, p.prefix, p.suffix, p.nameorder, p.birthdate, p.birthdatetr, YEAR(p.birthdatetr) as birthyear, p.birthplace, p.altbirthdate, p.altbirthdatetr, YEAR(p.altbirthdatetr) as altbirthyear, p.altbirthplace, p.deathdate, p.deathplace, p.burialdate, p.burialplace, p.living, p.private, p.branch, p.gedcom, t.treename, p.changedby, DATE_FORMAT(p.changedate,"%d %b %Y") as changedatef FROM tng_people p JOIN tng_trees t ON p.gedcom = t.gedcom WHERE 1=1 ORDER BY p.lastname, p.lnprefix, p.firstname, IF(p.birthdatetr, p.birthdatetr, p.altbirthdatetr) LIMIT 50 Unknown column 'tng_people.ID' in 'field list' Did it really work for you there? I didn't attempt the change because Darrin changed the query coding structure, thus I just commented the mod's code out for the admin_people.php target locations. Ron Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted January 20 Report Share Posted January 20 On 1/19/2026 at 11:41 AM, Derrick said: line 24: %target getperson.php verified line 26: %location #1 %insert:after not installed line 42: %location #2 %insert:after not installed line 53: %location #3 %insert:after not installed line 67: %location #4 %insert:after not installed line 81: %location #5 v486 %insert:after Bad target line 94: %location #6 %insert:after not installed Derrick, Like Rob, I don't see mod manager errors in that section of living color mod to the target:getperson.php, but rather to the target:admin_people.php. What version of the mod are you trying to install? v15.0.0.25, the latest, only has 3 locations for getperson, with no errors versus your display of 7 locations with an error. Perhaps from a different mod? I checked older versions of the living color mod and none of them had those getperson location target. line 122: %target getperson.php verified line 125: %location #1 %insert:after not installed line 136: %location #2 %insert:after not installed line 146: %location #3 %insert:before not installed Ron p.s. my line numbers are 1-line different than the wiki version, since I added one line to the mod. Quote Link to comment Share on other sites More sharing options...
Rob Severijns Posted January 20 Report Share Posted January 20 @tngrlkrz You're correct Ron, I hadn't noticed that error before. Thx for pointing it out to me. @Sandor! Sorry for the mis-information. Will need to wait for Rick. Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted January 21 Report Share Posted January 21 Rick Bisbee has updated the mod to install on TNG 15.0.4. Installs and tested out OK. Living Color Mod - TNG_Wiki . Ron Quote Link to comment Share on other sites More sharing options...
Sandor! Posted January 23 Report Share Posted January 23 On 1/20/2026 at 5:18 PM, Rob Severijns said: @tngrlkrz You're correct Ron, I hadn't noticed that error before. Thx for pointing it out to me. @Sandor! Sorry for the mis-information. Will need to wait for Rick. No problem Rob, it is solved now the update is available. Quote Link to comment Share on other sites More sharing options...
Derrick Posted January 27 Author Report Share Posted January 27 thank you! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.