To begin, yes, I’ve used the search, and tried a plethora of solutions, all to no avail.
I am migrating to a different host, and have already moved one of my wordpress sites to the new host. It works fine, so WordPress has no problem with PHP settings on the new host.
I turned off all my plugins. I switched to the default Twenty-Ten theme. I made sure WordPress was up to date, and installed 3.1.3 when I saw it was available. Old site can still be viewed on the host’s provided URL. Backed up the database using PHPMyAdmin. Backed up the files using FileZilla.
On the new host: Created a new database, created a user, assigned that user to the database. Imported backup database. Uploaded all the files into new directory. Edited database details in wp-config.php to be correct for the new database settings. Went into wp-options using phpmyadmin on new host to change blogurl to be correct for the new host.
Blank page. I can’t get anything to display on this page. I even copied the code from the wp-config-sample.php, and edited the database details just to make sure it wasn’t some custom mod I’d done over the years. I’ve deleted the .htaccess. This is what the page source looks like on the new host:
<?php /** * Front to the WordPress application. This file doesn't do anything, but loads * wp-blog-header.php which does and tells WordPress to load the theme. * * @package WordPress */ /** * Tells WordPress to load the WordPress theme and output it. * * @var bool */ define('WP_USE_THEMES', true); /** Loads the WordPress Environment and Template */ require('./wp-blog-header.php'); ?>
Seriously frustrating. I’ve moved WordPress several times, and every time I’ve had weird issues, but on this one, I thought I actually did everything right for once.
In trying to troubleshoot the problem, I blew away the backup I made from the old host, made it again, blew away the sql backup, did another one of those, etc. I’ve reuploaded and reimported all backups, and same blank page. With no error messages, I don’t even know what to look at.
I can provide the url to the old and new blogs if you’d like to see them in action, but the old one still works fine, and the new one just gets a blank page.
- The topic ‘Blank page after migration’ is closed to new replies.