PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-25-2008, 09:35 AM   #1
hetest
Green Mole
 
Join Date: Jan 2008
Posts: 2
indexing pdf problems

Hello,

I installed phpdig successfully and it indexes a local site.
windows 2003 php 4.4.2

However, I also need to index pdfs. I installed pdftotext.exe.
Indexing found the pdfs but failed to open them.

I included all of the suggested debug output in robot_functions.php
It would print out but stopped after showing that pdftotext was executable (=1).

I ran again without the debug and it stopped in the middle of indexing (presumably when it came to a pdf) with no error.

The server log showed that it stopped with the wonderfully helpful error message of "Unknown error".

Any ideas out there?
hetest is offline   Reply With Quote
Old 01-25-2008, 03:21 PM   #2
hetest
Green Mole
 
Join Date: Jan 2008
Posts: 2
indexing pdf problems

Update......

I was able to write a short php script that used the pdftotext.exe to successfully create a plain text version.

So why phpdig cannot do it...I have no idea.

phpdig will work if pdf is not enabled.

If it is, phpdig does not just ignore them...it crashes.
hetest 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
problems making phpdig able to search pdf files butterivenne Script Installation 1 07-29-2008 01:26 PM
Problems using PDF .... heinzler External Binaries 1 07-18-2005 04:34 PM
indexing pdf Hoek External Binaries 9 02-25-2004 02:42 AM
indexing pdf philippeguerind External Binaries 11 02-21-2004 10:50 AM
PDF indexing lelandv External Binaries 15 12-08-2003 04:23 PM


All times are GMT -8. The time now is 05:23 PM.


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