How to upgrade WP-United from v0.7x to v0.8.0

Filed under: Using WP-United, phpBB3 — Jhong at 2:57 am on Monday, January 18, 2010

Now that WP-United v0.8 is released, you will be wondering how to upgrade an existing v0.7x installation.

The procedure is simple. However, while you are upgrading, site visitors will receive errors, and certain pages will be inaccessible. It is therefore important that you bring your site offline during the upgrade process. The easiest way is probably to require a username and password using your .htaccess and an htpasswd file.

Once your site is offline, you are ready to upgrade. Open the file contrib/upgrading_from_v0.5.5_or_later/upgrade.xml in your browser, and read through the instructions before beginning.

Then follow the below steps:

  • Delete your phpbb-root/wp-united directory from your server — it contains old files that need to be removed.
  • Perform all the file copies and edits indicated in the upgrade.xml file — there are edits to three files, and you need to copy everything from root to your live site. If you renamed or moved blog.php, don’t forget to replace it with the new one for v0.8, and then edit it and provide the path back to phpBB, like you did before.
  • Next, open up the file wp-united/options.php on your server,find the option WPU_DISABLE, and change the option from FALSE to TRUE. This will temporarily disable WP-United so you can complete the upgrade.
  • Visit your phpBB Admin Control Panel, and purge the phpBB cache. This is important, without this the new WP-United hooks may not run.
  • Visit the WP-United Setup Wizard, and run it all the way through.
  • When completed, go back to your wp-united/options.php and change WPU_DISABLE from TRUE back to FALSE

Your upgrade should now be complete. Surf your site and play with the various new options. When satisfied, re-enable access to your site.

Remember that WP-United v0.8 contains many additions and changes. It is recommended that you test it on an offline copy of your forum first to ensure the upgrade will fit your needs before upgrading your live site.

Happy blogging!

6 Comments »

Comment by t0kneneng

21 January 2010 @ 12:24 pm

jhong I’m excited with this release however I’m having trouble when I upgrade my current wp-united 7…. I did follow upgrade instruction but when I try to access my phpbb admin panel… I have this error..

Fatal error: Call to undefined method WPU_Actions::do_head() in /home/.seurat/h_tokneneng/tokneneng.net/forum/includes/functions.php on line 3727

Please help how to resolve… thanks….

Comment by Jhong

21 January 2010 @ 4:43 pm

You didn’t remove the old code edits as described in the upgrade.xml file…

Comment by t0kneneng

22 January 2010 @ 10:26 am

jhong thanks for the reply…. same issue I did remove everything 1 by 1… now I try to change wordpress theme… I can’t login to wordpress admin… I have same issue I guess my problem is the template is there a way I can manually configure the default theme of wordpress? thanks

Comment by Jhong

22 January 2010 @ 10:32 am

What error message do you get? Same message? If so, it’s because the old do_head code is still in your phpbb functions.php…..

How are you logging in to WP? If you have logins integrated and you are a board founder, you don’t need to log into WP any more — just visit the blog.php then visit the dashboard.

Comment by t0kneneng

25 January 2010 @ 11:04 am

Fatal error: Call to undefined method WPU_Actions::do_tail() in /home/.seurat/tokneneng/tokneneng.net/forum/includes/functions.php on line 3922

this the error I get… can you tell me what I need to change in functions.php? thanks for the help…

Comment by Jhong

25 January 2010 @ 12:50 pm

You did not run through the install.xml properly — it asks you to remove some code you added in v0.7x. Check carefully you removed it.

RSS feed for comments on this post. TrackBack URI

Leave a comment

You must be logged in to post a comment.