|
01-30-2004, 03:34 AM | #1 |
Green Mole
Join Date: Jan 2004
Posts: 6
|
Indexing word doc's OK search through files don't work
Hello!
I have installed the phpdig successfull and I hope also the catdoc addon. During the indexing prozess phpdig is finding the doc-files. But after that it is not possible to search through the doc files. Is there something I must attend for? Here are my config.php properties. //---------EXTERNAL TOOLS SETUP // if set to true is_executable used - set to '0' if is_executable is undefined define('USE_IS_EXECUTABLE_COMMAND','0'); //use is_executable for external binaries // if set to true, full path to external binary required define('PHPDIG_INDEX_MSWORD',true); define('PHPDIG_PARSE_MSWORD','C://apache//Apache2//htdocs//catdoc'); define('PHPDIG_OPTION_MSWORD','-s 8859-1'); Thanks for your help. dapuse |
01-30-2004, 10:58 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. What do you get when you run the following from command line?
Code:
C://apache//Apache2//htdocs//catdoc -s 8859-1 pick_a_file.doc
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
02-02-2004, 12:26 AM | #3 |
Green Mole
Join Date: Jan 2004
Posts: 6
|
If I type that:
C://apache//Apache2//htdocs//catdoc -s 8859-1 1.doc I get: 'catdoc' is not recognized as an internal or external command, operable program or batch file. If I type that on command line: C://apache//Apache2//htdocs//catdoc//catdoc.exe -s 8859-1 1.doc That works if the file 1.doc in the root of C: dapuse Last edited by dapuse; 02-02-2004 at 01:12 AM. |
02-05-2004, 07:38 AM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. You need to call the file, not the directory, like so:
PHP Code:
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Including extra files (like ssi) does not work | mikmedia | How-to Forum | 1 | 06-29-2006 05:35 AM |
Indexing MS Word without binaries | phil_ballard | External Binaries | 2 | 05-08-2006 02:25 AM |
IF phpdig is right on search from a word of a *.php or *.asp | tian | How-to Forum | 3 | 08-07-2005 05:20 AM |
Indexing word docs | javajaga | External Binaries | 1 | 03-30-2004 08:19 AM |
Can't index word or excel files | pascal622 | External Binaries | 1 | 01-20-2004 09:05 AM |