majdan Posted October 2, 2025 Report Share Posted October 2, 2025 I'm having some weird issues on my website. My website has been on this host for...a long time (7+ years?). I honestly don't check it very often, but I did this past week. I am constantly getting the error that the website can't communicate with the database. I refresh the page a few times and it will load. Then, I click a link and I get the db communication error. I went into my diagnostics panel and noticed that my website (TNG v14.0.1) was running PHP 5.6. So, I went into my admin cPanel and changed it to 8.0. Now, I get a blank screen on my Setup and Diagnostics screen...either a blank screen or the db communication error. I'm not sure if these are host-related issues or TNG related issues. Any guidance? http://family.themajdans.com Quote Link to comment Share on other sites More sharing options...
Philip Roy Posted October 2, 2025 Report Share Posted October 2, 2025 TNG v14 required a minimum of PHP 7, so I'm confused as to how you managed to get it running on such a dated version of PHP? https://tng.lythgoes.net/wiki/index.php/TNG_versions If you don't check it that often, there's a chance that the hosting provider has made changes over time to their systems that might impact your connection. I would revisit each of your settings in the config files and if you still have no luck, talk to your web host or look at their support material for guidance. Quote Link to comment Share on other sites More sharing options...
majdan Posted October 2, 2025 Author Report Share Posted October 2, 2025 My hosting provider got back to me and my site is seing a drastic increase in traffic in addition to some random errors. From support: Quote Here is the same PHP error that is being thrown: = = = [02-Oct-2025 13:00:03 UTC] PHP Parse error: syntax error, unexpected token "[" in /home/<<acct_name>>/public_html/family/rrtextplus_ancestor.php on line 692 [02-Oct-2025 13:00:07 UTC] PHP Parse error: syntax error, unexpected token "[" in /home/<<acct_name>>/public_html/family/rrtextplus_ancestor.php on line 692 [02-Oct-2025 13:00:49 UTC] PHP Parse error: syntax error, unexpected token "[" in /home/<<acct_name>>/public_html/family/rrtextplus_ancestor.php on line 692 = = = Please check the mentioned file's syntax, it is possible that code after the error is not getting executed properly. Let us know if the issue persists after checking the error. Quote n addition to some errors randomly being thrown your site is generating large amounts of traffic. Here's your process list: <<acct_name>> 1311814 0.1 0.0 388468 32832 ? S 13:02 0:00 lsphp <<acct_name>> 1320641 0.7 0.0 400168 31064 ? Ss 13:08 0:03 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1321434 0.7 0.0 400168 31088 ? Ss 13:08 0:02 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1322043 0.8 0.0 400168 31184 ? Ss 13:09 0:02 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1324206 0.7 0.0 400168 31288 ? Ss 13:10 0:02 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1326141 0.7 0.0 400168 31068 ? Ss 13:11 0:01 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1326952 0.8 0.0 400300 30372 ? Ss 13:12 0:01 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1327215 0.7 0.0 397168 30080 ? Ss 13:12 0:01 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1327510 0.7 0.0 398120 29884 ? Ss 13:12 0:01 lsphp <<acct_name>> 1327855 0.6 0.0 395120 29020 ? Ss 13:12 0:00 lsphp <<acct_name>> 1327874 0.8 0.0 400168 30844 ? Ss 13:12 0:01 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1328144 0.6 0.0 400272 30356 ? Ss 13:13 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1328382 0.8 0.0 397168 29560 ? Ss 13:13 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1328433 0.7 0.0 397168 29532 ? Ss 13:13 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1328448 0.7 0.0 398120 29856 ? Ss 13:13 0:00 lsphp <<acct_name>> 1328585 0.7 0.0 397168 30056 ? Ss 13:13 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1328589 0.8 0.0 400168 30376 ? Ss 13:13 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1328995 0.8 0.0 397168 30060 ? Ss 13:13 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1329315 1.0 0.0 400168 31456 ? Ss 13:14 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1330010 0.9 0.0 400168 30392 ? Ss 13:14 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1330383 0.8 0.0 400168 30984 ? Ss 13:14 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1330699 0.8 0.0 400168 30600 ? Ss 13:14 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1330924 1.1 0.0 397168 29592 ? Ss 13:15 0:00 lsphp:<<acct_name>>/public_html/family/relationship.php <<acct_name>> 1331619 4.0 0.0 397172 29596 ? Ss 13:15 0:00 lsphp:<<acct_name>>/public_html/family/inlaw_marriages.php Here's your query list: | 31991895 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT sex FROM tng_people WHERE personID = "I6366" AND gedcom = "majdan" | 0.000 | | 31992058 | <<db_username>> | localhost | <<db_name>> | Sleep | 0 | | | 0.000 | | 31992184 | <<db_username>> | localhost | <<db_name>> | Query | 0 | Creating sort index | SELECT UPPER(wife) as wife, familyID, sex | 31992190 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT UPPER(personID) as personID | 31992216 | <<db_username>> | localhost | <<db_name>> | Query | 0 | Statistics | SELECT UPPER(husband) as husband, familyID, sex | 31992347 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT sex FROM tng_people WHERE personID = "I2479" AND gedcom = "majdan" | 0.000 | | 31992378 | <<db_username>> | localhost | <<db_name>> | Query | 0 | Statistics | SELECT sex FROM tng_people WHERE personID = "I5476" AND gedcom = "majdan" | 0.000 | | 31992381 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT sex FROM tng_people WHERE personID = "I4871" AND gedcom = "majdan" | 0.000 | | 31992396 | <<db_username>> | localhost | <<db_name>> | Query | 0 | Statistics | SELECT UPPER(husband) as husband, familyID, sex | 31992458 | <<db_username>> | localhost | <<db_name>> | Sleep | 0 | | | 0.000 | | 31992494 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT UPPER(personID) as personID | 31992510 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT UPPER(wife) as wife, familyID, sex | 31992511 | <<db_username>> | localhost | <<db_name>> | Sleep | 0 | | | 0.000 | | 31992603 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT sex FROM tng_people WHERE personID = "I6787" AND gedcom = "majdan" | 0.000 | | 31992624 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT sex FROM tng_people WHERE personID = "I3036" AND gedcom = "majdan" | 0.000 | | 31992685 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT UPPER(wife) as wife, familyID, sex | 31992719 | <<db_username>> | localhost | <<db_name>> | Sleep | 0 | | | 0.000 | | 31993068 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT UPPER(wife) as wife, familyID, sex | 31993087 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT sex FROM tng_people WHERE personID = "I1157" AND gedcom = "majdan" | 0.000 | | 31993092 | <<db_username>> | localhost | <<db_name>> | Query | 0 | Starting cleanup | SELECT UPPER(husband) as husband, familyID, sex | 31993104 | <<db_username>> | localhost | <<db_name>> | Query | 0 | Statistics | SELECT UPPER(wife) as wife, familyID, sex | 31993121 | <<db_username>> | localhost | <<db_name>> | Query | 0 | starting | SELECT sex FROM tng_people WHERE personID = "I6266" AND gedcom = "majdan" | 0.000 | | 31993138 | <<db_username>> | localhost | <<db_name>> | Sleep | 0 | | | 0.000 | | 31993159 | <<db_username>> | localhost | <<db_name>> | Query | 0 | Starting cleanup | SELECT UPPER(personID) as personID You're having database connection issues as you're using up all your connections to the database. In January 2025 you were seeing no more than 1000 visits a day and 3000 pageviews but typically way less than that. On September 30th, 2025 you saw 327,481 visitors and 331,251 pageviews. Once your October 1st traffic is fully calculated I suspect it'll be similar numbers. In October so far we've seen 155,952 different unique IPs so it doesn't seem to be an attack either. So, it doesn't appear to be an attack as first glance. I'm going to reply to support but just keeping this topic updated as well. Not sure where to go from here, so we'll see what my hosting provider's support says. Quote Link to comment Share on other sites More sharing options...
Katryne Posted October 2, 2025 Report Share Posted October 2, 2025 Hello majdan, I have blocked any unwanted traffic, withe th mod Image Captcha, that no robot seemed to have solved yet. And adding to it the Guardian mod, Image Captcha is displayed on all my pages. Even for me ... It's not too annoying for humans. Quote Link to comment Share on other sites More sharing options...
Philip Roy Posted October 2, 2025 Report Share Posted October 2, 2025 I took a quick look at the files on my website and I couldn’t see a file called “rrtextplus_ancestor.php”….so I’m assuming that is from a mod? Are you using the most recent version of each mod and do they work with your version of TNG? I’m not running the same version of TNG as you so I may be wrong…but a check on your mods can’t hurt. Quote Link to comment Share on other sites More sharing options...
tngrlkrz Posted October 2, 2025 Report Share Posted October 2, 2025 6 minutes ago, Philip Roy said: file called “rrtextplus_ancestor.php”… That file is within the TextPlus_Charts mod, by Robin Richmond (hence the 'rr' prefix). Ron Quote Link to comment Share on other sites More sharing options...
majdan Posted October 2, 2025 Author Report Share Posted October 2, 2025 21 minutes ago, Philip Roy said: I took a quick look at the files on my website and I couldn’t see a file called “rrtextplus_ancestor.php”….so I’m assuming that is from a mod? Are you using the most recent version of each mod and do they work with your version of TNG? I’m not running the same version of TNG as you so I may be wrong…but a check on your mods can’t hurt. Lol probably not. I go through phases where I focus on the website. I've been in an "off" phase for a couple years, hence still being on 14.0.1. This issue makes it hard to update since I keep losing connection. I will need to do that as soon as I resolve this issue. Quote Link to comment Share on other sites More sharing options...
majdan Posted October 2, 2025 Author Report Share Posted October 2, 2025 1 hour ago, Katryne said: Hello majdan, I have blocked any unwanted traffic, withe th mod Image Captcha, that no robot seemed to have solved yet. And adding to it the Guardian mod, Image Captcha is displayed on all my pages. Even for me ... It's not too annoying for humans. Here is some additional info I received from my provider: Quote If I was to guess they're AI training bots scraping your site but it's really difficult to tell because it's so many IPs including residential IPs and various user agents so it looks like real traffic. We already rate limit known AI bots and block ones we believe are not identifying themselves. That being said in your case with it looking like real users including using real end user ISPs we cannot do a whole lot as we'll probably block legitimate traffic trying to stop them. If go to into awstats in cPanel you'll see a bit of the traffic breakdown and where they're going. Here's the last 10 requests to the site to give you an idea on how legitimate it looks: 201.87.247.104 - - [02/Oct/2025:15:09:21 +0000] "GET /descendvert.php?generations=12&personID=I2826&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36" 177.140.104.124 - - [02/Oct/2025:15:09:22 +0000] "GET /relationship.php?disallowspouses=0&generations=6&maxrels=4&primarypersonID=I683&savedpersonID=I700&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36" 187.1.69.203 - - [02/Oct/2025:15:09:23 +0000] "GET /relateform.php?primaryID=I5441&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/73.0.3683.103 Safari/537.36" 138.255.27.201 - - [02/Oct/2025:15:09:23 +0000] "GET /relationship.php?disallowspouses=0&generations=6&maxrels=4&primarypersonID=I4821&savedpersonID=I4565&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.7113.93 Safari/537.36" 179.109.39.209 - - [02/Oct/2025:15:09:22 +0000] "GET /familychart.php?personID=I48&tree=majdan HTTP/1.1" 200 5476 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36" 45.166.206.167 - - [02/Oct/2025:15:09:24 +0000] "GET /relationship.php?disallowspouses=0&generations=6&maxrels=4&primarypersonID=I806&savedpersonID=I4297&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.132 Safari/537.36" 168.90.239.197 - - [02/Oct/2025:15:09:25 +0000] "GET /timeline.php?primaryID=I3514&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/78.0.3904.108 Safari/537.36" 123.21.151.221 - - [02/Oct/2025:15:09:25 +0000] "GET /desctracker.php?trail=I5828%2CF1823%2CI5826%2CF1822%2CI5830%2CF1825%2CI7028&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36" 168.197.222.36 - - [02/Oct/2025:15:09:26 +0000] "GET /relationship.php?disallowspouses=0&generations=6&maxrels=4&primarypersonID=I1253&savedpersonID=I6545&tree=majdan HTTP/1.1" 200 161 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.82 Safari/537.36" 170.246.109.175 - - [02/Oct/2025:15:09:26 +0000] "GET /desctracker.php?trail=I205%2CF68%2CI12%2CF7%2CI16%2CF49%2CI939%2CF288%2CI943&tree=majdan HTTP/1.1" 200 6956 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4889.0 Safari/537.36" We've had users who use the free Cloudflare plan turn on AI bot blocking (they have a huge global dataset so they can actually better identify these) or under attack mode. Others identify countries/locations they expect traffic and block everything else using .htaccess. So I guess I need to figure out Cloudflare. Quote Link to comment Share on other sites More sharing options...
majdan Posted October 2, 2025 Author Report Share Posted October 2, 2025 While I haven't figured out the resolution for this, I have to give credit to my provider, Hawk Host, for their quick responses. The signature of the support person that has been responding to me says its the CEO, lol. Not sure if that's a good thing or a bad thing that the CEO responds to support tickets. 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.