Title: Upgrading From b2
Last modified: August 18, 2016

---

# Upgrading From b2

 *  [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/)
 * HI all,
    I have read the readme and it ask me to run wp-admin/upgrade.php. But
   when I run it always give me “It doesn’t look like you’ve installed WP yet. Try
   running install.php.” But when i run install.php and run imort-b2.php, there 
   are some errors. I have edited wp-config-sample.php to wp-config.php and changed
   the $tableprefix to my my old b2 table prefix. But it still could not work. Thanks

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Thread Starter [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29274)
 * Hmm I would like tp ask what is the different between upgrade.php and import-
   b2.php?
 *  [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * (@laughinglizard)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29277)
 * Here are the fixes Gamerz.
    Open your import-b2.php and you will need to change
   the following lines: Line 62: Change import-b2.php.php?step=1 to import-b2.php?
   step=1 Line 191: Change import-b2.php.php?step=2 to import-b2.php?step=2 Line
   248: Change upgrade-071-to-072.php to upgrade.php Now try to access import-b2.
   php and see if it goes through. Peace
 *  [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * (@laughinglizard)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29281)
 * Welcome! Allusion is aware of the bugs.
 *  Thread Starter [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29282)
 * tts fast reply..i just edited the post. LOL
 *  Thread Starter [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29287)
 * okie i found the code tt does it
    if (!$wpdb->get_row(“SELECT * FROM $tableoptions
   LIMIT 1”) && !strstr($HTTP_SERVER_VARS[‘REQUEST_URI’], ‘install.php’)) { die(“
   It doesn’t look like you’ve installed WP yet. Try running [install.php](https://wordpress.org/support/topic/upgrading-from-b2-1/wp-admin/install.php?output_format=md).”);}
   For b2 0.6.1, they do not have a table call options, instead it is call settings,
   that is why, it will die() immediately. So you have no chance to run the upgrade.
   php at all.
 *  [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * (@laughinglizard)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29288)
 * I dont think the upgrade.php is meant to be used to upgrade from b2. There is
   a call to wp-settings.php from inside wp-config.php which is included from the
   upgrade script. wp-settings.php looks for the options inside the database (which
   do not exist in your case) and when not found, die with the “It doesn’t look 
   like you’ve installed WP yet. Try running install.php.” error. I would install
   a fresh copy of WP (with a new database if possible) and import your b2 entries
   into that copy using import-b2.php .
    Hope that helps.
 *  [Laughinglizard](https://wordpress.org/support/users/laughinglizard/)
 * (@laughinglizard)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29289)
 * GamerZ…comment out that line in wp-settings.php while you upgrade from b2….it
   should work that way. I would backup EVERYTHING first…LOL
    good luck!
 *  Thread Starter [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * (@gamerz)
 * [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29290)
 * yap, i going to try when I get back.. Got to go now.
    Thanks LL =)

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Upgrading From b2’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 8 replies
 * 2 participants
 * Last reply from: [Lester Chan](https://wordpress.org/support/users/gamerz/)
 * Last activity: [22 years, 4 months ago](https://wordpress.org/support/topic/upgrading-from-b2-1/#post-29290)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
