Ticket #390 (closed defect: fixed)
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
- 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 '.
- When having drafts in WP database, import will fail as post-name are empty (which makes duplicate entries).
Behavior TBD.
- 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.
- Due to previous error, include option to import comments or not ?
- 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
Note: See
TracTickets for help on using
tickets.