WordPress.org

Ready to get started?Download WordPress

Forums

Importing from MT problems (6 posts)

  1. nolageek
    Member
    Posted 10 years ago #

    I set the define('MTEXPORT', 'import.txt'); line in import-mt.php just like it said, but when I try to load it, I just get a blank page. Any ideas? I was getting this when I tried to load the main page, but figure out that it was a blank line at the end of the config.php file that was causing that. Those are the only two files that were opened. I'm stumped.
    Any ideas?

  2. carthik
    Member
    Posted 10 years ago #

    nolageek, try editing a fresh copy of import-mt.php using wordpad, and saving that to your server. If possible, save this erratic file and link to it as import-mt.phps so I can look at it.
    :)

  3. nolageek
    Member
    Posted 10 years ago #

    Hmm tried that, still nothing.
    http://www.nolagay.com/wordpress/wp-admin/import-mt.phps
    Vincent

  4. nolageek
    Member
    Posted 10 years ago #

    I upgraded to 1.2b and it worked fine.
    Hey, I saw somewhere else here that there's custom fields in the new one. which version is that?

  5. carthik
    Member
    Posted 10 years ago #

    It is 1.2. In the admin interface to create a new post, or edit an old one, in Advanced Editing mode, you will be able to see the Post Meta Tags. Define a new post meta field and assign a value to it to start using it

  6. Anonymous
    Unregistered
    Posted 10 years ago #

    What editor did you use to edit the import-mt.php file?
    I noticed several single line comments in that file that are much longer than 80 characters, and some text editors (including pico) will automatically wrap them for you, making them unparsable by php.
    I suggest downloading your edited file to insure that no hard-breaks have been inserted.
    This can also be fixed in WordPress by not having any lines (especially commented lines) longer than 80 characters in any files that need to be user-edited.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.