Hi Charter,
Yes, I can see that in admin/temp temp files created and unlinked with the extension .tmp2.
Here more information:
I run PhpDig local on my PC.
In config.php I changed
('PHPDIG_PARSE_MSWORD','c://apache/htdocs/catdoc/catdoc');
into
('PHPDIG_PARSE_MSWORD','c://apache/htdocs/catdoc/catdoc/catdoc.exe');
This was necessary for the function phpdigTempFile in robot_functions.php, to make true:
&& file_exists(PHPDIG_PARSE_MSWORD)
&& is_executable(PHPDIG_PARSE_MSWORD
... but I am not sure if that causes problems else...
I also changed
return array('tempfile'=>$tempfile,'tempfilesize'=>$tempfilesize);
as suggested in 1.6.2 fix to crawl binary files
At the end in the function phpdigTempFile there is the code
rename($tempfile,$tempfile.'2');
exec($command,$result,$retval);
unlink($tempfile.'2');
if (!$retval)
I can see that rename and unlink work oke.
In admin/temp files are created and unlinked like:
9883dacfac81cb7b7830b3d1b09ea72c.tmp2
These files contain the words from the doc-file.
So catdoc seems to work fine.
But if (!$retval) is false, so exec() seems not to work.
Thanx again so far,
T
|