Posted on: 2019/5/16 8:31
Re: I transferred my site to another server and I have a blank page
Try to troubleshoot by finding the problem.
As you see an only blank page, do the checklist one by one.
1. check the PHP version of your older server and newer one.
for that, create a new PHP file and write
execute the code on both servers and you will have a lot of info about both.
2. Check the config file and verify the database connection is established properly.
for that create a new PHP file and use simple database connection test code.
$dbhost = "localhost";
$dbuser = "root";
$dbpass = "1234";
$db = "example";
$conn = new mysqli($dbhost, $dbuser, $dbpass,$db) or die("Connect failed: %s\n". $conn -> error);
$conn -> close();
I hope this will help you.
PS: don't forget to use CloudFlare to prevent server level attacks on your website ( https://www.experthoot.com/protect-site-from-ddos/