PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 04-01-2005, 05:05 AM   #1
Art
Green Mole
 
Join Date: Mar 2005
Posts: 4
Exclamation pdftotext no solution

Hi,
I'm frustrated...
Ok, I have pdftotext installed in /usr/local/sbin and it is executable 755
safe_mode is OFF etc.etc. everything as discribed in the checklist.
But:
Is result test http an array: 1
What is result test http status: PDF

Is result test an array: 1
What is result test status: PDF
Use is executable is set to: 1
Index the pdf is set to: 1
Parse the pdf is set to: /usr/local/sbin/pdftotext
Does parse pdf exist:
Is parse pdf executable:
1:http://www.wohlfahrtswerk.org/downlo...enburgheim.pdf
(Zeit : 00:00:05)
Kein Link in der temporäreren Tabelle

There are no 'special' characters in the path to pdftotext.

What's wrong here?

Please Help.
Art is offline   Reply With Quote
Old 04-06-2005, 01:55 PM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
As "Does parse pdf exist" and "Is parse pdf executable" both return no value (meaning "no") it looks like "/usr/local/sbin/pdftotext" may be the wrong path.
__________________
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 04-06-2005, 10:58 PM   #3
Art
Green Mole
 
Join Date: Mar 2005
Posts: 4
Nop, the path is right.
I now found out, that if I run spider.php from the command line, it works. But not in the admin web interface.
Art is offline   Reply With Quote
Old 04-07-2005, 12:35 PM   #4
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Are all the directories up to and including the directory holding pdftotext set to 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.
Charter is offline   Reply With Quote
Old 04-07-2005, 11:12 PM   #5
Art
Green Mole
 
Join Date: Mar 2005
Posts: 4
Yes.
All files in /usr/local/sbin belong to apache and are set to 755
Art is offline   Reply With Quote
Old 04-08-2005, 05:04 AM   #6
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
As you can run pdftotext from shell, it seems like the "apache" group/owner does not allow for a www user, in this case PhpDig, to access the binary. Either set group/owner so that www can run /usr/local/sbin/pdftotext or move pdftotext to a web accessible location and then set PHPDIG_PARSE_PDF to the new full path.
__________________
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 04-08-2005, 06:04 AM   #7
Art
Green Mole
 
Join Date: Mar 2005
Posts: 4
Ok, thanx - I'll give it a try
Art is offline   Reply With Quote
Old 04-11-2005, 04:39 AM   #8
Cyberal82
Green Mole
 
Join Date: Apr 2005
Posts: 1
it's just for look the answer of charter
Cyberal82 is offline   Reply With Quote
Reply

Thread Tools

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
Dynamic Link Bug with Short Tags (and solution) Zee How-to Forum 0 12-10-2004 07:41 AM
problem with pdftotext freak External Binaries 1 06-02-2004 06:20 AM
Need Solution Please rwh Troubleshooting 24 12-26-2003 12:16 PM
someone help me diggin a solution please nitril Troubleshooting 2 12-24-2003 05:47 AM
Add PDF files to be indexed - Solution chazter Mod Submissions 0 10-07-2003 06:42 AM


All times are GMT -8. The time now is 02:48 PM.


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