JohnP Posted March 8, 2008 Report Share Posted March 8, 2008 Hello All,I am also a newbie (I don't even know enough to know if I'm in trouble!)I have become fascinated with TNG and decided that it was time to dive in. After reading these threads, I decided to create a local test environment to work and play. After downloading all of the WAMP applications, I realized that that wasn't going to be fun or easy, so I selected XAMPP as a WAMP installer. XAMPP appears to have correctly installed each application. There was a conflict with Apache not able to run due to Port 80 use. This may have been caused by Google Earth. I closed everything and rebooted which seemed to clear it up. The XAMPP Control Panel is launched from the icon on the desktop and shows Apache and MySQL are both running.The XAMPP home page opens from: http:/localhost/Unlike as noted in the installation instructions, I was NOT provided an opportunity to set any configurations for any of the apps including the following:Host name: localhostDatabase name: genealogyDatabased User name: rootDatabase password: leave blankSave & VerifyToday I am trying to install the The Next Generation (TNG) downloaded from the site. I am using the Readme.html and "TNG Installation Instructions" that are included in the TNG directory.I extracted the TNG files to a new folder "genealogy" and placed it in the "htdocs" folder, i.e. C:\xampp\htdocs\genealogyWhen working through the TNG Installation Instructions, I did not find any actual installation of TNG, only the unzip and move of the files to the created "genealogy" folder. 1. Did I miss the actual TNG installation somewhere? Unlike the posted instructions for using WampServer (above), I am not sure how to connect TNG to XAMPP. I think everything is installed and located in the correct folders. The prior step-by-step instructions for WampServer noted that the "genealogy" folder should be available in the WAMP server screen. I am not able to locate any such comparable feature in XAMPP. 2. How do I access TNG from XAMPP Control Panel?I'm sure this is very easy, but I'm struggling. Any help will be greatly appreciated.Thanks,John Quote Link to comment Share on other sites More sharing options...
thewag Posted March 8, 2008 Report Share Posted March 8, 2008 Welcome John,I use XAMPP and TNG as my production website. Please find some suggestions below:Unlike as noted in the installation instructions, I was NOT provided an opportunity to set any configurations for any of the apps including the following:Host name: localhostDatabase name: genealogyDatabased User name: rootDatabase password: leave blankSave & VerifyToday I am trying to install the The Next Generation (TNG) downloaded from the site. I am using the Readme.html and "TNG Installation Instructions" that are included in the TNG directory.The instructions are assuming that you had a hosting provider setup a database. Take at look at: http://www.reg.ca/faq/PhpMyAdminTutorial.html (Yeah Google!) for a quick tutorial on setting up a database using phpmyadmin (http://localhost/phpmyadmin) for xampp. [Note: only go through the portion of creating the database. Stop where you would create the table "people".]I extracted the TNG files to a new folder "genealogy" and placed it in the "htdocs" folder, i.e. C:\xampp\htdocs\genealogyWhen working through the TNG Installation Instructions, I did not find any actual installation of TNG, only the unzip and move of the files to the created "genealogy" folder. 1. Did I miss the actual TNG installation somewhere? Unlike the posted instructions for using WampServer (above), I am not sure how to connect TNG to XAMPP. I think everything is installed and located in the correct folders. The prior step-by-step instructions for WampServer noted that the "genealogy" folder should be available in the WAMP server screen. I am not able to locate any such comparable feature in XAMPP. Nope, you did the installation when you moved the files. Try going to: http://localhost/genealogy . The page will probably have a lot of errors if you haven't setup the database yet, but you should still see something of a TNG install.TNG isn't an executable in the since you install it like Word or Legacy or any other "general" windows program. Its a set of scripts (instructions) that PHP (which you got when you installed xampp) execute. If you installed XAMPP correctly (if you see something about xampp when you type http://localhost/ in a webroswer) then all that was needed for installation was to copy the files to a place under your webservers document root (c:\xampp\htdocs). 2. How do I access TNG from XAMPP Control Panel?You don't. You can access the database that TNG will create via the XAMPP included program of phpmyadmin. I strongly DON'T recommend this if you are new to SQL and webservers, except to create the database as shown in the tutorial above. Once you've created the database and followed Darrin's instructions for installation, you will access TNG from the website (http://localhost/genealogy) or its administrative interface (see instructions).Best of Luck,Ben Quote Link to comment Share on other sites More sharing options...
JohnP Posted March 8, 2008 Author Report Share Posted March 8, 2008 Welcome John,I use XAMPP and TNG as my production website. Please find some suggestions below:The instructions are assuming that you had a hosting provider setup a database. Take at look at: http://www.reg.ca/faq/PhpMyAdminTutorial.html (Yeah Google!) for a quick tutorial on setting up a database using phpmyadmin (http://localhost/phpmyadmin) for xampp. [Note: only go through the portion of creating the database. Stop where you would create the table "people".]Nope, you did the installation when you moved the files. Try going to: http://localhost/genealogy . The page will probably have a lot of errors if you haven't setup the database yet, but you should still see something of a TNG install.TNG isn't an executable in the since you install it like Word or Legacy or any other "general" windows program. Its a set of scripts (instructions) that PHP (which you got when you installed xampp) execute. If you installed XAMPP correctly (if you see something about xampp when you type http://localhost/ in a webroswer) then all that was needed for installation was to copy the files to a place under your webservers document root (c:\xampp\htdocs). You don't. You can access the database that TNG will create via the XAMPP included program of phpmyadmin. I strongly DON'T recommend this if you are new to SQL and webservers, except to create the database as shown in the tutorial above. Once you've created the database and followed Darrin's instructions for installation, you will access TNG from the website (http://localhost/genealogy) or its administrative interface (see instructions).Best of Luck,Ben Quote Link to comment Share on other sites More sharing options...
JohnP Posted March 8, 2008 Author Report Share Posted March 8, 2008 Hi Ben,Thanks for the prompt reply. I had not read anywhere in any of the literature about creating a database early in the process. I checked out the PhpMyAdmin tutorial, then went to http://localhost/phpmyadminI did NOT get the login screen (username and password) shown in the tutorial, but did get the main screen. There are a number of settings, and all I did was enter "genealogy" as the name of the new database. I clicked "Create" and the "genealogy" database showed up in the left pane with a "(0)" after it.A notice also appeared at the bottom of the PhpMyAdmin screen saying: "Your configuration file contains settings (root with no password) that corresponds to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole."I then tried http://localhost/genealogy and got the same error message: "TNG is not communicating with your database."As concerns the security settings, I was not ever presented with an option to set them per the Installation Instructions. In step 2 of the Instructions, I had clicked on the "Set Permissions" button, which displayed a prompt in red noting "Attempting to process..." but it never completed or truly activated.Ben, I'm sorry for the ignorance, but do appreciate the assistance!Thanks,John Quote Link to comment Share on other sites More sharing options...
nimebe Posted March 9, 2008 Report Share Posted March 9, 2008 Once created the database in phpMyAdmin, go to http://localhost/genealogy/readme.htmlThis is the installation/configuration file for TNG. Read through each step very carefully. When you're asked yourDB Name is genealogyDB User is rootDB Password is (leave it blank)DB Prefix tng_ (leave as the default)You need to complete the installation at the readme.html file before TNG will know what and where your database is in order to connect to it. Quote Link to comment Share on other sites More sharing options...
thewag Posted March 9, 2008 Report Share Posted March 9, 2008 I did NOT get the login screen (username and password) shown in the tutorial, but did get the main screen. There are a number of settings, and all I did was enter "genealogy" as the name of the new database. I clicked "Create" and the "genealogy" database showed up in the left pane with a "(0)" after it.A notice also appeared at the bottom of the PhpMyAdmin screen saying: "Your configuration file contains settings (root with no password) that corresponds to the default MySQL privileged account. Your MySQL server is running with this default, is open to intrusion, and you really should fix this security hole."The (0) means zero tables. Thats ok. The note about default configuration can also be ignored if this a test environment NOT open to the world. (If you are on a higher speed internet connection, you do have some sort of firewall I hope.) If you wish to secure your xampp settings see: http://robsnotebook.com/xampp-builtin-security . You can go as far in the instructions as you like, but the basics are on the first page. The pages after that can get quite technical.I then tried http://localhost/genealogy and got the same error message: "TNG is not communicating with your database."Look back at the TNG instructions. There should be a http://localhost/genealogy/readme.html that you should be following. There should be section on database tables there.As concerns the security settings, I was not ever presented with an option to set them per the Installation Instructions. In step 2 of the Instructions, I had clicked on the "Set Permissions" button, which displayed a prompt in red noting "Attempting to process..." but it never completed or truly activated.That may have something to do with windows.John, continue to ask questions. I'm gonna have to bow out for a few days. There should be plenty of help on the forums if you need it. If not, email Darrin. He'll get you going in the right direction. I think you just need to carefully go through the TNG install. TNG is a wonderful software for genealogy, but it is a web server based application. If you're coming from a novice standpoint to server installation and server software installation, there can be a learning curve in just understanding the basics as to the software behind what makes TNG work. Not actually using it, really, but the interaction. XAMPP tries to make it easier to install, which is a big jump. Configuring is your next hurdle. You'll get it soon enough. Then its off to making a wonderful genealogy site.Best wishes,Ben Quote Link to comment Share on other sites More sharing options...
JohnP Posted March 10, 2008 Author Report Share Posted March 10, 2008 Many many thanks for all the help from everyone. As it turned out, most of the steps were relatively easy, once I understood them. As soon as I created the database via MySQLAdmin, all of the steps in the Installation Instructions worked dandy. I will try to compile my notes and post them so others can benefit from my learnings in creating a test machine using WAMP and XAMPP.Now the fun begins ...I'm sure I will have more questions as the uploading, tweaking and modifying begin.For now, many thanks again!John Quote Link to comment Share on other sites More sharing options...
gracielou Posted August 9, 2019 Report Share Posted August 9, 2019 Thanks, Everyone, for this post. I followed the info and was able to get TNG installed and up and running on an XAMPP stack. - Gracielou 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.