Jump to content
TNG Community
jefflev

Ancestor charts are empty

Recommended Posts

Martin J Mosley

Jeff,

Can't tell you exactly what is wrong, but if you look closely behind the top right side of the chart, the screen is marked 'loading'.

Suggests to me you have a script which is not completing?

Share this post


Link to post
Share on other sites
svoght

There's definitely a problem with one of your scripts. When I load the page in Firefox and view the Error Console, I get this message:

Error: missing ) in parenthetical

Source File: http://www.leverettefamily.info/e107_plugi.../tngpedigree.js

Line: 106, Column: 10

Somewhere your JSON script is being wrapped by an extra opening parenthesis, but it's not obvious to me where the source of the problem is. I also use e107 as my wrapper and don't have this issue, so it might be specific to either your theme or some of the additional e107 plugins that you're using (for instance, try disabling the e107 lightbox plugin and see if that resolves it?) Another possibility is that your web host is adding some stray code to your pages that is mucking with the scripts.

I also use e107 as my TNG wrapper so it's not a bug specific to e107, but must be something specific to your installation.

-Steve

Share this post


Link to post
Share on other sites
Ken Roy

There's definitely a problem with one of your scripts. When I load the page in Firefox and view the Error Console, I get this message:

Somewhere your JSON script is being wrapped by an extra opening parenthesis, but it's not obvious to me where the source of the problem is. I also use e107 as my wrapper and don't have this issue, so it might be specific to either your theme or some of the additional e107 plugins that you're using (for instance, try disabling the e107 lightbox plugin and see if that resolves it?) Another possibility is that your web host is adding some stray code to your pages that is mucking with the scripts.

I also use e107 as my TNG wrapper so it's not a bug specific to e107, but must be something specific to your installation.

-Steve

I suspect it is because you are using parentheses around names, which is causing the javascripts to end prematurely. See LEVERETT James Hamilton where his mother's name is shown as Fereba (Pherobe)

Share this post


Link to post
Share on other sites
theKiwi

I suspect it is because you are using parentheses around names, which is causing the javascripts to end prematurely. See LEVERETT James Hamilton where his mother's name is shown as Fereba (Pherobe)

I thought of that, but it won't draw this chart

http://www.leverettefamily.info/e107_plugi...mp;tree=JLHTree

which is for a single person called Sarah - she has no ancestors as you'll see if you click the Text chart link, yet it still won't draw the chart. So it has to be something else hidden away somewhere.

Roger

Share this post


Link to post
Share on other sites
svoght

On a related note I see that you're using an un-modified version of the tngIL integration plugin for e107. The tngIL group on here has done a bit of modification to the current plugin (current version 1.5b4, plus some mods to the TNG file genlib.php). The modifications to genlib.php deal with some page rendering issues that cause duplicate header and page information to be inserted into wrapped TNG pages, including two <!DOCTYPE> declarations, two <head> sections, and so forth. It's possible that your problem is caused by this duplication, so you could try replacing your current TNG genlib.php file with the customized version attached here.

genlib.php

We're in the process of creating a tngIL version 2.0 that will automate this entire process and make it much easier to use, so stay tuned to the e107 forum for news and updates about that! (And if you have any other tngIL or e107 questions, pop on over to ask.)

-Steve

Share this post


Link to post
Share on other sites
jefflev

I have went through 6 different themes, disabled the extra plugins plus I went through all 1731 names and removed all the parentheses which were only 8 and replaced the genlib.php with the one attached to Steve's post but still no luck.

I'm still using the same hosting company ICDSoft now as I was before the TNG reinstall so I don't think my problem is coming from my hosting company. As far as the JSON script is concerned, I'm clueless! Would it be possible to compare my tngpedigree.js file to someone else's same file? Maybe my problem could be found that way! Let me know!

Thanks

Jeff

Share this post


Link to post
Share on other sites
theKiwi

Try this idea - prevent the file pedjson.php from being "dealt with" by your theme - the box area of the chart is drawn by this file and if your theme is handling that, it will be wrapping all of that in the theme as well as the pedigree.php which is calling pedjson.php

So I'm clueless about how you'd achieve this, but my tired olde braine is thinking that this has been a fix in the past with other CMS sites - prevent that file being handled by the theme.

Note the parentheses are not the issue here - other sites work just fine with them - eg

http://testing.lisaandroger.com/pedigree.p...&tree=Roger

shows the chart with ( ) around a name no problem.

Roger

Share this post


Link to post
Share on other sites
jefflev

Try this idea - prevent the file pedjson.php from being "dealt with" by your theme - the box area of the chart is drawn by this file and if your theme is handling that, it will be wrapping all of that in the theme as well as the pedigree.php which is calling pedjson.php

So I'm clueless about how you'd achieve this, but my tired olde braine is thinking that this has been a fix in the past with other CMS sites - prevent that file being handled by the theme.

Note the parentheses are not the issue here - other sites work just fine with them - eg

http://testing.lisaandroger.com/pedigree.p...&tree=Roger

shows the chart with ( ) around a name no problem.

Roger

I went into the e107admin/tngIL/Intergration settings and placed the bullet in the non-wrapped location and now the the ancestor charts load up. Now what do I do?

Share this post


Link to post
Share on other sites
theKiwi

I went into the e107admin/tngIL/Intergration settings and placed the bullet in the non-wrapped location and now the the ancestor charts load up. Now what do I do?

As I wrote above, you need to figure out how to tell tngIL to NOT handle the pedjson.php file only, and then these charts will draw correctly I suspect.

I don't know what what you wrote above means, but it seems like you've told tngIL to not wrap the whole TNG setup, but you should be able to find a way to tell it to not wrap only that 1 file, and then you should have your theme AND the charts will draw.

For example on this page

http://roger.lisaandroger.com/pedigree.php...&tree=Roger

the chart draws. If I change pedigree to pedjson in the URL and load that (this is what the pedigree.php file calls to get the actual data for the boxes), I get a file downloaded that contains this

{
"people":[{"personID":"I16","tree":"Roger","backperson":"","gender":"M","name":"William Moffat","famc":"F16","photosrc":"-1","photolink":"","babbr":"B","bdate":"25 May 1829","bplace":"Blackerstone, Longformacus, Berwickshire, Scotland","dabbr":"D","ddate":"8 September 1895","dplace":"Balclutha, O'tago, New Zealand",
"spfams":[{"spID":"I17","spname":"Ellen Shiels Houliston","spFamID":"F9",
"children":[{"childID":"I519","name":"George Moffat"},
{"childID":"I520","name":"Alison Wright Moffat"},
{"childID":"I8","name":"Robert "Bob" (Bob) Moffat"},
{"childID":"I521","name":"Isabella Moffat"},
{"childID":"I522","name":"Alexander Moffat"},
{"childID":"I523","name":"Ellen Isabella Moffat"},
{"childID":"I524","name":"Adam Houliston Moffat"},
{"childID":"I525","name":"Samuel William Moffat"},
{"childID":"I526","name":"Elizabeth Jane Moffat"}]}
]},
{"personID":"I32","tree":"Roger","backperson":"I16","gender":"M","name":"George Moffat","famc":"-1","photosrc":"-1","photolink":"","babbr":"B","bdate":"about 1792","bplace":"Berwickshire, Scotland","dabbr":"D","ddate":"15 January 1844","dplace":"Harelawside Farm, Coldingham, Berwickshire, Scotland",
"spfams":[{"spID":"I33","spname":"Isabel Clark","spFamID":"F16",
"children":[{"childID":"I512","name":"Alexander Moffat"},
{"childID":"I513","name":"Agnes Moffat"},
{"childID":"I514","name":"Margaret Moffat"},
{"childID":"I15298","name":"Isabella Moffat"},
{"childID":"I515","name":"Elisabeth Moffat"},
{"childID":"I16","name":"William Moffat"},
{"childID":"I516","name":"George Moffat"},
{"childID":"I517","name":"Catherine Moffat"}]}
]},
{"personID":"I33","tree":"Roger","backperson":"I16","gender":"F","name":"Isabel Clark","famc":"F26","photosrc":"-1","photolink":"","babbr":"B","bdate":"before 8 January 1792","bplace":"Fogo, Berwickshire, Scotland","dabbr":"D","ddate":"31 January 1858","dplace":"Penmanshiel, Cockburnspath, Berwickshire, Scotland",
"spfams":[{"spID":"I32","spname":"George Moffat","spFamID":"F16",
"children":[{"childID":"I512","name":"Alexander Moffat"},
{"childID":"I513","name":"Agnes Moffat"},
{"childID":"I514","name":"Margaret Moffat"},
{"childID":"I15298","name":"Isabella Moffat"},
{"childID":"I515","name":"Elisabeth Moffat"},
{"childID":"I16","name":"William Moffat"},
{"childID":"I516","name":"George Moffat"},
{"childID":"I517","name":"Catherine Moffat"}]}
]},
{"personID":"I66","tree":"Roger","backperson":"I33","gender":"M","name":"William Clark","famc":"-1","photosrc":"-1","photolink":"","babbr":"","bdate":"","bplace":"","dabbr":"","ddate":"","dplace":"",
"spfams":[{"spID":"I67","spname":"Agnes Donaldson","spFamID":"F26",
"children":[{"childID":"I33","name":"Isabel Clark"}]}
]},
{"personID":"I67","tree":"Roger","backperson":"I33","gender":"F","name":"Agnes Donaldson","famc":"F35","photosrc":"-1","photolink":"","babbr":"B","bdate":"1763","bplace":"Duns, Berwickshire, Scotland","dabbr":"D","ddate":"Yes - date unknown ","dplace":"",
"spfams":[{"spID":"I66","spname":"William Clark","spFamID":"F26",
"children":[{"childID":"I33","name":"Isabel Clark"}]}
]},
{"personID":"I134","tree":"Roger","backperson":"I67","gender":"M","name":"James Donaldson","famc":"F42","photosrc":"-1","photolink":"","babbr":"B","bdate":"1734","bplace":"Nenthorn, Berwickshire, Scotland","dabbr":"D","ddate":"Yes - date unknown ","dplace":"",
"spfams":[{"spID":"I135","spname":"Helen Foord","spFamID":"F35",
"children":[{"childID":"I67","name":"Agnes Donaldson"},
{"childID":"I2530","name":"James Donaldson"},
{"childID":"I2531","name":"Robert Donaldson"},
{"childID":"I2532","name":"William Donaldson"}]}
]},
{"personID":"I135","tree":"Roger","backperson":"I67","gender":"F","name":"Helen Foord","famc":"F43","photosrc":"-1","photolink":"","babbr":"B","bdate":"","bplace":"","dabbr":"D","ddate":"Yes - date unknown ","dplace":"",
"spfams":[{"spID":"I134","spname":"James Donaldson","spFamID":"F35",
"children":[{"childID":"I67","name":"Agnes Donaldson"},
{"childID":"I2530","name":"James Donaldson"},
{"childID":"I2531","name":"Robert Donaldson"},
{"childID":"I2532","name":"William Donaldson"}]}
]}],
"families":[{"famID":"F16","husband":"I32","wife":"I33","mdate":"30 May 1817","mplace":"Bunkle & Preston, Berwickshire, Scotland","mabbr":"M"},
{"famID":"F26","husband":"I66","wife":"I67","mdate":"18 November 1787","mplace":"Eccles, Berwickshire, Scotland","mabbr":"M"},
{"famID":"F35","husband":"I134","wife":"I135","mdate":"","mplace":"","mabbr":""}]
}
but on your site when I tried it earlier all of that was wrapped with by the theme to have headers, footers, javascripts etc etc etc which is what was causing the charts to not draw - the "data part" was just a single line at the very bottom
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns='http://www.w3.org/1999/xhtml' xml:lang="en">
<head>
<meta http-equiv='content-type' content='text/html; charset=utf-8' />
<meta http-equiv='content-style-type' content='text/css' />
<meta http-equiv='content-language' content='en' />
<title>Leverette Family Website</title>
<!-- *JS* -->
<script type='text/javascript' src='/e107_files/e107.js'></script>
<!-- *CSS* -->
<!-- Theme css -->
<link rel='stylesheet' href='/e107_themes/bluelamb_v1/style.css' type='text/css' media='all' />
<link rel='stylesheet' href='/e107_files/e107.css' type='text/css' />
<!-- *META* -->
<!-- lightbox meta -->

<script type='text/javascript'>
<!--
var fileLoadingImage =        '../../e107_plugins/lightbox/src/images/loading.gif';
var fileBottomNavCloseImage = '../../e107_plugins/lightbox/src/images/close.gif';
var resizeSpeed = 7;
var borderSize = 10;
var overlayOpacity = 0.8;
var animate = 1;
var lbLan1 = 'Picture';
var lbLan2 = 'of';
var lbLan3 = 'Click the left or right side of the picture to go to the next/previous image';
// -->
</script>
            <!-- Lightbox CSS -->
            <link rel="stylesheet" href="../../e107_plugins/lightbox/src/css/lightbox.css" type="text/css" media="screen" />
        
        <!-- Prototype and Scriptaculous -->
        <script src="../../e107_plugins/lightbox/src/js/prototype.js" type="text/javascript"></script>
        <script src="../../e107_plugins/lightbox/src/js/scriptaculous.js?load=effects,window" type="text/javascript"></script>
    
            <!-- Lightbox JS -->
            <script src="../../e107_plugins/lightbox/src/js/lightbox.js" type="text/javascript"></script>
        
            <!-- Window default CSS (required) -->
            <link href="../../e107_plugins/lightbox/src/css/themes/default.css" rel="stylesheet" type="text/css" />
            <!-- Window theme (optional) -->
            <link href="../../e107_plugins/lightbox/src/css/themes/lightbox.css" rel="stylesheet" type="text/css" />
            <!-- Lightbox shared JS -->
        
            <script type='text/javascript'>
            <!--
            var lbWindowLib = true;
            var contentWin=null;
            //f-ajax file; w-window width; ttl - window title
            function e107Window(f,s,w,h,ttl){                
                if (contentWin != null) {
                    e107alert('','There is already opened window. Close it first and try again.',200);
                } else {
                    if(!w) w=350;
                    if(!h) h=400;
                    contentWin = new Window('e107_win',
                                            {className: 'lightbox', resizable: true,
                                                hideEffect:Effect.Fade, showEffect:Effect.Appear, minWidth: w, minHeight: h, zIndex: 6000,
                                                wiredDrag: true, title: ttl,
                                                closeCallback: function() { contentWin = null; return true; }
                                            });
                    if(!s && f) {
                        contentWin.setAjaxContent(f, {method: 'get'});
                    } else {
                        contentWin.getContent().update(s);
                    }
                    contentWin.setDestroyOnClose();
                    contentWin.showCenter();
                }
            }
            function e107confirm(f,s,w){              
                if(!s && f) {
                    var fcont = {url: f, options: {method: 'get'}};
                } else {
                    var fcont = s;
                }
                Dialog.confirm(fcont,
                    {   windowParameters: {className: 'lightbox', width:w},
                        okLabel: 'Ok', cancelLabel: 'Cancel',
                        ok: function() {return true;}, cancel: function() {return false;},
                        zIndex: 6000
                      
                    });
            }
            function e107alert(f,s,w){
                if(!s && f) {
                    var fcont = {url: f, options: {method: 'get'}};
                } else {
                    var fcont = s;
                }        
                Dialog.alert(fcont,
                    {windowParameters: {className: 'lightbox', width:w},
                        okLabel: 'Ok',
                        ok: function() {return true;},
                        zIndex: 6000
                        
                    });
            }
            // -->
            </script>
            <!-- log meta -->
<script type='text/javascript'>
<!--
document.write( '<link rel="stylesheet" type="text/css" href="/e107_plugins/log/log.php?referer=' + ref + '&color=' + colord + '&eself=' + eself + '&res=' + res + '">' );
// -->
</script>

<!-- onlineinfo_menu meta -->
<!-- tngIL meta -->

<!-- Core Meta Tags -->
<meta name="description" content="Family website and History Repository" />
<meta name="keywords" content="Leverette, Family History, Stephenson, Autry, McCranie, Genealogy," />
<link rel='icon' href='http://www.leverettefamily.info/favicon.ico' type='image/x-icon' />
<link rel='shortcut icon' href='http://www.leverettefamily.info/favicon.ico' type='image/xicon' />

<!-- *PRELOAD* -->
</head>
<body onload="externalLinks();">
<div id='header'><img src='../../e107_themes/bluelamb_v1/images/logo.png' style='width: 180px; height: 150px; display: block' alt='' /></div><div id='banner'><h1>Leverette Family Website</h1><h2>Dedicated in Loving Memory of Mike</h2>&nbsp;</div><table style='width: 100%;' cellpadding='0' cellspacing='0'><tr><td id='leftcontent'><div class='menuwrapper'><div class='columnwrap'><h4><img src='/e107_themes/bluelamb_v1/images/whitearrow_bluebg.png' alt='' width='6' height='9' /> Main Menu</h4>
<br />
    


<!-- Sitelinks (1) -->


<img src='/e107_themes/bluelamb_v1/images/bullet2.gif' alt='' /> <a href='/index.php'>Home</a><br />
<img src='/e107_themes/bluelamb_v1/images/bullet2.gif' alt='' /> <a href='/e107_plugins/guestbook/guestbook.php'>Guestbook</a><br />
<img src='/e107_themes/bluelamb_v1/images/bullet2.gif' alt='' /> <a href='/page.php?2'>Terms of Service</a><br />
<img src='/e107_themes/bluelamb_v1/images/bullet2.gif' alt='' /> <a href='/page.php?3'>Privacy Statement</a><br />
<img src='/e107_themes/bluelamb_v1/images/bluearrow_whitebg.png' alt='' /> <a href='http://www.leverettefamily.info/e107_plugins/tngIL/index.php'>Family History</a><br />
<img src='/e107_themes/bluelamb_v1/images/bullet2.gif' alt='' /> <a href='/e107_plugins/pviewgallery/pviewgallery.php'>Leverette's Photo Gallery</a><br />
<img src='/e107_themes/bluelamb_v1/images/bullet2.gif' alt='' /> <a href='/e107_plugins/forum/forum.php'>Forum</a><br />
<img src='/e107_themes/bluelamb_v1/images/bullet2.gif' alt='' /> <a href='/e107_plugins/calendar_menu/calendar.php'>Calendar</a><br />

    <br /><br />



<!-- end Site Links -->


<h4><img src='/e107_themes/bluelamb_v1/images/whitearrow_bluebg.png' alt='' width='6' height='9' /> Welcome Guest</h4>
<br />
    <script type='text/javascript' src='../../e107_plugins/onlineinfo_menu/switchcontent.js'></script><style rel="stylesheet" type="text/css">

#onlineinfodhtmltooltip{
position: absolute;
width: 100px;
border: 2px solid #000000;
padding: 2px;
background-color: #99CC66;
visibility: hidden;
z-index: 100;
}

</style>
<div id="onlineinfodhtmltooltip"></div>
<script type="text/javascript" src="../../e107_plugins/onlineinfo_menu/online.js"></script>
<script type="text/javascript">
var flashlinks=new Array()
function changelinkcolor(){
for (i=0; i< flashlinks.length; i++){
var flashtype=document.getElementById? flashlinks[i].getAttribute("flashtype")*1 : flashlinks[i].flashtype*1
var flashcolor=document.getElementById? flashlinks[i].getAttribute("flashcolor") : flashlinks[i].flashcolor
if (flashtype==0){
if (flashlinks[i].style.color!=flashcolor)
flashlinks[i].style.color=flashcolor
else
flashlinks[i].style.color=""
}
else if (flashtype==1){
if (flashlinks[i].style.backgroundColor!=flashcolor)
flashlinks[i].style.backgroundColor=flashcolor
else
flashlinks[i].style.backgroundColor=""
}
}
}

function init(){
var i=0
if (document.all){
while (eval("document.all.flashlink"+i)!=null){
flashlinks[i]= eval("document.all.flashlink"+i)
i++
}
}
else if (document.getElementById){
while (document.getElementById("flashlink"+i)!=null){
flashlinks[i]= document.getElementById("flashlink"+i)
i++
}
}
setInterval("changelinkcolor()", 500)
}

if (window.addEventListener)
window.addEventListener("load", init, false)
else if (window.attachEvent)
window.attachEvent("onload", init)
else if (document.all)
window.onload=init

</script>
<form method="post" action="http://www.leverettefamily.info/e107_plugins/tngIL/pedjson.php?personID=I269&amp;tree=JLHTree&amp;parentset=0&amp;display=standard&amp;generations=4">    <div style='text-align: center'>Username:     <br />    <input class='tbox login user' type='text' name='username' size='15' value='' maxlength='30' />
    <br />Password:     <br />    <input class='tbox login pass' type='password' name='userpass' size='15' value='' maxlength='20' />

    <br />      <input class='button' type='submit' name='userlogin' value='Login' />  <br /><input type='checkbox' name='autologin' value='1' checked='checked' />Remember me    <br />    <br />[ <a class='login_menu_link signup' href='../../signup.php' title="Signup">Signup</a> ]    <br />[ <a class='login_menu_link fpw' href='../../fpw.php' title="Forgot password?">Forgot password?</a> ]        </div>    </form><div style="text-align:left;" class="mediumtext"><img src="../../e107_plugins/onlineinfo_menu/images/keys.png" height="18px" /><b>User Color Key</b>:</div><div style="text-align:left; font-weight:bold; color:#FF0000;">Head Administrator</div><div style="text-align:left; font-weight:bold; color:#009966;">Administrator</div><div style="text-align:left; font-weight:bold; color:#ffff40;">Forum Moderator</div><div style="text-align:left; color:#0099FF;">Member</div>
        <script type='text/javascript'>
        var showhide=new switchcontent('switchgroup1', 'div') //Limit scanning of switch contents to just div elements
        showhide.setStatus('<img src="../../e107_plugins/onlineinfo_menu/images/minus.gif" width="11px" alt="" /> ', '<img src="../../e107_plugins/onlineinfo_menu/images/plus.gif" width="11px" alt="" /> ')
        // showhide.setColor('#FFFFFF','#EAAE10')
        showhide.collapsePrevious(false) //Allow more than 1 content to be open simultanously
        showhide.setPersist(1)
        showhide.init()
</script>
    <br /><br />
<h4><img src='/e107_themes/bluelamb_v1/images/whitearrow_bluebg.png' alt='' width='6' height='9' /> Welcome</h4>
<br />
    <form method="post" action="http://www.leverettefamily.info/e107_plugins/tngIL/pedjson.php?personID=I269&amp;tree=JLHTree&amp;parentset=0&amp;display=standard&amp;generations=4">    <div style='text-align: center'>Username:     <br />    <input class='tbox login user' type='text' name='username' id='username' size='15' value='' maxlength='30' />
    <br />Password:     <br />    <input class='tbox login pass' type='password' name='userpass' id='userpass' size='15' value='' maxlength='30' />
    <br />      <input class='button' type='submit' name='userlogin' value='Login' />  <br /><input type='checkbox' name='autologin' value='1' checked='checked' />Remember me    <br />    <br />[ <a class='login_menu_link signup' href='../../signup.php' title="Signup">Signup</a> ]    <br />[ <a class='login_menu_link fpw' href='../../fpw.php' title="Forgot password?">Forgot password?</a> ]        </div>    </form>
    <br /><br />
<h4><img src='/e107_themes/bluelamb_v1/images/whitearrow_bluebg.png' alt='' width='6' height='9' /> Visitors by Country Jan 2010</h4>
<br />
    <a href="http://s06.flagcounter.com/more/lnl"><img src="http://s06.flagcounter.com/count/lnl/bg=EAE4DF/txt=000000/border=EAE4DF/columns=2/maxflags=18/viewers=0/labels=1/pageviews=1/" alt="free counters"></a>
    <br /><br />
</div></div></td><td id='centercontent'><div class='columnwrap'>{
"people":[{"personID":"I269","tree":"JLHTree","backperson":"","gender":"F","name":"Sarah","famc":"-1","photosrc":"-1","photolink":"","babbr":"","bdate":"","bplace":"","dabbr":"","ddate":"","dplace":"",
"spfams":[{"spID":"I268","spname":"LEVERETT John, Sr.","spFamID":"F93",
"children":[{"childID":"I257","name":"LEVERETT John, Jr."}]}
]}]
}

Roger

Share this post


Link to post
Share on other sites
svoght

And of course it was the new pedjson.php file getting wrapped that did it! I forgot all about that major change in TNG 7.1.x.

The list of which TNG pages to always leave unwrapped is included in tngIL_begin.php. Because there are a bunch of new scripts in this version of TNG, we had to make some changes to that file (discussed in an earlier thread in this subtopic.)

Here's the current version of tngIL_begin.php -- replace your current copy with this one and you can keep your theme wrapped and your charts will work properly, along with PDF output and a bunch of other old lingering problems.

tngIL_begin.php

I'm annoyed that I didn't think of this as the immediate cause of your problem!

Share this post


Link to post
Share on other sites
jefflev

And of course it was the new pedjson.php file getting wrapped that did it! I forgot all about that major change in TNG 7.1.x.

The list of which TNG pages to always leave unwrapped is included in tngIL_begin.php. Because there are a bunch of new scripts in this version of TNG, we had to make some changes to that file (discussed in an earlier thread in this subtopic.)

Here's the current version of tngIL_begin.php -- replace your current copy with this one and you can keep your theme wrapped and your charts will work properly, along with PDF output and a bunch of other old lingering problems.

tngIL_begin.php

I'm annoyed that I didn't think of this as the immediate cause of your problem!

That attachment did the trick! Thanks guys for your responses, you guys are the greatest!

Jeff

Share this post


Link to post
Share on other sites
Jpaprocki

And of course it was the new pedjson.php file getting wrapped that did it! I forgot all about that major change in TNG 7.1.x.

The list of which TNG pages to always leave unwrapped is included in tngIL_begin.php. Because there are a bunch of new scripts in this version of TNG, we had to make some changes to that file (discussed in an earlier thread in this subtopic.)

Here's the current version of tngIL_begin.php -- replace your current copy with this one and you can keep your theme wrapped and your charts will work properly, along with PDF output and a bunch of other old lingering problems.

tngIL_begin.php

I'm annoyed that I didn't think of this as the immediate cause of your problem!

I finally uploaded a small gedcom file to my site to do some testing and had the exact same problem. I uploaded the tngIL_begin.php you attached and that did the trick for me also.

Thanks for the fix.

Share this post


Link to post
Share on other sites
lavoiep

I finally uploaded a small gedcom file to my site to do some testing and had the exact same problem. I uploaded the tngIL_begin.php you attached and that did the trick for me also.

Thanks for the fix.

I have the same problem. Where exactly do you place this file? I did a search of my tng directory to locate the old version and I can't find the file anywhere.

Share this post


Link to post
Share on other sites
svoght

I have the same problem. Where exactly do you place this file? I did a search of my tng directory to locate the old version and I can't find the file anywhere.

tngIL_begin.php should be found in your root TNG directory (which should be e107_plugins/tngIL/ ) along with all the other tngIL files.

Share this post


Link to post
Share on other sites
lavoiep

tngIL_begin.php should be found in your root TNG directory (which should be e107_plugins/tngIL/ ) along with all the other tngIL files.

I'm really confused here. I can't find this e107_plugins directory anywhere. I looked into the tngiles711.zip file and it's not there either. ?????? Am I missing something here???

Share this post


Link to post
Share on other sites
svoght

I'm really confused here. I can't find this e107_plugins directory anywhere. I looked into the tngiles711.zip file and it's not there either. ?????? Am I missing something here???

Is your site using the e107 content management system in conjunction with TNG? This thread and fix is specific to users who have installed the tngIL add-on for running the two systems together.

I think you might be in the wrong subtopic for your problem. What is your site URL?

(Also the current version of TNG is now 7.1.2, which fixes several bugs, so you might want to upgrade to that.)

Share this post


Link to post
Share on other sites
lavoiep

Is your site using the e107 content management system in conjunction with TNG? This thread and fix is specific to users who have installed the tngIL add-on for running the two systems together.

I think you might be in the wrong subtopic for your problem. What is your site URL?

(Also the current version of TNG is now 7.1.2, which fixes several bugs, so you might want to upgrade to that.)

I have tng installed on my windows XP. Have just installed e107 today. Not done with configuration yet. Will let you know how its working. Thanks for your quick response.

Share this post


Link to post
Share on other sites
lavoiep

I have tng installed on my windows XP. Have just installed e107 today. Not done with configuration yet. Will let you know how its working. Thanks for your quick response.

In order to get help I've installed TNG on a server at www.delavoye.ca/AFL

If you click on Pedigree Chart you'll notice that my ancestors cahrt is empty and is in loading... status

The descendants chart is fine.

Not using E107.

Can anyone shed light on this problem? Thanks

Share this post


Link to post
Share on other sites
lavoiep

Is your site using the e107 content management system in conjunction with TNG? This thread and fix is specific to users who have installed the tngIL add-on for running the two systems together.

I think you might be in the wrong subtopic for your problem. What is your site URL?

(Also the current version of TNG is now 7.1.2, which fixes several bugs, so you might want to upgrade to that.)

www.delavoye.ca/AFL

Share this post


Link to post
Share on other sites
svoght

In order to get help I've installed TNG on a server at www.delavoye.ca/AFL

If you click on Pedigree Chart you'll notice that my ancestors cahrt is empty and is in loading... status

The descendants chart is fine.

Not using E107.

If you're not using e107, you're in the wrong forum for support -- this is the e107 integration forum! You should take your question to the Questions and Answers forum where you will find many more people able to help you troubleshoot.

Your site is also having some other problems because when I just visited I got "Error: TNG is not communicating with your database. Please check your database settings and try again."

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×