B2 0.6.2.1 to wordpress 1.5
-
Hi there ??
I decided to switch my blog to WordPress. I tried to import my b2 files to the wp database but it failed :
Step 2
First wea€?re going to add excerpt, post, and password functionality…
WordPress database error: [Duplicate column name ‘post_excerpt’]
ALTER TABLE wp_posts ADD COLUMN post_excerpt text NOT NULL;WordPress 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…
WordPress database error: [Can’t DROP ‘ID’. Check that column/key exists]
ALTER TABLE wp_posts DROP INDEX IDOne down, two to go…
So far so good.
WordPress database error: [Can’t DROP ‘post_karma’. Check that column/key exists]
ALTER TABLE wp_posts DROP post_karmaAlmost there…
WordPress database error: [Can’t DROP ‘ID’. Check that column/key exists]
ALTER TABLE wp_users DROP INDEX IDHow can i fix that ?
Thanks in advance.
- The topic ‘B2 0.6.2.1 to wordpress 1.5’ is closed to new replies.