Follow SMF on Twitter.
Started by pirc-bw, May 02, 2020, 12:14:37 AM
Quote from: doug_ips on May 02, 2020, 05:57:17 AMDo not forget to reupload a fresh index.php file as well afterwards.
Quote from: Illori on May 02, 2020, 06:06:33 AMQuote from: doug_ips on May 02, 2020, 05:57:17 AMDo not forget to reupload a fresh index.php file as well afterwards.that is not required. this is not from a hacking it is an issue with SMF coding.you only need to replace the Settings.php file and you are good to go.
Quote from: pirc-bw on May 02, 2020, 12:14:37 AMMy SMF board is down after getting 16 SMF could not connect to the database messages this evening.My host GoDaddy has informed me that there has been a change to the Index.PHP file which is preventing it from connecting to the database.This is what they are telling me.HP Notice: Undefined variable: boarddir in /home/k4fw0oj9jhy9/public_html/index.php on line 47 [02-May-2020 03:33:11 UTC] PHP Notice: Undefined variable: sourcedir in /home/k4fw0oj9jhy9/public_html/index.php on line 51 [02-May-2020 03:33:11 UTC] PHP Warning: require_once(/QueryString.php): failed to open stream: No such file or directory in /home/k4fw0oj9jhy9/public_html/index.php on line 51I am not a pro at this kind of thing. How do I fix this, any help would be appreciated.https://bw-forums.com
Quote from: Arantor on May 02, 2020, 06:58:28 AMNo, it does not look like index.php has been corrupted, it looks EXACTLY like the race condition that wipes out Settings.php and nothing else.
Quote from: Arantor on May 02, 2020, 09:32:42 AMI don't chill out when I see people giving incorrect and possibly damaging advice, because who knows what mods will be broken by replacing index.php?