• Resolved Sarah

    (@sazzlemajazzle)


    I set up a WordPress site inside a folder called blog on a development site. No problems there.

    I moved the WordPress site to my new server using a temporary URL with no problems.

    I then moved the WordPress site to the new server again (after deleting the temporary URL version) using the real domain name – ie I moved the files and the database and ran queries on the database so that it should work on the new URL. The live website is a static site with the blog inside a folder called blog. The static part of the site works perfectly, but when I click on the blog link (/blog) I get a blank page, and the page has no source code.

    I have been searching for things to try, and have tried things such as re-uploading files in case they were not uploaded properly, removing everything in the .htaccess file, checking for white space in the wp-config.php file, installing WordPress from scratch – in fact, I tried installing WordPress in another directory called wordpress and have the same problem. I’ve tried renaming my plugins folder, using a different theme (twentyten) – nothing seems to make any difference.

    Can anyone think of anything else which I could try? Let me know if any more information would enable you to help me with this.

    Thanks very much for any help you can give me.
    Sarah

Viewing 15 replies - 1 through 15 (of 19 total)
  • Moderator t-p

    (@t-p)

    Thread Starter Sarah

    (@sazzlemajazzle)

    Yes, I think so. Specifically, I have followed these very detailed instructions – https://blog.triphp.com/how-to/how-to-move-wordpress-to-a-new-server-or-host.html – and also the second and third queries in this guide – https://www.mydigitallife.info/2007/10/01/how-to-move-wordpress-blog-to-new-domain-or-location/ – to move WordPress.

    I’m now wondering if this is being caused by a problem on my server because I’ve followed those instructions on another domain on the same server as a test and it works :-/ I’m going to get in touch with my hosting company to see if they can help.

    Any other suggestions in the meantime are very welcome, though!

    Thanks,
    Sarah

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Check the PHP version. Not every server is created equal.

    Thread Starter Sarah

    (@sazzlemajazzle)

    Thanks for the suggestion, but I know it’s not that because I’ve been able to get the blog working on the same server, but using a different cPanel account and different domain.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Is each cpanel account using the same PHP version? (Didja know they may not? ?? )

    Sarah,

    Turn diplay_errors for php and access your blog again. It will show you an error and then you’ll be able to fix it. Contact your hosting support and they will help you to turn display_errors on. Once you fix the error, don’t forget to turn display_errors off.

    Thread Starter Sarah

    (@sazzlemajazzle)

    Ipstenu, thanks, I wasn’t aware of that. I’ve tried uploading a phpinfo file to the root of each account to see which version is being run but I’m getting an error 500 when I browse to the file. Do you have any idea why that would happen?

    arkgroup, thank you for the suggestion. When support get back to me, if they don’t have a solution to the problem I’ll try asking them about that.

    Thread Starter Sarah

    (@sazzlemajazzle)

    Ah, I’ve just found an error_log file which tells me “PHP Warning: phpinfo() has been disabled for security reasons in /home/ACCOUNTNAME/public_html/phpinfo.php on line 8”. Hmm.

    Thread Starter Sarah

    (@sazzlemajazzle)

    I’ve looked in cPanel at the stats for each of my accounts and they all appear to be running PHP version 5.2.14. So maybe it’s not that…

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you try arkgroup’s suggestion?

    I wonder if they turned other things off…

    Thread Starter Sarah

    (@sazzlemajazzle)

    I’ve sent my hosting support a message asking them to help me try arkgroup’s suggestion. I’m waiting for a response… unless you’re able to explain how I can get the errors to display?

    I’m very confused by this problem because the blog did work on this cPanel account when I was using a temporary URL (ie serverURL/~accountname). Now that I’m using the real domain name (I deleted the files and database and re-moved WordPress, changing the settings for the real domain name) it doesn’t work. So strange! Hopefully if I can get the error messages to display I can get closer to working out what the problem is.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Did you change your .htaccess as well? Or add one?

    Thread Starter Sarah

    (@sazzlemajazzle)

    I currently have a blank .htaccess file. I did have some other code in there but I removed it in case it was causing a problem. Unfortunately it didn’t make a difference.

    Hi Sarah,

    I’m experiencing the same problem and struggling to fix it, any chance you solved the problem and could share how you did it?

    Would be much appreciated
    Thanks
    Josh

    Thread Starter Sarah

    (@sazzlemajazzle)

    Hi Josh,

    In my case it was just user error! I was using the wrong database password :-/ I didn’t check that immediately because usually if it’s an error connecting to the database you get an error message rather than a blank page.

    Fingers crossed it’s something as simple as that for you too.
    Sarah

Viewing 15 replies - 1 through 15 (of 19 total)
  • The topic ‘Blank page after moving WordPress from one server to another’ is closed to new replies.