PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   indexing pdf problems (http://www.phpdig.net/forum/showthread.php?t=2850)

hetest 01-25-2008 09:35 AM

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 01-25-2008 03:21 PM

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.


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

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