So Brad.. What did you do today?
Screwed up my blog, and then spent the entire day trying different ways to fix it. Once fixed, I uploaded a backup of a theme that I stupidly didn’t backup until a week ago. Then I spent time customizing the theme to what it was before.
Brad – What The Hell Happened?
I woke up this morning with an idea that I was going to implement a “Brian’s Threaded Comment” system into my comment box. Doing this, people could see my reply to each comment, and would save me time from scrolling up and down my browser to reply.
I downloaded the plugin around 10AM this morning and fiddled around with the code until I decided to save it for another time. Somehow (I actually forget, EXACTLY how it happened) I read something about WordPress 2.7 having a way for the admin to reply to each comment.
So I was thinking.. Cool! Why not try that out? I currently had 2.6.2 and figured I might as well update.
So Why Was Your Site Down For The Entire Day?
I placed WordPress 2.7 on my web server and configured wp-config.php to match my previous installation. Thinking everything was good, I loaded up Bradblogging.com to find a nice PHP error staring back at me. It said:
Fatal error: Call to undefined function wp() in /home/brad5019/public_html/wp-blog-header.php on line 14
I started to panic a little bit here.. Thinking, “Alright, I must of messed something up“. Another Re-Upload of the files should do it.. The same error occurred.
At this point, I deleted all of the WordPress files and decided to install 2.7 via Fantastico (handy little program that is.. gets you up and running within seconds!) – Anyway, after configuring that, I tried to import my huge .SQL file that I had exported from my previous database. It was about 49MB in size (which is large for most blogs) and I tried to import it via PHPMYADMIN.
No Luck.. I had a timeout and the file didn’t save. So I tried copying and pasting over 10,000 lines of code into my “SQL Query” section of the database.. Only to have my browser crash on me.
Next I tried Cpanel’s “Database Restoration” service, only to get a blank .html page with nothing being done.
After that, I rinsed and repeated the above steps for about 3 hours.
Jeez.. Sounds like you were in a Pickle!
I had actually thought I had lost all of my articles, comments, etc.. which would of ruined me. Exhausted of options, I decided to turn to my web hosting provider. I submitted two tickets, and they scolded me for “Taking Advantage Of The Ticket System” – Sorry, when my blog returns nothing but PHP errors, I was a little frantic.
So I asked them if they could restore my MYSQL database into the new one that my temporary blog was using, they said:
We don’t help clients with Web Design Services – They are completely responsible for their own site. If your problem is with WordPress, try to contact their support.
Great help they were during this ordeal! I really liked how they took the time to help me with the situation I was in. You think 3 years of purchased hosting would make them care a little.. I could rant on, but I won’t.
So I finally turned to WordPress’s forums for help, they told me to re upload the wordpress files that I had done 3 times before. I didn’t feel like arguing so I did again.. With no luck.
If All Else Fails, Read The Instructions
So I did just that.. and forgot the fact that WordPress usually updates their MYSQL database structure. Within seconds, WordPress updated the database and I was sitting here typing this post about the Worst WordPress Update… Ever.
If you are interested in seeing my “Real Time” frustrations, see http://twitter.com/bradblogging.
- Backup your theme files… Now.
- Backup your database… Now.
- Export Your Posts, Users, etc using WordPress’s export feature… You guessed it.. Now.
Have you ever destroyed your blog by trying to update WordPress? If so, How did you fix it?