Updated the instructions a bit. Please do not post bug reports here. Please post them to the bug tracker.
Here are some steps to take when upgrading from K2 0.9.1:
- Optional: Upgrade to WordPress 2.1. The next version of K2 will require it.
- Important: Deactivate the WordPress Widgets plugin.
- Optional: In the K2 Options panel, click on the Uninstall K2 button. Warning: This will deactivate and clear your K2 options. Ignore the headers error that you get.
- Rename the old k2 folder to something else.
- Download K2 0.9.5, decompress and upload the k2 folder to your WordPress themes folder.
- Copy any third-party schemes from the old styles folder to k2/styles.
- Copy any custom header images from the old images/headers folder to k2/images/headers.
- You can now delete your old K2 folder.
- Set the proper permissions to the headers folder: world writeable (777).
- Activate the new K2 from the Themes panel.
Works like a charm!
I get this error now:
Fatal error: Call to undefined function is_active_module() in /home/dsousou8/public_html/wp-content/themes/k2/theloop.php on line 76
Hmm….
Thanks for the tutorial!
I’m not sure what happened, but my clickable header graphics (750×135) used to appear under the previous version of k2 with a nice black border, with the menu appearing on the bottom border. After the upgrade, the border is gone and the menu links are appearing on top of the graphic itself. Sorry to bug you with CSS 101, but would you (or someone else checking this comments thread) be able to help me out?
Thanks again!
shul: It’s best to install WordPress 2.1 first and see if it works properly with your host.
Lumpy: It’s a whole different beast when upgrading to svn since you’ll be using the svn command to checkout and such. cd to your themes folder and type:
svn checkout http://kaytwo.googlecode.com/svn/trunk/ kaytwo
this will check out the current svn build of k2. You don’t have to click on Uninstall K2 if you don’t want to lose your current sidebar modules settings. But it’s good to clear out the old settings.
Dave: Please deactivate the WordPress Widgets plugin.
Thanks for the info. A couple of follow-up questions, if I may.
Upgrade to SVN: If I’m just saving the SVN updates to a folder on my local machine, can then just upload them to the K2 themes folder and that will “upgrade” me and preserve my sidebar modules?
I think the loss of the sidebar modules with a theme upgrade is an issue that should be addressed in a future upgrade.
Great work overall!
Lumpy: Yup, you can just upload the folder. Your sidebar modules are preserved as long as you don’t click on Reset and Uninstall K2. We’re planning on adding a feature where you can save to xml and load from xml your sidebar module settings.
Thanks a a lot. You really helped me out on the upgrade!
Thanks for this great guide, helped me while updating lots and lots
Great work! Thanx!