![]() |
Hi. On the very last else of the phpdigTempFile function, add the following:
PHP Code:
|
ok here is the output :
Quote:
|
Hi. Okay, it is the below that is failing because print_r($result_test) outputs one:
PHP Code:
|
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:
|
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:
|
ok, i've appended the echo statements, and respider avare3.html
Quote:
|
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. |
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 ! |
All times are GMT -8. The time now is 07:48 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.