Closed (won't fix)
Project:
Import HTML
Version:
6.x-1.1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jun 2011 at 02:35 UTC
Updated:
4 Mar 2012 at 14:09 UTC
When I went to the Setup tab I got this error instead of a webpage:
Fatal error: Cannot redeclare htmltidy_test() (previously declared in /var/customers/webs/Webmaster/example.com/sites/all/modules/contrib/htmltidy/htmltidy.module:520) in /var/customers/webs/Webmaster/example.com/sites/all/modules/contrib/import_html/coders_php_library/install-htmltidy.inc on line 105
Comments
Comment #1
plato1123 commentedIs there a solution to this?
Comment #2
knowledg3 commented1. uninstall htmltidy drupal module
2. download the tidy executable from http://www.paehl.com/open_source/?HTML_Tidy_for_Windows
3. after downloading unzip the file in the location sites/all/modules/import_html/coders_xxx_xx/bin then go back to your site under import html click setup and make sure it finds the tidy executable ( it will inform u )
its rough but that's exactly what i did to get the import html module to work. now am having the problem with my imported html nodes not showing up under content ...............
Comment #3
dman commentedYeah, htmltidy and this module share some libraries - same function names.
Sorry about that, it's an old known issue.
Short answer - disable the htmltidy module while using import_html.