Forums

Upgrading From b2 (9 posts)

  1. Lester Chan
    Member
    Posted 8 years ago #

    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

  2. Lester Chan
    Member
    Posted 8 years ago #

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

  3. Laughinglizard
    Member
    Posted 8 years ago #

    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

  4. Laughinglizard
    Member
    Posted 8 years ago #

    Welcome! Allusion is aware of the bugs.

  5. Lester Chan
    Member
    Posted 8 years ago #

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

  6. Lester Chan
    Member
    Posted 8 years ago #

    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.

  7. Laughinglizard
    Member
    Posted 8 years ago #

    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.

  8. Laughinglizard
    Member
    Posted 8 years ago #

    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!

  9. Lester Chan
    Member
    Posted 8 years ago #

    yap, i going to try when I get back.. Got to go now.
    Thanks LL =)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.