• Resolved barbutti47

    (@barbutti47)


    Hi,

    I started noticing since the release of version 0.3 of the WordPress Importer that the parser is ignoring the value set in the <wp:attachment_url> of the WXR XML when it tries to download file attachments.

    I was able to verify this by looking into the value of the $import_data variable inside the WP_Import::import_start method. Since the parser is ignoring the wp:attachment_url value, the importer uses the value of <guid> for the URL download — which most of the times (at least to me) isn’t correct.

    Anyone experiencing the same problem?

    Thanks.

Viewing 15 replies - 1 through 15 (of 23 total)
  • while 0.2 imported all my post attachments – 0.3 doesn’t – always getting an error – is the older version still available somewhere?

    Confirmed. Thanks for reporting, will fix shortly.

    The old version is available from the other versions download page.

    In about 10 minutes you can try the development version which has had a fix applied. It will show up as version 0.4-alpha1 in your plugins page and it is available from the other versions download page (or use this direct link to the zip file).

    If you are able to test it out to confirm it works I would appreciate it.

    Thanks again for reporting so quickly!

    the updated plugin seems to do something – however, I don’t see any progress in the browser – no messages, nothing…

    I’ll let you know whether it imported the attachment when its done – if it gets there – 0.2 worked by the way

    the process finished and attachment got imported – however, what’s confusing is that e.g. an image that was in the following folder in source installation: ..uploads/2003/05/image.jpg end up in the new location at …/uploads/2010/09/image.jpg

    any ideas?

    That’s strange and it’s not happening for me (e.g. getting uploads in 2010/08 and 2011/01 for the latest theme test data).

    The file should be saved using the post date specified for a particular attachment in the export file. Take a look at the XML and search for one of the attachments that’s in the wrong folder and check the <wp:post_date> tag.

    I got this for instance:

    [Code moderated as per the Forum Rules. Please use the pastebin]

    the entry was posted on July 30, 2003 and the picture ends up in uploads/2010/09 ??

    mmjaeger

    (@mmjaeger)

    any progress on this issue: he process finished and attachment got imported – however, what’s confusing is that e.g. an image that was in the following folder in source installation: ..uploads/2003/05/image.jpg end up in the new location at …/uploads/2010/09/image.jpg

    any ideas?

    The pictures still end up at the wrong location?

    what the latest version of this plugin?

    any progress on this issue: he process finished and attachment got imported – however, what’s confusing is that e.g. an image that was in the following folder in source installation: ..uploads/2003/05/image.jpg end up in the new location at …/uploads/2010/09/image.jpg

    Still cannot reproduce this as stated above.

    any ideas?

    Have you tried disabling all other plugins before importing? It’s possible, though unlikely, that another plugin could be filtering the upload path to cause a problem.

    what the latest version of this plugin?

    The current stable version is 0.3. In trunk is 0.4-alpha2 which will be released soon.

    Could you repost some data from your import xml file (use a pastebin as suggested by the mod who had to remove whatever you pasted last time) or you can email me a file (wp AT lionsgoroar.co.uk).

    lampei

    (@lampei)

    Is there a way to get debug output to the screen when trying to do an import? I’ve uploaded the alpha2 version and enabled the plugin. Then I choose the file and click “Upload file and import” and get taken to a screen that just shows “Import WordPress” as the title, and blank below that. If I could see what has failed I may be able to check into what is happening.
    Thanks.

    lampei

    (@lampei)

    BTW, I tried v0.2 and that got further along in the import process, but still failed. I tried removing certain posts and entries, but figured I’d give 0.4 a try first (but still no luck)

    lampei

    (@lampei)

    Also tried setting the “importdebug” to true and that doesn’t seem to be outputting anything either.

    @lampei:

    Firstly could you please open a new forum thread for this problem as this current thread is now tracking three separate problems.

    Secondly, try adding WP_DEBUG to your wp-config.php file as well as enabling IMPORT_DEBUG in the plugin file:

    define('WP_DEBUG',true);

    Also checkout sivel’s page on the ‘WordPress White Screen of Death

    Also include full details of your setup in the new thread.

    Thanks.

    Sunny_Balanga

    (@sunny_balanga)

    I too am having problems with importing the attachments.
    I have tried the plugin versions 0.2, 0.3 and 0.4-alpha1.
    The posts are restored but NO images. Help?

    I too am having problems with importing the attachments.
    I have tried the plugin versions 0.2, 0.3 and 0.4-alpha1.
    The posts are restored but NO images. Help?

    Did you check the box labelled “Download and import file attachments” on the second screen (just after you upload the import file)? Please could you also open a new thread if this wasn’t the problem instead of continuing here.

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘[Plugin: WordPress Importer] Importer ignores attachment_url from WXR’ is closed to new replies.