Dotclear

Ticket #390 (closed defect: fixed)

Opened 17 years ago

Last modified 17 years ago

Import from WP not working - multiple errors

Reported by: Zen-Dreams Owned by: olivier
Priority: normal Milestone: 2.1
Component: module:import/export Version: 2.0
Severity: blocker Keywords:
Cc:

Description

  1. When having prefix different than wp_, import will not work.

Patch line 483:

<< 'SELECT option_value FROM wp_options '. >> 'SELECT option_value FROM '.$prefix.'options '.

  1. When having drafts in WP database, import will fail as post-name are empty (which makes duplicate entries).

Behavior TBD.

  1. Errors when importing comments including a single-quote. Didn't find reason, problem with data encoding probably, function seems ok, maybe conversion of SQL characters has to be performed.
  1. Due to previous error, include option to import comments or not ?
  1. Posts are never showing up, password set to empty value instead of NULL.

Patch line 607:

<< $cur->post_password = $rs->post_password; >> $cur->post_password = ($rs->post_password!="") ? $rs->post_password : NULL;

That's all for now.

I didn't attach a patch because there are only two lines to update and probably define what has to be done regarding other problems.

Change History

comment:1 Changed 17 years ago by olivier

  • Status changed from new to assigned
  1. No problem with comment and single quotes...

comment:2 Changed 17 years ago by olivier

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [2256]) Fixes in wordpress import. Closes #390.

Note: See TracTickets for help on using tickets.

Sites map