Hi,
I've got Import HTML and HTMLTidy working properly on one of my sites, but when I went to setup Drupal for another site, I'm getting weird problems with Import HTML.
I am able to run HTMLTidy from a command line. I run > /usr/local/bin/tidy -v /path/to/file/filename.html and it returns:
HTML Tidy for Solaris released on 1 September 2005
When I run Import HTML in Drupal, it displays the following at the top of the page:
ld.so.1: tidy: fatal: libgcc_s.so.1: open failed: No such file or directory
: in debug_pre(), line 95 debug.inc : in xml_tidy_file(), line 155 tidy-functions.inc : in xml_tidy_string(), line 76 tidy-functions.inc : in parse_in_xml_file(), line 69 xml-transform.inc : in _import_html_process_html_page(), line 1705 import_html.module : in _import_html_import_files(), line 1513 import_html.module : in import_html_import_files_page(), line 1252 import_html.module : in menu_execute_active_handler(), line 418 menu.inc 0.05s elapsed. (5 total)
and then the following in the red box:
# user warning: HTMLTidy failed to parse the input at all! It's probably very problematic HTML. A working version of tidy IS at /usr/local/bin/tidy isn't it? I ran /usr/local/bin/tidy -q -config /usr/local/lib/drupal/modules/import_html/coders_php_library/xhtml_tidy.conf "/var/tmp/htmX1ai50" and it returned: 137 in /usr/local/lib/drupal/modules/import_html/coders_php_library/tidy-functions.inc on line 156.
# warning: DOMDocument::loadXML() [function.DOMDocument-loadXML]: Opening and ending tag mismatch: meta line 5 and head in Entity, line: 11 in /usr/local/lib/drupal/modules/import_html/coders_php_library/xml-transform.inc on line 96.
...
Any ideas what's causing this? I was getting the "ld.so.1: tidy: fatal: libgcc_s.so.1: open failed: No such file or directory" error from command line too, but then are sysadmin put in the full path to libgcc and it worked fine from there.
Rob
Comments
Comment #1
rgraves commentedWe edited the envvars and envvars-std files in apache's bin directory. For LD_LIBRARY_PATH, we added /usr/local/lib (the location of the libgcc_s.so file) and restarted apache. Things are working now.
Rob
Comment #2
dman commentedGood to know.
Thanks for the follow-up! There's not a lot of input I could have provided for that :-}
Happy it's fine now
Comment #3
stevenpatzComment #4
er.bhagwat commentedI am successfully add module of import HTML when i configure the Import HTML Settings.
There is an error showing this message.
"HTMLTidy executable is not available. Couldn't find tidy binary anywhere!"
What can i do.
please help me.