Help - Search - Members - Calendar
Full Version: Import works except for Comments?
Movable Type Community Forum > Installing and Upgrading > Importing and Exporting
esch11
Trying to import 5mb into new 3.0 fails to import comments. It will import all entries but will not import any comments. There is no failure message or any indication that the import failed. It will create users/categories just fine. I can not get the comments to import.....

Any suggestions or help would be great.
shelley
A link to the import .txt file on your server would probably help - otherwise, we don't really have a lot to go on. wink.gif
dwallbri
I am trying to import, and it looks to work, but not all the data is put into the right place. It worked for the first blog, but the second one it didn't work on. I am left with a comment message that looks like:

QUOTE
EMAIL: x@x.x
IP: x.x.x.x
URL: http://blah
DATE: 06/30/2004 01:04:25 PM
That which does not kill us makes us stranger.


Where all above the "That which does not kill us makes us stranger." line should have gone into appropriate places. http://www.geekblog.net/MT3/import/import.txt is the file, and it looks properly generated form the 2.661 install it's being moved from. Thoughts, advice? I have tried to delete all posts and re import 2 times now, all to the same result.
shelley
Hmm. I just imported the first seven entries in the file, and it seemed to work okay. sad.gif
shelley
Oh, this is interesting:

CODE
-----
COMMENT:
AUTHOR: Weintraub Ariel

EMAIL: pqxby@sexmuch.com
IP: 24.29.120.126
URL: http://www.linkspider.us
DATE: 06/30/2004 01:04:25 PM
That which does not kill us makes us stranger.
-----
COMMENT:
AUTHOR: Gartner Elana

EMAIL: aqqwj@sexmuch.com
IP: 68.23.180.33
URL: http://www.average-penis-sizes.org
DATE: 05/03/2004 12:03:53 PM
It's a sign of mediocrity when you demonstrate gratitude with moderation.
-----
COMMENT:
AUTHOR: Geek
EMAIL: geek@geekblog.net
IP: 24.79.77.122
URL: http://www.geekblog.net
DATE: 11/04/2003 04:07:53 AM
The way I see it is this. You do not build a house by stacking tables or even boxes one on the other, at least not a good one, and you do not try to do a comparison chart with CSS. CSS is Cascading [i]Style[/i] Sheets, so use it for that purpose, hell even use it to layout the page. Tables are no longer practical for either of those tasks. They are good for charts, and that is all, so using them for anything else shows an ignorance towards advancement.
-----


Note that there is a space and a blank line right after those first couple of author names, which might be the problem. wink.gif

I'd strip those comments out of the txt file anyhow, since they're just spam.
dwallbri
Thanks, worked like a charm, I just updated MTB from the master and ran a spam, all spam was gone, and the export file was clean.
psingh99
What did you do to clean your comments file of spam? I have a huge (2000) entry Berkeley install which I'm moving over for someone, and there's a lot of spam I want to get rid of.

Also, I take it blank lines in the import file are bad?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.