0

Have an odd problem trying to use wordpress importer.

Export posts from live site, try to import to new site but no media is imported.

I just get this-

Failed to import sizes medium
Failed to import sizes medium
Failed to import sizes medium
Failed to import sizes medium
Failed to import sizes medium
Failed to import sizes small
Failed to import sizes small
Failed to import sizes medium
Failed to import sizes small
Failed to import sizes large
...for a few hundred lines

No other errors seen or in PHP log.

2
  • Does your media are accessible by url to site where you want to import them?
    – kierzniak
    Commented Dec 6, 2017 at 14:45
  • yep its a live site.
    – v3nt
    Commented Dec 6, 2017 at 15:10

1 Answer 1

1

Add define('IMPORT_DEBUG', true); to your wp-config.php to display errors.

2
  • done and still no errors
    – v3nt
    Commented Dec 6, 2017 at 15:12
  • 1
    Can you send me sample xml file with couple of posts and couple of media images e.g. to wetransfer.com or paste xml file content to your question?
    – kierzniak
    Commented Dec 6, 2017 at 15:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.