• 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

    (@gamerz)

    Hmm I would like tp ask what is the different between upgrade.php and import-b2.php?

    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

    Welcome! Allusion is aware of the bugs.

    Thread Starter Lester Chan

    (@gamerz)

    tts fast reply..i just edited the post. LOL

    Thread Starter Lester Chan

    (@gamerz)

    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.”);
    }
    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.

    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.

    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

    (@gamerz)

    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.