Hi,

after having installed Tidy on the Linux Web-Server, the "Import HTML Settings"-Page tells me:

HTMLTidy executable is not available. Found 'tidy' binary, but it didn't run right. /usr/local/bin/tidy -v failed to respond correctly

Running Tidy on the Server I get the correct message:

HTML Tidy release date: 4th August 2000
See http://www.w3.org/People/Raggett for details

Tidy should be accessible form all processes since it has set the following bits:

-rwxr-xr-x

Tidy is exactly located in the directory /usr/local/bin !

Does "Import HTML" expect to get another response form Tidy when executing tidy -v?

What else can be wrong?

Thanks in advance!

Peter

Comments

dman’s picture

Looking at the line in the test file it should respond OK if the executable returns anything at all.

It does run a system call (obviously) and some hosts have that locked down via safe_mode.
If that's the case, you may be able to run it by copying the binary into the expected bin directory under the module dir, where safe_mode_exec_dir may trust it. Check your phpinfo to see if it looks like anything is restricted.

Note, tidy dated 2000 looks pretty old!

dman’s picture

Status: Active » Closed (fixed)

Cleaning up issue queue by closing stuff from the Drupal-5 branch and over a year old.