• Hi there,

    I’m trying to import my old Danish https://www.smartlog.dk -blog to my new fancy wordpress one. I think it’s should be fairly simple getting af .xml-file through the RSS-import. But the only thing that happens is this:

    “The uploaded file could not be moved to .”

    Moved to where? Do I need to specify a directory somewhere?

    Any help would be much appreciated!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter birkbak

    (@birkbak)

    I would be very thankful if anyone could help me out. An awful lot of people seem to have problems with the import tool, but few have answers understandable by we who don’t know how to code.

    Why can’t I import a .xml-file to my new WordPress 2.0-blog? If the solution is out there, please do inform me.

    If you visit Options -> General, what is specified for “Store Uploads in this folder”?

    Does that directory exist? If not, you’ll want to create it.
    Is that directory writable by your web server’s process?

    As an aside, and I’m a little fuzzy here, but you may check with your host to make sure that PHP apps can write to directories other than /tmp (Is that a SELinux thing?)

    Thread Starter birkbak

    (@birkbak)

    Thanks a lot for replying, HandySolo!

    The uploads folder exists. It’s wp-content/uploads

    It should be writeable, but I don’t know how to check it. My host is https://www.surftown.dk. Do I need to change permissions? If so, what do I do?

    It’s a Linux server, that’s all I know. I don’t know how to deal with you second reply, but I can always email my webhost.

    Looking forward to your reply!

    Try changing the folder to 755. (You might have a look at Changing_File_Permissions if chmod is greek to you).

    The trick is, the process running the webserver (apache) needs to be able to write to that directory.

    That, and the SELinux thing, are probably questions for your host. The reason I bring up SElinux is from blog posts like this one that I’ve seen in the past. Now, I’m honest to admit I know jack and squat about this topic, but it seemed worth bringing up.
    (and I’m realistic enough to know that if someone here knows more they won’t hesitate to correct me! hopefully kindly)

    Thread Starter birkbak

    (@birkbak)

    Thanks again.
    I’ve managed to get past the permissions-problem. My new result is the “All done. Have fun.”-message, but nothing imported!

    I also tried saving my .xml-file as a .txt-file and used the MT-import tool, which seemed to work, but still nothing was imported.

    I’m wondering wether the format is eatable for WordPress. Does this post information code look useful?

    <item smartlog:id=”43608″>
    <smartlog:option name=”allow_comments” value=”true” />
    <smartlog:option name=”allow_trackback” value=”true” />
    <title>Velkommen til!</title>
    <pubDate>Wed, 22 Feb 2006 03:53:28 +0100</pubDate>
    [email protected] (Andreas Birkbak)
    <description><p>Denne blog kommer….and the main text goes here

    Anyway, I’m going to ask my host about the SELinux-subject.

    Reposting from other thread…

    Just wanted to say that I ran into the same problem. It was not a permissions issue. It was a PHP version issue. Import does not seem to work with PHP 5. If you can, downgrade to PHP 4. Luckily I have an option to downgrade in the control panel.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Importing .xml-file: “…could not be moved to.”’ is closed to new replies.