Closed (fixed)
Project:
Import HTML
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 May 2009 at 06:53 UTC
Updated:
3 Jan 2014 at 00:29 UTC
Jump to comment: Most recent
If the included "static" module is present, drupal crashes with the error:
Fatal error: Call to undefined function debug_set_level() in import_html/static/static.module on line 29
temporary workaround, delete the static module:
import_html/static/static.module
Comments
Comment #1
silentway commentedAn update:
The fatal error only happens if you ENABLE the static module. So... don't!
If by some chance you did enable it (as I did) you may find that you can't get back to drupal's modules page to turn it off. Here's how to go into the database and turn off a module manually:
http://drupal.org/node/157632
If you delete it without disabling it first, the database still lists it as enabled (even though it won't show up in your admin list of modules). Best to turn it off first manually, then delete it, according to this:
http://drupal.org/node/45563
"Do not delete the module from the file-system before disabling... Doing so might leave tables and other objects orphaned, and prevents the module from properly cleaning up after itself."
Comment #2
dman commentedI've tweaked it in dev so at least it doesn't kill things so fatally (still not something you should use though).
Moving a bunch of the import_html libraries around into .inc files confused it.
It doesn't write anything to the database, so there's no big issue about 'uninstalling' it safely.