Support » Fixing WordPress » b2 import fails…

  • I’m a total newbie so please have a bit oversight with my lack of knowledge.
    I managed to install b2 a long time ago on my site..
    its located under public_html/blog/
    Now I started to get spammed in my comments and saw that WP offers more in way to block that.
    My isp Hostdime ( I like them) offers WP thru their scrips library so I installed and tryed to run the import-b2.php file… here are the results:
    Warning: main(upgrade-functions.php): failed to open stream: No such file or directory in /home/toopicky/public_html/wp/wp-admin/import-b2.php on line 4
    Fatal error: main(): Failed opening required 'upgrade-functions.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/toopicky/public_html/wp/wp-admin/import-b2.php on line 4

    I remember vaguely installing b2 and telnetting in.. now my host don’t allow that anymore.

Viewing 5 replies - 1 through 5 (of 5 total)
  • you should do that:
    put the import script in /home/toopicky/public_html/wp/wp-admin/
    you can ask your host to upgrade their installation script, tell them about the error or you can install a fresh copy of WP 1.2.1

    Thread Starter toopicky

    (@toopicky)

    I finally got back to the upgrade and a fresh install was done with the help of cpanel and fantastico… now I get this error:
    ———————-
    First we’re going to add excerpt, post, and password functionality…
    Database error: [Duplicate column name ‘post_excerpt’]
    ALTER TABLE wp_posts ADD COLUMN post_excerpt text NOT NULL;
    Database error: [Duplicate column name ‘post_status’]
    ALTER TABLE wp_posts ADD post_status ENUM(‘publish’,’draft’,’private’) NOT NULL, ADD comment_status ENUM(‘open’,’closed’) NOT NULL, ADD ping_status ENUM(‘open’,’closed’) NOT NULL, ADD post_password varchar(20) NOT NULL;
    That went well! Now let’s clean up the b2 database structure a bit…
    Database error: [Can’t DROP ‘ID’. Check that column/key exists]
    ALTER TABLE wp_posts DROP INDEX ID
    One down, two to go…
    Database error: [Table ‘toopicky_wrdp1.wp_settings’ doesn’t exist]
    ALTER TABLE wp_settings DROP INDEX ID
    So far so good.
    Database error: [Can’t DROP ‘post_karma’. Check that column/key exists]
    ALTER TABLE wp_posts DROP post_karma
    Almost there…
    Database error: [Can’t DROP ‘ID’. Check that column/key exists]
    ALTER TABLE wp_users DROP INDEX ID
    Welcome to the family. Have fun!
    ———————————————
    And nothing was imported…. urgh.. this bites.

    Same problem here. ARGH!

    Hannes

    (@hannes)

    hi all, i have made script for converting b2 to WordPress (posts, categories, comments). Many of you here were having problems with original script, which wasnt working (and no respond from the creators of the WordPress of course), so this should solve your problem. You can download it at http://www.czhannes.com/b2_wordpress_import.rar . Upload it to folder /wp-admin/ on your server, open in browser and read the instructions…

    Hannes

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘b2 import fails…’ is closed to new replies.