View Full Version : Can't index word or excel files

01-20-2004, 07:03 AM

I have troubles to index word and excel files. With PDF i don't have problems.

I've tried to intercept the command line passed to that tools.

If I do a copy paste of the value passed to $command at lines 709 and 714 of robot_functions.php it works in a dos box, I have the text returned to screen, but phpdig don't index anything.

It seems that the $retval at line 727 is 0 when parsing PDF, and 1 for XLS or DOC.

I'm using Win 2000 with Apache 1.3.29, PHP 4.3.3, and PHPDig 1.8.

Does anyone have an idea ?

01-20-2004, 09:05 AM
Hi. Try checking that the directories and binaries have permission 755. For example, if the path/file is /usr/local/bin/catdoc, then check that the usr, local, and bin directories, as well as the catdoc file, are all 755 permissions.