Search the Community
Showing results for tags 'tng-v12'.
-
Importing FTM 2019 GEDCOM with media Categories into TNG Collections
Ian Davidson posted a topic in GEDCOMs and Software
On my desktop I've been using Family Tree Maker as my preferred data entry software for about the last 10 years. For somewhat longer than that I've been using TNG, more recently integrated with Wordpress, to display it, although I also sync to Ancestry. I've always been disappointed I couldn't get media automatically allocated to the correct TNG Collection after importing a GEDCOM produced by FTM. Sadly, my TNG tree hadn't been updated for quite a while, partly because my media links were a mess, with many "File not found" errors, multiple links to the same file etc and I kept procrastinating about facing the challenge to tidy it all up . Over the Christmas/New Year break I bit the bullet, upgraded TNG from v. 11.x to 12.2 and spent some time modifying the CSS files to harmonise with my Wordpress theme (another thing I'd been putting off). Then I started researching the media collections issue; the excellent "gotchas" item in this very wiki was the hallelujah moment when I started to see light at the end of the tunnel! That article led me to Stephen Conner's FTM to TNG Gedcom Fixer program, and also Robin Richmond's GEDCOM Converter mod. Because I was more specifically interested in the media collections I focused on the former. So I spent days modifying the media filenames using FTM to match the requirements of Stephen's Fixer program, a process that's easy enough if quite tedious. I had replicated my website onto my desktop (in a WAMP environment) to fiddle with the CSS and some other mods, so I could test importing a new GEDCOM without jeopardising the live site. I deleted all the existing media files from the tng \media folder and copied the newly-renamed files from my FTM media folder into their respective new website folders. When I imported the fixed GEDCOM file (selecting the options Replace all current data and Import media if present) I was confused to see weird results eg only 12 out of 37 headstones correctly allocated in TNG, 50 out of 269 documents, etc. I spent more time researching and studying the GEDCOM files before & after the fixer program but couldn't see any issues. Then I used PHPMyAdmin to study the TNG database and noticed entries in the media table that didn't look right, and furthermore the number of rows didn't correlate with the number of files. It finally twigged that TNG doesn't clear (ie empty) the media tables when doing a GEDCOM import, even if the option to replace all data is selected. I came to realise that renaming the media files had therefore left things even more messy than previously, and that what I should do is clear all the media tables before doing an import so that TNG would rebuild it from scratch on import. With a view to helping other in the same predicament who may not have the expertise or inclination to play around in the database with PHPMyAdmin I quickly found an excellent backgrounder and tutorial by Bob Cumberbatch on doing it the easy way from within TNG itself (which also confirmed my thoughts). When I followed Bob's procedure to clear all the tables, but NOT restoring the media table (thereby forcing TNG to rebuild it) and re-imported the GEDCOM, Happy Days - all looks great! So if you've waded through all the background, here's my step-by-step takeaway to get your FTM media Categories reflected in TNG Collections. I've tried to pull together tips and procedures from several different places together with my experience into one resource. This has been produced with FTM 2019 and TNG 12.2, but I believe it should work with at least the immediately previous versions of both (but not FTM 2012). It worked for me, but use it at your own risk . NOTE: This should only be done if you use only Family Tree Maker (or Ancestry and sync to FTM) for your data entry and use TNG only to display it! NOTE 2: Sorry Mac users but this process will only work on Windows machines, because Stephen Conner's GEDCOM Fixer program only runs on Windows (though maybe OK using a Windows emulator? Anyone able to confirm please comment below!) I highly recommend replicating your online TNG site to your desktop and backing everything up (including all your media files, before renaming them) so you don't jeopardise your live site in case this doesn't work for you. Do all your modifications on your desktop site and check everything before going through the same steps on your live site. That's beyond the scope of this article, but if you Google or search YouTube for "WAMP" or "XAMPP" you'll find plenty of guides to get a local webserver set up. Also beyond the scope of this article you'll need to be familiar with a File Transfer Protocol (FTP) program. Google or YouTube "FileZilla" for a start. Read the "gotchas" article on this wiki and the detailed information available on Stephen Conner's page (with its linked help docs) and Bob Cumberbatch's page, all as linked above, so that you understand the issues and what the proposed fixes do. Using FTM, rename your media files to match the requirements of Stephen Conner's fixer program. This might take quite some time, depending on your individual situation. Do the following in TNG. In Administration | Setup | Configuration | General Settings, Paths & Folders, setup the new media folders eg: In Administration | Setup | Configuration | Import Settings, make sure the Local [*] paths match those used by FTM on your computer, eg on my system this is (where "XXX" is my Windows username and "YYY" is my tree name in FTM) - yours might be very different: If you're not sure what this path is, either open your GEDCOM file (see below) in Notepad or similar, scroll to the bottom where the media entries are located and look for a line like the following: 1 FILE D:\Users\XXX\Documents\Family Tree Maker\YYY Media\p_4 generations.jpg or in Family Tree Maker (assuming you're using the default database path) go to the Tools | Options menu, General tab, copy the database path, eg for me this is: paste it into the TNG box and add "\[your tree name] Media\" on to the end of it, replacing [your tree name] with the actual name of your FTM tree. Note that in FTM, all media files are stored in the one folder, so you'll use the same path for all of the TNG settings. This path will be removed from that recorded in the GEDCOM file by TNG for each media file so that it can store just the actual filename. In Administration | Trees, for your selected or only tree, click the "Clear" icon: and answer OK to the prompt. When you get to this step on your live site you'd use your selected FTP program (eg FileZilla) for these steps, but initially of course this should be on your local machine so you'd use Windows Explorer/My Computer on Windows or Finder on a Mac to delete all the files in yout TNG media folder, then copy all your renamed media files from the FTM media folder into their respective new folders on your TNG installation, as described in Stephen Conner's documentation. In FTM, select the File | Export menu. The important options are highlighted here, other options at your discretion: then at the next prompt select Other as the Destination: Note the filename chosen when you click OK; you'll need it next. Follow the procedures in Stephen Conner's documentation to setup and run the fixer program, including installing any necessary Windows support files (one-off). From TNG's Administration | Import/Export page, select your "fixed" file, making sure it's not the original one exported from FTM: Select the important options as highlighted below, other options at your discretion: and finally click Import Data. Wait for a short while, then verify what you expect to see. Hopefully like me, you'll be a happy person! Enjoy! A huge thank you to Stephen Conner, Robin Richmond and Bob Cumberbatch for throwing light on this area, and certainly not least Darrin Lythgoe for making TNG so flexible and such a capable environment for our purposes! Cheers Ian Davidson -
Hi All looking at individuals seems to throw an error as below which looks like a table crash Any ideas on how to fix it please? I am not aware of anything that I have changed to cause this Thanks Alan Pearce An error has occurred in the TNG software. This could be due to a setup issue, an incomplete upgrade or a program bug. If you are the site owner, you may contact TNG support for help with this problem. Please copy the query below and paste it into your message. Query: SELECT display, tng_xnotes.note as note, tng_notelinks.eventID as eventID, tng_notelinks.xnoteID as xnoteID, tng_notelinks.ID as ID, noteID FROM tng_notelinks LEFT JOIN tng_xnotes on tng_notelinks.xnoteID = tng_xnotes.ID AND tng_notelinks.gedcom = tng_xnotes.gedcom LEFT JOIN tng_events ON tng_notelinks.eventID = tng_events.eventID LEFT JOIN tng_eventtypes on tng_eventtypes.eventtypeID = tng_events.eventtypeID WHERE tng_notelinks.persfamID="I0013" AND tng_notelinks.gedcom="Pearce" ORDER BY eventdatetr, tng_eventtypes.ordernum, tag, tng_notelinks.ordernum, ID Table './pearcea_tng/tng_xnotes' is marked as crashed and should be repaired
-
I'm unable to login with the known usernames and passwords for all the accounts I have. I'm unable to reset passwords. I looked in my phpadmin to check for user accounts. It shows only my admin account. I tried resetting the password with the email and username shown in myphpadmin. It says no known account with that email. I was able to login this a.m. without any issues. I haven't touched the code in several weeks. I'm stumped as to why all my user accounts aren't showing in myphpadmin or why I can't get a password reset. I'm using TNG 12.1 if I recall correctly since I can't log into my account to verify. Mac OS Sequoia 15.5.
-
There seems to be an anomaly concerning logging in on my website. If your browser automatically logs you in - or - you log in at the home page there is no problem. It works perfectly. If you try to log in while you are anywhere else on the site - such as an individual ancestor's page, then it hangs up and shows a blank page. The url says it is hung at processlogin.php. However, if you hit the browser's back button it will go back to where you were and it will show you logged in. The same thing happens whether you are using Firefox, Chrome, or Opera. When using Edge, it just jumps back to the Home page and shows you logged in. This is not the way it is supposed to work. I am using TNG ver 12.2. This problem did not exist before I upgraded. Perhaps I did something wrong setting it up. Anyone have any suggestions? Thanks James Brown https://thebrownfamilytree.info/
-
Every type of chart works correctly except the ancestors vertical chart which shows no ancestors found. No changes have been made to the chart settings recently. It's not specific to one person.
-
Error message when trying: "Run Checks": Warning: include(begin.php): failed to open stream: No such file or directory in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 2 Warning: include(): Failed opening 'begin.php' for inclusion (include_path='.:/usr/share/php') in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 2 Warning: include(adminlib.php): failed to open stream: No such file or directory in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 3 Warning: include(): Failed opening 'adminlib.php' for inclusion (include_path='.:/usr/share/php') in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 3 Warning: include(getlang.php): failed to open stream: No such file or directory in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 4 Warning: include(): Failed opening 'getlang.php' for inclusion (include_path='.:/usr/share/php') in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 4 Warning: include(/admintext.php): failed to open stream: No such file or directory in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 5 Warning: include(): Failed opening '/admintext.php' for inclusion (include_path='.:/usr/share/php') in /customers/b/c/6/sieino.com/httpd.www/tngslekt/mods/bot-trap_v12005/bt_check.php on line 5 The directory 'bot-trap' already exists. The file 'blacklist.dat' already exists. The file 'robots.txt' already exists. The file '.htaccess' already exists. You may proceed with installation This happened after update to TNG 12.10. Bot-trap v. 12.0.0.5. What can be done? ENo
-
Hello, I just received an e-mail "Disk Usage Warning" from cpanel@raymond-family.net with this message: The account currently uses 84.28% (842.76 MB/1,000 MB) of its disk capacity. The account currently has 2,895 files. Remove some files from this account, or ask the system administrator to increase the account’s disk quota. My questions are: When I upload a new Gedcom file to an existing database, does that generate obsolete files that I should delete? Can I do file deletions directly from a TNG administrator page, or should I contact the hosting service? Should I just ask for more disk capacity? Thanks, Raymond
-
Custom Media Collections - files assigned via GEDCOM import
LeslieP posted a topic in Customizing TNG
I have finally found a way to get my media files assigned to the proper custom media collections during the GEDCOM import process. It does require a "hack" to the gedimport_misc.php file, maybe someday the capability can be made standard by Darrin, or turned into a mod, but for now, this is a HUGE thing for me. I've never cared for the documents/video/recordings collections, always wanted to use my own collections and menu items. Since I use TNG just for display, and frequently clear the tree and reimport from GEDCOM, I needed the placement of files into collections to be automated and not manual. Now it is. I wrote it up in a longer blog post with lots of screen shots, and I'm afraid it probably still doesn't make too much sense, but thought I'd offer it here for anyone looking to do this. Say I have images of birth certificates and the like on my desktop in P:\Genealogy\exhibits\birth_records, and my genealogy program (RootsMagic) puts that entire path in the GEDCOM file. I really want to have a media collection and menu item called "Birth Records", and for the GEDCOM import to put those files in that collection for me. Here's how make the server folder structure similar to the desktop folder structure on desktop: P:\Genealogy\exhibits\birth_records on server: tng/documents/birth_records create the collection in TNG Admin>>Media collection ID: birthrec display title: Birth Records folder name: documents/birth_records add code to customconfig.php defining this collection and the gedcom file path $locimppath['birthrec'] = "P:\\Genealogy\\exhibits\\birth_records"; edit gedimport_misc.php to add this collection ID and import path info to the getLocalPathList function This is what gedimport_misc.php section looks like original: function getLocalPathList($mediatypeID) { global $locimppath, $mediatypes_locpaths; switch( $mediatypeID ) { case "photos": $locpath = $locimppath['photos']; break; case "histories": $locpath = $locimppath['histories']; break; case "documents": $locpath = $locimppath['documents']; break; case "headstones": $locpath = $locimppath['headstones']; break; case "recordings": case "videos": $locpath = $locimppath['other']; break; default: $locpath = isset($mediatypes_locpaths[$mediatypeID]) ? $mediatypes_locpaths[$mediatypeID] : ""; } return $locpath; } You need to add a "case" section for your new media collection. This is what you add: case "birthrec": $locpath = $locimppath['birthrec']; break; Do that for every additional media collection you have created. This is the longer blog post about this technique https://lptex.com/blog/tng-custom-media-collections-using-gedcom-import/ Here's what I see after I do a GEDCOM import and then run the secondary process to trim menus And this is what the menu looks like on the live site I'm working towards the TNG-WP integration and will not be using the TNG menus at all, so I didn't bother with any menu icons. I hope this helps others as much as it has me - this is something I've wanted for YEARS and finally sat down to figure out how to do it myself. -
Sometimes I need 30 minutes to do some server work, sometimes I might need a whole lot of time. I’d like (as with Joomla) to be able to modify the maintenance mode message as I put the site into maintenance mode. See attached image from Joomla by way of an example. You could just have “Maintenance Mode - On/Off” and a free text box. Phil
-
Is there any plans to add a citations section to the admin area. It seems a waste of space to have multiple copies of a citation in the database and having to edit them individually if you make an error.
-
From seeing the Wiki entry I'd really like to use this but it's not working. Is the download file complete? Trying to install I can see the options in the search area / page, can see the extra column on the people table but get a blank screen (apart from heading and gif) when I go admin -> setup -> associate names. (Have tried with my 'live' site, where there are loads of other mods, but also in a new install of v12.3 with no other mods - same problem in both). Teresa
-
Site loading extremely slow and creating people doesn't complete
zanger02 posted a topic in Questions and Answers
When I first go to my website sometimes it takes 5 minutes to load. I've contacted my host numerous times without any resolution. I don't have this issue visiting any other website. I've cleared the cache, restarted..... This has gone on for at last 5 months and it's very frustrating. When I enter a new person via the admin section and click enter it just hangs and never completes. Doesn't happen every time but at least a few times a week (sometimes more when I'm working on my website a lot) Sometimes I receive an error (See attached screen grab) My website is www.upyourgenealogy.com I'm using a mac, version 12 TNG Browser: Firefox and Chrome (issues happen with both browsers) -
The timeline is showing duplicated events. When I look at the events in the admin section there are no duplicates entries. On the individuals page #1-19 events are duplicated. (there are only 19 events listed on the admin page) So, instead of 19 events there are 38 events. I haven't made any modifications to the code. I'm using version 12.1 and the mod version 12.0.0.10a
-
Synology Install and "Please wait, attempting to process..."
johnl-mpls posted a topic in Installation and Configuration
I'm stuck on step 6 of the Readme HTML installation guide with the dreaded "Please wait, attempting to process..." message. TNG v12.3, MariaDB 10, PHP 7.2, DB name: "tng", DB username: "tng-local". I'm running the Readme from the URL to the web volume on the Synology DS916. Also have referenced SKDavis' install guide for Synology. I believe I have followed all of the other steps without missing or having issues. Screen shots attached to show privileges, versions, etc. (password omitted on screen shot but included during install). Have googled this and tried other suggestions, but I appear to be overlooking or misunderstanding something. Appreciate any guidance for this rookie mistake. Thanks. John -
Hello, I am just attempting to reinstall TNG v12.3 after a year away from it. I am having difficulty getting TNG initialized on my home server. TNG is installed at location C:\xampp\htdocs\tng I started to follow your excellent YouTube video for installation and didn't get very far with the readme.html file before it hung up. The readme.html file is correctly accessed through my browser from http://localhost/tng/readme.html as shown in the attached snapshot below. I get to step 3 Set Permissions in the readme.html file, click the set permission button and receive the following " Please wait, attempting to process..." which never is returned. The same thing happens when I click the rename folders button in Step 4. Is there a way to do this manually if the readme.html file does not work? Exactly what permissions are to be set here anyways? I am using version 12.3 14 of March 2020 - Full version (not an update)
-
This is my very first post so please be gentle... Is there a setting or mod somewhere to change say https://some address/index.php to https://some address/ or https://some address/showmedia.php?mediaID=9414 to https://some address/theactualdocumentname??? Pretty permalinks are pretty much standard these days and I'm also using a sitemap generator which is currently sending Google, et al, a bunch of random data. For example: 2022-01-14T06:45:58+00:00 weekly 0.6400 16http://some address/showmedia.php?mediaID=9414 2022-01-14T06:45:58+00:00 weekly 0.6400 17http://some address/showmedia.php?mediaID=9411 2022-01-14T06:45:58+00:00 weekly 0.6400 18http://some address/showmedia.php?mediaID=9413 2022-01-14T06:45:58+00:00 weekly 0.6400 19http://some address/showmedia.php?mediaID=9415 Also... Where can I add the header <meta> tag information please??? I've found meta-title and meta-keywords but none of the others.
-
php call to undefined function each() & create function()
girander posted a topic in Questions and Answers
As reflected by the attached pictures I have some PHP-detected errors. One is seen w/o login here: https://www.girander.dk/genealogy/browsealbums.php Another here: https://www.girander.dk/genealogy/calendar.php - also shown in the attached snips. I hope the pattern of errors points in a particular direction. Possibly a (some) corrupt php file(s).. -
I am working already some time with persondata. Now i want to generate reports of persons. When i input the lastname in criteria it works fine. Now i would like to have a universal report where i will be asked for the lastname. When i insert just the field lastname i get the header of the report but no box asking me to input the name. Is it possible to input a operator and a string and what might be syntax? Edit: Maybe my engish is not good enough to explain what i like to get: i like to have a namelist which asks me which name of persons in database should be listed. The name should be a variable in criteria. The fields to be displayed and the fields to be sorted should be inserted into reportgenerator. As i am not familar with SQL-Sintax i cannot write a complete sqlrequest in the lower box of reportgenerator. I have some experience in programming so i would be able to customize values. Uli
-
I have several images in my Photos media collection showing churches and churchyards. Assuming that this can be done in TNG, I would like to know how to get these images to show when I view the Place associated with those media. When I edit those media, such as is shown in the screenshot example below, I link the media to an existing place. However, when I view that Place, I see no image here, nor thumbnail. What am I missing here? See below. Where does this media show, besides in the Photos media collection? Should I be making the media always viewable? Please advise. Thanks!
-
Simple SEO V7 for TNG releases 12 and 13 has been posted and can be downloaded from the Wiki. There are no new features in this release, but plenty of bug fixes and minor updates to improve the code, including: PHP-8 compatibility Support for meta keywords from familychart.php (a bug fix) Improvements to the code inserted into getperson.php that corrects some long-standing conflicts with the Sosa and Relationship Display mods This update is recommended, but not required, for Simple SEO users unless one intends to move to PHP-8. However, this will be the last major release of Simple SEO for TNG 12. Bill Herndon Lindell-Herndon Genealogy
-
Replacing "His/Her" links with "My Ancestor/My Family/My Page" links? (template 13)
garybakker posted a topic in Templates or Design Questions
I would like to replace the links to his and her sides of the family tree with personalized links based on who is logged in. It appears that this mod has been done previously. Question: It has been a long time since I set up my site and I have done virtually nothing to it since setup. I would like to make this modification, but am at a loss as to how to accomplish it. Can someone help me with how to make this change? Please provide a step-by-step approach if you have the patience. This mod: https://tng.lythgoes.net/wiki/index.php/My_User_Links_Add-on This thread: https://tng.community/index.php?/forums/topic/12161-mod-wanted-or-code/&tab=comments#comment-57912 My site: http://www.garyconniefamilytree.net/index.php My server (if it matters): I am using SimplyHosting. Thank you, Gary -
I've posted the 1st release candidate for Simple SEO V7. No new features in this release...yet, but I've included PHP-8 compatibility updates, numerous bug fixes, and support for meta keywords from familychart.php. In addition, I've simplified/streamlined the code inserted into getperson.php to correct some long-standing mod conflicts with Sosa and Relationship Display The release candidate can be downloaded here or from the Wiki page. This update was developed against TNG 13.0 and 13.0.4 but may work with all releases from TNG 12.0.3 forward. Comments, bugs, and suggestions for additional features are very welcome. Bill Herndon Lindell-Herndon Genealogy
-
Does TNG support the user entering a value to run a report e.g. I f I want to list all entries for a census year, rather than writing a query for each census year, can the user be prompted for a value and the report returns all census for that year?
-
Using TNG on two different pages but in same website? And login page?
jasenick posted a topic in FAQ
Hello! I'm considering getting TNG and using Wordpress to host it. Before I proceed, I have a question. My grandparents are from two different towns in Southern Italy. Over the past 25 years, I've amassed a large database of families from both towns. I would like to make a separate TNG page for each but under one website. Do I need to purchase two TNGs, or can I use one for both pages? Also, would it be possible to set up a login page for each for privacy reasons? Thanks! Jason -
Morning All Google Search Console has reported that 'familygroup.php' page is not mobile friendly as the viewport is not set. How can we fix this?Google Search Console has reported that 'familygroup.php' page is not mobile friendly as the viewport is not set. How can we fix this? This is the website domain https://www.ancestors.co.za/database/trees/ and below are the three urls of the errors 3 page resources couldn’t be loaded Resource Type Status https://www.ancestors.co.za/database/trees/js/net.js Script Other error https://www.ancestors.co.za/database/trees/templates/template209/css/mytngstyle.css?v=12.3 Stylesheet Other error https://www.ancestors.co.za/database/trees/templates/template209/css/tngtabs2.css?v=12.3 Stylesheet