PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 01-30-2004, 04:34 AM   #1
dapuse
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
dapuse is offline   Reply With Quote
Old 01-30-2004, 11:58 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
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.
Charter is offline   Reply With Quote
Old 02-02-2004, 01:26 AM   #3
dapuse
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 02:12 AM.
dapuse is offline   Reply With Quote
Old 02-05-2004, 08:38 AM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. You need to call the file, not the directory, like so:
PHP Code:
define('PHPDIG_PARSE_MSWORD','C://apache//Apache2//htdocs//catdoc//catdoc'); 
__________________
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.
Charter is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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 06:35 AM
Indexing MS Word without binaries phil_ballard External Binaries 2 05-08-2006 03:25 AM
IF phpdig is right on search from a word of a *.php or *.asp tian How-to Forum 3 08-07-2005 06:20 AM
Indexing word docs javajaga External Binaries 1 03-30-2004 09:19 AM
Can't index word or excel files pascal622 External Binaries 1 01-20-2004 10:05 AM


All times are GMT -8. The time now is 06:47 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.