Little Tips: When Upgrade Issues Happen, Don’t Panic
As I expected, the WordPress forums are clogged up with issues related to the upgrade to version 2.3. Many of you were either caught unaware (though I did predict it and posted about it here), or you were blindsided by the fact that parts of your theme or plugins you thought were safe were using the older now unsupported database calls. If you have been affected by the upgrade effect–either you get a totally whitescreen with nothing showing, or parts of your site don’t appear–DON’T PANIC! There are some things you can do to at least get your site running until you can fix everything back to how you want it.
1) First thing, if possible go to your Admin Plugins interface and deactivate all of your plugins. If you can’t log in to your site, the last resort way of deactivating your plugins is to go to your servers file system (either FTP or through a web admin interface) and delete all of the plugins from the plugins folder in the wp-content folder. Of course make copies of them to your local system first.
2) Second thing, if your site still looks crazy or won’t load, go to the Admin interface Themes area and select either the “Classic” or “Default” theme that comes with WordPress. Unless your database is totally hosed this will at least allow your site to load. It probably won’t look like how you had it before, but at least you won’t be down. In an extreme case where you can’t load your admin area go to the wp-content folder and delete your theme folder (of course, like above, make a copy first to your local system if you don’t already have a copy). Then rename either the “Default” or “Classic” theme to have the same folder name as your non-operating theme. This should get you back to being able to log in and see your site.
3) If it appears your database is hosed and deactivating all of your plugins and using either the classic or default themes still won’t allow your site to load….well, you DID create a backup database didn’t you? It’s not a fun process but you will need to reload your old database. I can’t give you a quick rundown on that, but there are plenty of Google findable sites that have PhpMyAdmin tutorials or Cpanel or whatever you use for setting up databases on your server. Once you have that in place you can copy your older WordPress files (you DID back up your original files didn’t you?) back to the server and do research on how to upgrade in a way that will work for how your WordPress is set up.
4) Go to the WordPress.org website and post on their forum for help. There are many people there already, maybe they have already posted about your issue and received a response that might help you.
5) Go to the developers sites for your theme and plugins and see if there are updates available. If the software is still being maintained it will hopefully have an update soon, if it’s older and no longer maintained….you’ll have to find a replacement that fulfills it’s function. The good thing is anything that is normally a good idea for a plugin or theme will have someone making it or redoing it for compatibility with the newest versions of WordPress.
6) In worst case scenarios you can hire someone like me to fix things for you. If you have some cash there are plenty of people that are willing to work for you to fix things up. WordPress.org forums always have people posting to have someone help them for a fee, plus I’m available too :)
In general it really shouldn’t be hard to get a working site back up in an hour or so. Then the long process is figuring out how to upgrade without getting the same issues again. In some cases you may have to go find a new theme file and redo how you had your old one set up. It’s a bummer, but that’s how this stuff happens sometimes.
AWSOM plugins compatible with WordPress 2.3
After testing it has been determined that all 3 AWSOM plugins are fully compatible with the new WordPress 2.3 version. Now you just have to check your theme and other plugins :)
WordPress 2.3 released, Go Slow
WordPress 2.3 has been released, and I advise everyone to go slow on the upgrading. Make sure you try it out offline first with your theme and plugins before trying to post it live to your site. Anything involving categories or other archive related plugins might very well not work correctly anymore due to the database changes they’ve instituted in this version.
But hey, you now get to play around with tags without a plugin, so it’s got some benefits.
Studies In Frustration: Upgrading
I had one long weekend of frustration. One of my favorite online store site packages, X-cart, was resisting my efforts to run some upgrade scripts to move to the newest version of the software. No matter what I did, X-cart did not see the upgrade package to move from version 4.0.17 to version 4.0.18. I changed every file permission I could think of, moved files all around, and still nothing.
I finally had to start pulling apart the code of the upgrader and the software to figure out why it wasn’t working. After a ton of time and testing I finally discovered the issue: A bug in the upgrade code for this patch was preventing X-cart from seeing the patch as valid. It turns out the coders had only set it to search for the database string for the version as 4.0.17, where if you had ever upgraded the program the string was listed as 4.0.17gold_upgrade…..so the patch would never be visible. To correct this issue you had to edit the database entry in the config table to simply list the current version as the number.
This reminded me of how simple in general it is to upgrade WordPress. Simply overwrite the default files with the new ones and run one simple database upgrade script and you’re done. With WordPress 2.3 being released very soon it’s good that this part of WordPress is easy. Now, making sure your theme and plugins don’t break due to the database changes they’ve done, now that’s not going to be easy…..
Restructuring in Progress
Sorry for the lack of news updates this week. My background setup is going through some major restructuring so it’s been difficult to get things done this week. I’ve been working on some plugin updates while also getting my PC systems in working order. Add to this some real world stuff and it’s been a hack or a week.
To make up for it I’ll try to get out all of the new plugin releases I want to do by next week. So expect some updates to all three of my plugins early next week.