I found that import_html.module required devel.module to import multiple pages. This is not documented anywhere.

Comments

dman’s picture

Could be related to a recent CONFLICT with devel.module that should have been fixed
http://drupal.org/node/99705
(recent release of devel absorbed a debug function I developed myself)

however I'm unable to replicate any problem with or without devel on the current release.

Any more details on what the problem (missing function ?) was?

Bevan’s picture

Hmmm. I don't see how or why that should make it now DEPENDANT on devel.module though. I've finished with import_html for the trial imports and preparation. I'll try to remember to test it when we do the final live site import.

I'm just checking the archived site branches. There is definitely nothing in the watchdog logs. However I noticed that when devel and import_html are both enabled, I get the following errors on path admin/modules (and similar combinations on many other pages:

Notice: Undefined variable: items in /Users/bevan/Sites/smw.lcl/sites/test5.import.smw.lcl/modules/import_html/import_html.module on line 123

Notice: Undefined index: #theme_used in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 533

Notice: Undefined index: #type in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 569

Notice: Undefined index: #children in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 1096

The last two lines are repeated many times (about 50?). Then it finishes with:

Notice: Undefined index: #type in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 569

Notice: Undefined index: #value in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 1096

Notice: Undefined index: #children in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 1096

Notice: Undefined index: #title in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 967

Notice: Undefined index: #children in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 971

Notice: Undefined index: #type in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 569

Notice: Undefined index: #value in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 1096

Notice: Undefined index: edit in /Users/bevan/Sites/smw.lcl/sites/test5.import.smw.lcl/modules/devel/devel.module on line 456

Notice: Undefined variable: output in /Users/bevan/Sites/smw.lcl/sites/test5.import.smw.lcl/modules/devel/devel.module on line 470

Notice: Undefined index: #default_value in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 408

Notice: Undefined index: #resizable in /Users/bevan/Sites/_assets/source/drupal/stable-4.7/includes/form.inc on line 1073

I never noticed these before because php.ini display_errors was off.

Without devel module import_html would import only one node, and not return anything -- not even an html tag. on manual reload import_html said it was importing several hundred items, but only imported one.

I'll try to reproduce it later and see what I can find...

dman’s picture

Those errors are just NOTICE level logs. Drupal will throw a million of them just in everyday use if you turn that detail up.
Not much help, and no clue towards what may be causing you problems. How's your mem limit? XSL processing can load the server, but I can't see that devel would help that...

Bevan’s picture

Yes, I thought so. Everything still worked even with those error messages. I don't think it's the memory limit, as when have devel.module enabled it is able to import 400 largish content items and about as many images, all at once.

dman’s picture

Status: Active » Closed (fixed)

Undefined issue. Partial (inadvertant) devel dependancy was removed a while ago