Forums

[resolved] Blank page after moving WordPress from one server to another (20 posts)

  1. sazzlemajazzle
    Member
    Posted 1 year ago #

    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

  2. t-p
    Member
    Posted 1 year ago #

  3. sazzlemajazzle
    Member
    Posted 1 year ago #

    Yes, I think so. Specifically, I have followed these very detailed instructions - http://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 - http://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

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

  5. sazzlemajazzle
    Member
    Posted 1 year ago #

    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.

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

  7. arkgroup
    Member
    Posted 1 year ago #

    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.

  8. sazzlemajazzle
    Member
    Posted 1 year ago #

    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.

  9. sazzlemajazzle
    Member
    Posted 1 year ago #

    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.

  10. sazzlemajazzle
    Member
    Posted 1 year ago #

    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...

  11. Did you try arkgroup's suggestion?

    I wonder if they turned other things off...

  12. sazzlemajazzle
    Member
    Posted 1 year ago #

    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.

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

  14. sazzlemajazzle
    Member
    Posted 1 year ago #

    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.

  15. joshnz
    Member
    Posted 1 year ago #

    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

  16. sazzlemajazzle
    Member
    Posted 1 year ago #

    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

  17. joshnz
    Member
    Posted 1 year ago #

    Hey thanks for your reply Sarah,

    Turned out to be the wp-super-cache plugin that was causing my problems. What a mission though, because it wasn't apparent even after I disabled the plugins folder to test. It was adding a line of code to my wp-config file which I had to clear before it would work.

    The dreaded white screen of death strikes again haha.

    Thanks again.

  18. hopeace
    Member
    Posted 5 months ago #

    Sazzlemajazzle, I have the exact same problem. Did you every figure out what was happening, or even better, how to fix it?

    Thanks for any suggestions.

  19. stuckonit
    Member
    Posted 3 months ago #

    Hi I have a little problem with a word press site which I transferred to another server. The problem is all the pages work except for the home page, which comes up as a white screen. I have tried everything and been on it for days.My site address is http://www.locksmithbeecroft.com.au
    This page is the problem as I said, but other pages such as http://www.locksmithbeecroft.com.au/about/
    are working fine.

    Any suggestions would be appreciated.

    Regards Ben

  20. stuckonit
    Member
    Posted 3 months ago #

    The above problem is now fixed,when transferring from one server it included a default.html file in the directory,after deleting it,it worked fine.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.