I was running my old WP site from a server that is being decommissioned. Before migrating to my new server, I dutifully ran export.php to get a WXR file, and also exported my DB to an SQL file.
My old WP build was 2.1. My new build is the latest WPMU. After creating the MySQL DB and installing and configuring WPMU, I imported the SQL file into the new DB. Perhaps there are different tables in WP21 and WPMU, but my new WPMU build really didn't like the SQL DB once I imported the old file. So I started over, and this time decided to just import the WXR file directly into my WPMU.
Unfortunately, the WXR file would not import, and when I opened it up with a text editor, I discovered that it is an invalid file. I have appended it below.
I have gone back to the old server and run export.php again, but I always get the same results. I checked through the forums, but did not encounter another situation similar to mine. However, I did find this post which indicated that there might be a way to dump my SQL file into an XML:
Is that my best option at this point? Do you have any other suggestions? Is there a trick for migrating from WP 2.1 to WPMU that I'm missing? I would appreciate any advice.
Below is the XML file that export.php keeps producing (with server and email ID redacted):
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator, [email@example.com] and inform them of the time the error occurred, and anything you might have done that may have caused the error.</p> <p>More information about this error may be available in the server error log.</p> <hr> <address>Apache Server at [server.name] Port 80</address> </body></html>