Okay, that all looks good, so remove the code to print those outputs, and instead, in robot_functions.php find:
Code:
$command = PHPDIG_PARSE_PDF.' '.PHPDIG_OPTION_PDF.' '.$tempfile2;
And replace with:
Code:
$command = PHPDIG_PARSE_PDF.' '.PHPDIG_OPTION_PDF.' '.$tempfile2.' 2>&1';
Then try an index of a PDF file and see what prints onscreen.
Also, if the PDFs were not from dvips, then try the following:
Code:
define('PHPDIG_OPTION_PDF','');
And of course, since output is STDOUT, use the following:
Code:
define('PHPDIG_PDF_EXTENSION','');