mattastic — 2012-10-09T06:50:47-04:00 — #1
I've recently moved hosts and the address of my wp site - now I just get a blank screen. I have done the following:
- copied file structure on new server
- Recreated Db
- Changed values in db using search and replace tool.
- renamed plugin folder.
Still no joy.....Can anyone please help?
mattastic — 2012-10-09T08:06:31-04:00 — #2
If you view the link above, it shows the first few lines of the page, before it breaks, is this a theme issue?
I've tried to rename each theme but still no joy.
Any help much appreciated
cheesedude — 2012-10-09T08:32:34-04:00 — #3
Which "search and replace tool" did you use? The one recommended by Wordpress? And why did you rename the plugin folder?
You followed the instructions here?
When Your Domain Name or URLs Change
When your domain name or URLs change - i.e. from http://example.com/blog to http://example.com, or http://example.com to http://newexample.com - there are additional concerns. The files and database can be moved, however references to the old domain name or location will remain in the database, and that can cause issues with links or theme display.
If you do a search and replace on your entire database to change the URLs, you can cause issues with data serialization, due to the fact that some themes and widgets store values with the length of your URL marked. When this changes, things break.
Verify that all the values in wp-config.php are correct. If you are getting blank screens, I assume you cannot log in to the admin panel to change the domain/URL settings. Can you? If you can, disable all plugins. Disable any permalinks you might be using for now.
If it still doesn't work, then you will have to do the tried and true method of seeing how far you get before trouble starts. Open a file, put in a PHP echo statement stating "I made it this far." and if that doesn't get output you know the trouble is higher up.
cheesedude — 2012-10-09T08:35:13-04:00 — #4
I just checked your site again after I replied and I see you are making progress. You are getting your header output and some of your HTML is starting to show.
When you get it figured out, stop back and let us know what you did to solve the problem so others may learn from this.
mattastic — 2012-10-09T09:02:54-04:00 — #5
Thanks for the replies folks.
I've disabled all the plugins, still can't access the wp-admin.
The search and replace tool was from the moving wordpress support page.
Anyone know how I can access wp-admin?
mattastic — 2012-10-09T09:12:19-04:00 — #6
Also I have no wp option table. Is that right?
The tables I have are:
wp blog versions
wp domain mapping
wp domain mapping logins
mattastic — 2012-10-09T09:22:52-04:00 — #7
Also, is there a way to tell what tables wordpress uses?
I've inherited this site, and there are lots of tables - so I'm not sure what does what.
cpradio — 2012-10-09T09:25:55-04:00 — #8
This may or may not help, but when I move a site, I usually export the data from the old WordPress site, do a new clean install and import the data back in. I then copy the wp-content folder from the old site to the new site.
You may still have to update the database, but it at least helps get everything else moved.
cheesedude — 2012-10-09T13:36:03-04:00 — #9
A default installation of the most recent version of Wordpress (3.4.2) has the following tables:
Looking at your table names it looks like you are using Wordpress Multi-User (Multisite), which is a different matter than the basic Wordpress. Best to head over to the Wordpress Multisite Support Forum if you haven't already. If you don't need to run a Mutlisite Wordpress, perhaps you can convert to the basic single Wordpress setup.
mattastic — 2012-10-10T05:41:23-04:00 — #10
Thanks for your reply, I'll do that - thanks again.
force — 2012-10-10T20:57:49-04:00 — #11
A white screen usually indicates that there is an error of some sort. By default, errors are hidden.
To show them, you will have to enable debugging: http://codex.wordpress.org/Debugging_in_WordPress
In short, open up your wp-config.php file and set the defined variable WP_DEBUG to true.