Closed (fixed)
Project:
WordPress Migrate
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
4 Mar 2011 at 06:21 UTC
Updated:
22 Feb 2012 at 01:10 UTC
I'm getting this error while trying the a file import.
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:wp="http://wordpress.org/export/1.0/"
>
Let me know if you want me to send you the XML for testing. It's only 455 kb.
Also, the import function through wp login doesn't work.
Comments
Comment #1
pharoz commentedActual Error Message
Could not load WXR file - problems reported: Opening and ending tag mismatch: b line 2405 and wp:comment_content at line 2405 Opening and ending tag mismatch: comment_content line 2403 and comment at line 2409 Opening and ending tag mismatch: comment line 2395 and item at line 2425 Opening and ending tag mismatch: item line 2364 and channel at line 4374 Opening and ending tag mismatch: channel line 27 and rss at line 4375 Premature end of data in tag rss line 19 at line 4376
Comment #2
mikeryanIt looks like you may have comments with mismatched tags (e.g, a <b> without a corresponding </b>). The WordPress exporter should wrap these in CDATA segments, but maybe not - it would be helpful to get your WXR file (contact me through my profile).
Comment #3
mikeryanI cannot reproduce this - I created a WordPress comment with an unmatched <b> tag, exported it, and imported it successfully. Comment bodies are wrapped in CDATA segments, so I don't see how this would happen.
Comment #4
Aldus commentedI have the same problem.
How can I send you my WXR file?
Comment #5
Aldus commentedmy error in details is:
Could not load WXR file - problems reported: Opening and ending tag mismatch: encoded line 20251 and script at line 20256 StartTag: invalid element name at line 20262 StartTag: invalid element name at line 20263 StartTag: invalid element name at line 20264 StartTag: invalid element name at line 20265 StartTag: invalid element name at line 20266 Sequence ']]>' not allowed in content at line 20267 Sequence ']]>' not allowed in content at line 20267 internal error at line 20267 Extra content at the end of the document at line 20267
Comment #6
ricky1146 commentedI am also having having this issue. With some it uploads fine others not so.
I get this and as stated above
Comment #7
Aldus commentedI found out there was bad code in my WXR file at that line. I had to manually fix it and then the import went smooth
Comment #8
emarchak commentedFor people who still have this problem, could you share what you discovered? I'm sure it will help out others.
Comment #9
jaxxham commentedI've found that if you install the old Wordpress export plugin: http://wordpress.org/extend/plugins/advanced-export-for-wp-wpmu/ import tends to go smoother.
Comment #10
mikeryanAsked and answered.