hi, I'm currently working on a migration to drupal from mysource martix for a largish research institute.

I've downloaded all the pages with wget, so i have a local static site, and am attempting to import them.

I'm getting error messages like these for each file:

Had XML trouble with the document 'sites/default/files/imported/censeam_about'
Import_HTML failed to initialize or parse XMLdoc input
Failed to process a node out of file 'censeam_about'

reading through html_import_process.inc and /coders_php_library/xml-transform.inc I can see where it's having trouble, but the error messages are not informative enough to know what the problem is.

would it be possible to hire you to help us with this?

cheers. Dominic

cheers. Dominic

Comments

dman’s picture

Possible, yes.
First hint however is to turn up the debug volume - in "advanced" in the settings for the import profile.
Then just try to import one of the problem pages using the usual method. Too many pages will give you too much noise.

The probable cause will be HTML input so utterly bad that even HTML tidy can't do it. (for which there is no great solution - ">we'll be adding a pre-process hook to deal with that though - if neccessary)
Or the page and the import XSL template you are using returned an empty body - which traditionally was a fatal error (though in the -dev version this is now optional - as CCK nodes MAY be valid without a body.

So, if that doesn't point you in the right direction, attache the sample error-causing page (or URL) here and I'll see how hard it looks.

.dan.

dominic.tarr’s picture

hi, eventually I stumbled on the correct settings and got it going.

thanks.
Dominic

dman’s picture

Status: Active » Closed (fixed)

Clearing the old 6.x issues from the issue queue for a cleanup.

olfranci’s picture

Issue summary: View changes

Dear Domini,

Could you let me know what settings helped you get through?

Thanks,
Oliver