Jump to content
TNG Community

All Activity

This stream auto-updates     

  1. Past hour
  2. I found this https://www.hostinger.com/tutorials/ssh-tutorial-how-does-ssh-work turns out you're okay if you're on a Mac or using Linux, but it appears you have to install additional software if you're using windows to access SSH.
  3. Only if the hosting service provides shell access. Most do not. I use WampServer on my local machine. I guess I could try it there. My WampServer is running PHP 5.6 since that is the default on my hosting site. I do have a test subdomain running PHP 7.2.13
  4. Roger, I saw php7cc, but it was one of the "arcane" (to me) softwares, wanting me to download a "phar package" and use composer or a "docker image" ???, and I already have enough to do without adding that additional overhead (I'm okay with not being up-to-speed on all the new techniques). Regarding your using a Mac -- maybe SSH or something like that will allow a type of command-line access directly through your MAMP installation via PHP. (I have actually done that once a long time ago (not with a Mac but from the remote site). I believe I accessed it through cPanel but, as memory fails me, it involved more overhead than I wanted. Just checked, SSH Access is available from cPanel and then it wants SSH keys. If you get it working -- without too much hassle -- share your experience with me. I really dislike feeling stupid.
  5. You have officially exceeded my skill level, sorry. I thought there was a way to access a command prompt on a remote Linux server ... ? Is it called a terminal? Perhaps it is the SSH Command. I searched and found CLI (command line interface) for PHP, but don't know if it's applicable. My search for "compatibility testing for php 7" found several techniques, all of which used what I consider to be arcane techniques targeted to professionals working in a group environment. I just want to download a PHP script and use it and php7mar is the only one I found where I was able to do that.
  6. Yesterday
  7. php7mar appears to be a command line program so how can I run it on a host that does not allow command line access?
  8. Another item -- when you change PHP version, there are two sections to it -- extensions and options. My advice is to copy what you have at the current time and see if they're set for the new version. I believe the default option on cPanel will satisfy all needs of TNG. This caused me some headaches on another site as I glibly set a newer PHP version and some code had problems and I had to go back and check the extensions and options.
  9. Using version 12.0.3. I'm trying to understand the pros and cons of using Notes vs Custom Events for entering residence, occupation as reported in census records and other sources. I've read the Wiki and the Help For This Area but what I need to know is how the parts all move together. There must be an advantage for entering data in a certain field but so far, all I can determine is that entering the info as a Custom Event allows it to show in the Timeline. Does it affect how reports are compiled? http://www.allisonfamilytree.net/getperson.php?personID=I274&tree=allison Oh, great, another puzzle! I was going to show a screen shot for my g-grandfather, Ami's dad, for comparison's sake - I entered info as a note, not a special event - but now I'm more confused. http://www.allisonfamilytree.net/getperson.php?personID=I271&tree=allison I haven't added the 1900 US Census as a source for my g-grandfather yet so why does it show Occupation in 1900? Getting ever more curious, I checked my g-grandmother's page. http://www.allisonfamilytree.net/getperson.php?personID=I272&tree=allison I have not linked the 1900 Census as a source yet, nor have I entered a note or special event for occupation. And yet it shows up on her timeline. Plus births are doubled. I read the Wiki on Timelines but the examples don't look like mine so I'm not sure how to fix this. So I have two questions. One, what are the pros and cons of Notes vs Custom Events? How does it affect other software functions? Two, what is going on with my timelines? What do I need to do to get it to display correctly? Two steps forward, one back.... TIA!
  10. I tried to run the php7mar on my Macintosh, but couldn't get it to run - it gave an error on line 58 that I didn't understand. But I did manage to get php7cc to run and it produced a giant list of issues - some in TNG, some in Mods, some in WordPress and some in plugins Ai Yi Yi Yi Yi Roger
  11. Bruce Roy

    Reports do not show

    See Ken Roy's post above. I had already done what he suggested with the upgrade but I had to re-do it twice to get a result - perhaps because my computer was still reading the old version of reports.php. So quit TNG and then re-start.
  12. ljalbert

    How did you hear about TNG?

    I first saw TNG on the Blackburn Family Association website in '03. It wasn't until last year, when my cousins started asking me more about our family genealogy, that I started looking for ways to share it with them that I considered options beyond paper records. I tried Ancestry and Family Search first. I found useful information but in the end, I decided that neither was the way I wanted to go. I also tried the free version of Legacy Family Tree. I went back to the Blackburn site and explored it more, I looked at other user sites and I read reviews. And then I purchased the software. I'm liking it a lot. As others above have pointed out, the support is a huge plus, not just from you, Darrin, but from TNG user community. I had a software glitch at Ancestry's end but my request for tech help got zero response. However - big however - what I'd appreciate, what I really need, is information about how the pieces fit together. Right now, I'm trying to figure out what's the best way to add information about occupation, residence, etc to an ancestor's page. I've read the Wiki, and the "Help For This Area" but I'm still not clear on the pros and cons of Notes versus Custom Event options. Does it impact the reports function? I haven't a clue. I'm off to post the question and hopefully figure it out.
  13. I'm running TNG 10 -- but my post is about helping people who either have older versions (solved by updating) or code outside of TNG, as is my case. Which is why I question making this a wiki entry. I suspect by far the majority of TNG users have little to no extra PHP code and won't be interested in this topic. This topic might better be on a PHP forum, but I thought it might be of interest to others with TNG installations.
  14. Tom, What version of TNG are you running on your site? Sounds like you are running something older than TNG 10.1 The changes required for the TNG 10.1 upgrade of mods or user pages were discussed in the TNG Wiki article Dealing with Mods in TNG 10.1 when TNG 10.1 came out.
  15. Maybe you missed the point of my post. Compability testing is to see if code will run on a different platform, in this case I am checking to see if my code will run in PHP7. All the code listed is PHP code. Technically, mySQL code would be things like INSERT, UPDATE, JOIN, SELECT, etc. statements and the PHP mysqli interface sends those instructions to the mySQL database engine. PHP 7 offers only two APIs to interface with the mySQL server/engine -- PDO and mysqli (the "i" stands for "improved"). A third API was the older driver coded as mysql and it is no longer available in PHP 7, hence the references to "deprecated functions" ... problem is the mysql code is not deprecated, it is entirely missing from the PHP 7 engine. So, what I posted is directly due to PHP 7 as the PHP code shown will not execute properly (or at all) with PHP 7. If you're trying to upgrade to PHP 7, you want this information.
  16. Newfloridian

    checking PHP compability (e.g. upgrade to PHP7)

    The first thing to say about the code snippet you provided is that PHP is reporting deprecated terms. In fact the main issue you are seeing here is not directly due to PHP 7 (or otherwise) but the use of deprecated coding in MySQL. PHP 7 (and indeed TNG since the days of version 10 - one of the main reasons for the upgrade then) has required the use of the mysqli expressions in the code. Alan
  17. This might make a helpful wiki entry, but I'm not comfortable with my expertise and so I submit it to the group for discussion, refinement and a decision on whether to put it in the wiki. Some folks may be having difficulty upgrading their sites to PHP 7 -- especially if they have code outside of TNG. (For example, I have numerous "sub sites" at http://MyKindred.com that use contact forms and other pages that currently won't work under PHP 7). Here is a good article -- How to Check PHP Version Compatibility After much searching, I settled on php7mar -- https://github.com/Alexia/php7mar I am doing my development using XAMPP on a Win-10 desktop. To run this, I open the command prompt and type -- php mar.php -f="path.to.tolder.or.file" PHP7MAR generates markdown format reports. The report for my web site was over 150 kB. A sample is below (the error at the top of the report is due to my version of XAMPP using PHP 5.6): 2019-01-21T14:43:02-06:00 Scanning C:\Users\.....\public_html Including file extensions: php ERROR! Syntax checking was selected and a PHP binary lower than 7.0.0-dev was specified. Processed 1018559 lines contained in 5166 files. Processing took 1621.9391770363 seconds. #### C:\Users\.....\public_html\cloud\dna\results\dna-new\includes\functions.php * deprecatedFunctions * Line 9: ` // $result = mysql_query($query);` * Line 14: ` // while ($row = mysql_fetch_array($result, MYSQL_ASSOC)) {` * Line 24: ` // mysql_free_result($result);` #### C:\Users\.....\public_html\cloud\dna\results\dna-new\includes\make_info_table.php * deprecatedFunctions * Line 110: ` //echo ("<p>" . mysql_error() . "</p>\n");` #### C:\Users\.....\public_html\cloud\dna\results\dna-new\includes\makehtml.php * deprecatedFunctions * Line 31: ` echo ("<p>" . mysql_error() . "</p>\n");` * Line 120: ` echo ("<p>" . mysql_error() . "</p>\n");` #### C:\Users\.....\public_html\cloud\dna\results\dna-new\includes\maketables.php * deprecatedFunctions * Line 131: ` //echo ("<p>" . mysql_error() . "</p>\n");` * Line 149: ` //echo ("<p>" . mysql_error() . "</p>\n");` * Line 172: ` //echo ("<p>" . mysql_error() . "</p>\n");` #### C:\Users\.....\public_html\cloud\dna\results\dna-new\includes\parse_ftdna_y_xml.php * deprecatedFunctions * Line 66: ` //if (!mysql_query($query)) {` * Line 74: ` //if (!mysql_query($query)) {` #### C:\Users\.....\public_html\cloud\dna\results-new\debug\MyLogPHP.class.php * oldClassConstructors * Line 44: ` function MyLogPHP($logfilename = './_MyLogPHP-1.2.log.csv', $separator = ',') {` Now comes the work of going through this and deciding what to change and then mirroring that to the live web site.
  18. manofmull

    Hide source media

    FGW is the Worksheet tab mod https://tng.lythgoes.net/wiki/index.php?title=FGW_Tabs_Mod It has to be uninstalled first before installing the FFT mod, which I did but made no difference. There's no mention of a problem with the RPP mod which I don't have, but I do have another 60+ mods installed. I can live without the FFT mod as the others are required more. M
  19. borynka

    Reports do not show

    I have the same problem. After reinstalling 12.0.3 I see my reports, but I can't edit them via "Administration", because after clicking on the reports the above mentioned message appears again. What else can I do? Thanks in advance for the help.
  20. note that I'm running PHP 5.6 on the MyKindred.com site as I haven't upgraded TNG and I have other scripts that won't run under PHP 7. If you're interested in scanning for problem files (WRT upgrading PHP), I suggest php7mar. I have other sites whose owners have current versions of TNG and they are running PHP 7.3.
  21. Jakob, I also recommend simplyhosting.net (as does the author of TNG). Most hosting companies, simplyhosting included, will transfer a site for you at no charge. You give them the user name and password to your current site and they pull all code and databases and install them on their server. With simplyhosting, this usually can be done in a few minutes to an hour or so. Once that's done, you may have to tweak the new site to get it running smoothly. When I do this, I leave the current site working (i.e. I don't change DNS pointers until the new site is working). That way visitors to your site will see the version on the original host and not your new site-in-progress. The host will give you a temporary URL -- it will likely be an IP address rather than a domain name. You can work on the new site until you're happy with it. Then, go to your registrar and change the DNS pointers to the new host and cancel the account with the old host. Below is a cPanel screenshot from one of my simplyhosting.net accounts showing how to set the PHP version. Tom
  22. kelly7552

    transferring data from ancestry

    Ken, Thank you so much for the advice. I'm excited about TNG, but getting it to work seems a struggle. Using rootsmagic seems to work, but I'll need to approve any changes I make to the ancestry db into roots magic, then none of the media files came over intact, they all indicated media but nothing was really viewable, also living people's names were showing up in odd places in TNG. So I've simplified the workflow to have roots magic 'privitize' the people and not TNG, and I'm not importing media. Do you know if the TNG records will be stable enough that I could re-connect media on TNG without losing media again when I re-import the gedcom from rootsmagic? Also, between ancestry and tng, who is screwing up the generation of gedcoms? Is Ancestry producing a bad gedcom or TNG misinterpreting ancestry.com's gedcom? Bill
  23. fluffy82

    Hide source media

    Fixed Family Tab works fine for me, as long as I don't have Regroup Person Profile installed. When I uninstall the latter, FFT works again. What is FGW exactly?
  24. manofmull

    Hide source media

    I took a look at Fixed Family Tab mod and I got "cannot instal" ("instal" is UK version of "install") Not only did I uninstal FGW first, I tried deleting it too. < line 149: %textexists tag is unknown > M
  25. Ken Roy

    Hide source media

    That sounds like a mod coding error. Report the problem to the mod developer using his wiki mod page Mod Support links Mods do not get automatically included in TNG. Users must ask Darrin to include the mod(s)
  26. fluffy82

    Hide source media

    Yes, I think I'll keep it indeed. Some of the "incompatible mods" I had to remove are actually more or less included in this one. I have two small issues, but they are not impossible to live with... There seems to be a ">" printed above the name on the profile page. It doesn't really disturb me, but it looks silly. And the mod is incompatible with the "Fixed Family Tab" mod, which I really like. But I'm hoping that in a next version of TNG, the Fixed Family Tab will be integrated into the standard TNG
  27. Ken Roy

    transferring data from ancestry

    Bill, I think the import from RootsMagic should work better than a GEDCOM exported from Ancestry. Note however, that while I played with RootsMagic in the past and imported my geocoded locations from that software, i am still using PAF. Since PAF is my master database, I use the Replace All Data option on import. I know of at least one user who uses RootsMagic to maintain his data on Ancestry and on TNG, but he is only active on the user2list I use the procedure described in Import Data
  1. Load more activity
×