|
01-08-2004, 07:38 AM | #16 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. On the very last else of the phpdigTempFile function, add the following:
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. |
01-08-2004, 08:05 AM | #17 | |
Green Mole
Join Date: Dec 2003
Posts: 26
|
ok here is the output :
Quote:
|
|
01-08-2004, 08:47 AM | #18 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Okay, it is the below that is failing because print_r($result_test) outputs one:
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. |
01-09-2004, 02:48 AM | #19 | ||
Green Mole
Join Date: Dec 2003
Posts: 26
|
hmm, i've tried to put the cookies for http://umvf.cochin.univ-paris5.fr/ always permitted, but it seems not to change anything in the crawl :
Quote:
And here is the output of the "access_combined_log" from apache Quote:
|
||
01-09-2004, 04:26 AM | #20 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. It really seems like the following returns false: $result_test['status'] == 'PDF' && PHPDIG_INDEX_PDF == true && file_exists(PHPDIG_PARSE_PDF) && $is_exec_command_pdf
However, it looks like you echo $result_test_http which says status is PDF but then later $result_test says one: Array ( [status] => PDF [lm_date] => Wed, 07 Jan 2004 13:39:43 GMT [path] => /avare2.pdf [host] => umvf.cochin.univ-paris5.fr [cookies] => Array ( ) ) Result test contains: 1 Let's echo the below items right before and right after the phpdigTempFile function is called and try another index: In spider.php, add the following echo statements: PHP Code:
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. |
01-12-2004, 04:40 AM | #21 | |
Green Mole
Join Date: Dec 2003
Posts: 26
|
ok, i've appended the echo statements, and respider avare3.html
Quote:
|
|
01-12-2004, 05:19 AM | #22 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
PHP Code:
From php.net "If a directory is not executable, then you cannot get details on the files in the directory - this includes the permissions." Try checking that the usr, local, and bin directories, as well as the pstotext file, are all 755 permissions.
__________________
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. |
01-12-2004, 05:51 AM | #23 |
Green Mole
Join Date: Dec 2003
Posts: 26
|
Ok, it's working.. my /usr/local/bin/pstotext dirs and binaries were in chmod 751 and not 755..
sorry for the time to solve this, And thanks very much for your help ! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Indexing PDF | dlaperle | Troubleshooting | 1 | 03-21-2007 08:00 PM |
spider hangs on indexing pdf (pstotext) | sushie | External Binaries | 7 | 06-15-2005 06:57 AM |
indexing pdf | Hoek | External Binaries | 9 | 02-25-2004 03:42 AM |
PDF indexing | lelandv | External Binaries | 15 | 12-08-2003 05:23 PM |
PDF indexing | aryan | External Binaries | 11 | 11-27-2003 08:51 AM |