Opened 18 years ago
Closed 18 years ago
#2095 closed defect (bug) (worksforme)
Importing OPML file fails
Reported by: | technosailor | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 2.0 |
Component: | Administration | Keywords: | opml, links, import |
Focuses: | Cc: |
Description
When importing from local OPML file, WP throws an error as if it thinks it's opening a URL:
Warning: fopen(http://) [function.fopen]: failed to open stream: Success in /home/httpd/vhosts/technosailor.com/httpdocs/wp-includes/functions.php on line 2105 XML error: Invalid document end at line 1
When importing from a URL, it attempts to insert all links as ID 0 resulting in only the first feed being imported:
Inserted Jeffrey Zeldman Presents: The Daily Report WordPress database error: [Duplicate entry '0' for key 1] INSERT INTO wp2_links (link_url, link_name, link_target, link_category, link_description, link_owner, link_rss) VALUES('http://jeremy.zawodny.com/blog/', 'Jeremy Zawodny\'s blog', '', 1, 'SELECT * FROM random_thoughts ORDER BY date DESC', 1, 'http://jeremy.zawodny.com/blog/rss2.xml')
Change History (2)
Note: See
TracTickets for help on using
tickets.
Forget the dupe ID issue on URL import. That was a MySQL issue, not WP.