Upgrading from b2 to WP problems
-
Downloaded WP 1.0.2 for upgrade from b2 v0.6.1.
Going through the WP readme file, the “Upgrading from b2 v0.6.1/v0.6.2.2 to WordPress v1.0.2:” section:
– I backed up my database.
– Configured wp-configure.php
– “All you really have to do is replace all the files with newer versions and run wp-admin/upgrade.php and you should be ready to go.” -> didn’t understand this, so uploaded all files. Went to wp-admin/upgrade.php and it told me WP wasn’t installed. So I installed the program.
– “There is also an import script at wp-admin/import-b2.php.” -> Went here next, and it gave me loads of errors:
First wea€?re going to add excerpt, post, and password functionality…
SQL/DB Error:
[Duplicate column name ‘post_excerpt’]
ALTER TABLE wp_posts ADD COLUMN post_excerpt text NOT NULL;
SQL/DB 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…
SQL/DB Error:
[Can’t DROP ‘ID’. Check that column/key exists]
ALTER TABLE wp_posts DROP INDEX ID
One down, two to go…
SQL/DB Error:
[Table ‘intrinz_b2.wp_settings’ doesn’t exist]
ALTER TABLE wp_settings DROP INDEX ID
So far so good.
SQL/DB Error:
[Can’t DROP ‘post_karma’. Check that column/key exists]
ALTER TABLE wp_posts DROP post_karma
Almost there…
SQL/DB Error:
[Can’t DROP ‘ID’. Check that column/key exists]
ALTER TABLE wp_users DROP INDEX ID
Welcome to the family. Have fun!
– Now my blog looks the same as when I first installed it.
I’d just like to say the readme file for upgrading from b2 to wp is crap – I didn’t understand it and now look what’s happened. It should be step-by-step, to avoid problems like this.
Please help me fix this? I don’t know what to do next.
- The topic ‘Upgrading from b2 to WP problems’ is closed to new replies.