klooster 0 Report post Posted yesterday at 05:38 PM This is how it looks on my website, with my integration method of course, I tweaked the css colors, background etc. Kloosterman example Looks oké to me. Quote Share this post Link to post Share on other sites
mjaro 0 Report post Posted yesterday at 05:53 PM 6 minutes ago, klooster said: Looks oké to me. Looks great, even better than in my own site 🤔 (Sorry for the previous advice, it didn't make much sense.) Congrats! Michał Quote Share this post Link to post Share on other sites
theKiwi 0 Report post Posted yesterday at 06:11 PM 1 hour ago, tngrlkrz said: Have any of the other folks on this thread set error logging for warnings and able to confirm what Ken and I see? I just turned on E_ALL and to load my testing page generated 6,203 errors like this [Tue Feb 23 13:08:24 2021] [error] [client 96.42.131.218] PHP Stack trace: [Tue Feb 23 13:08:24 2021] [error] [client 96.42.131.218] PHP 1. {main}() /Library/WebServer/Documents/TNG_WordPress/tng_13.0/connections.php:0 [Tue Feb 23 13:08:24 2021] [error] [client 96.42.131.218] PHP 2. include() /Library/WebServer/Documents/TNG_WordPress/tng_13.0/connections.php:27 [Tue Feb 23 13:08:24 2021] [error] [client 96.42.131.218] PHP Warning: Invalid argument supplied for foreach() in /Library/WebServer/Documents/TNG_WordPress/tng_13.0/connections-graph.php on line 79 i.e. a block of lines like this 6,203 times. Roger Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted yesterday at 08:00 PM 4 hours ago, mjaro said: Ken, I believe this can occur only if there is an inconsistency in the database Maybe someone started adding a family and the session was broken? Maybe there is a family of 0 persons (containing neither a pair nor a single) ? I you uncomment line 82 and run the program (i.e., enter Connections tab) you will see a looong text showing "parent-child" pairs, and in one place you will see the warning you mentioned. Maybe you can then detect which family ID is suspected (see previous and next parentID). Or you could export gedcom and send it to me? No better idea so far Michał Michal, If you implement the change that Michel Kirsch recommended above in It eliminates the warning errors that I am seeing. As Michel indicated not all families have children. Michel's fix was tested in your v4 connections-graph.php Quote Share this post Link to post Share on other sites
mjaro 0 Report post Posted 23 hours ago Michel, Ken, Roger, Ron, and Kare. You are all right (especially Michel, of course) For the next mod sub-version I'll include the corrected file. I've made also some additional internal checkings to avoid wornings. Imagine, I couldn't see any warnings because my hoster doesn't allow me to change server settings. Fortunately, Kare sent me a more detailed log of warnings, and tested corrected file version. Thank you all and I'm sorry it took so long. Michał Quote Share this post Link to post Share on other sites
Ken Roy 0 Report post Posted 22 hours ago (edited) Michal, You should take a look at the following 2 mods Prolog mod which has an Edit Option that llows you to change the error reporting level Show PHP Error Log I often change the mod to point to the Apache error log on my WampServer environment I use both mods. There is a link in the second mod on instructions on how to setup your php.ini overrides to capture the PHP error log The mods are necessary when you do not have access to your server PHP error log Edited 22 hours ago by Ken Roy fix senternce Quote Share this post Link to post Share on other sites
Michel KIRSCH 0 Report post Posted 22 hours ago Michal, I've followed Ken's advice some months ago : The Prolog Mod has changed my life ! Michel Quote Share this post Link to post Share on other sites
mjaro 0 Report post Posted 44 minutes ago Ken, Michel, I'm now apprentice on both mods. I feel better and better... but the "learning curve" is going to be looong (as Ron commented some time ago). Thank you for advice, the results will be visible ...after time! Michał Quote Share this post Link to post Share on other sites
mjaro 0 Report post Posted 18 minutes ago The next mod update is almost ready. Some modifications I made: mod option for diplaying gender icons in boxes; legend for bullets; parameters saved for the session time; Wordpress compatibility improved: gender icons in boxes, no PHP warnings, summary message format Some languages need 3 additional sentences (Dutch, French, German) I attach zip file. I'll be grateful if someone could look if it works not only on my site. I believe it should work OK, but I know it is a rare case... Michał Connections_v13.0.3.4a.zip Quote Share this post Link to post Share on other sites