PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > External Binaries

Reply
 
Thread Tools
Old 07-06-2005, 11:48 AM   #1
Brewer
Green Mole
 
Join Date: Jun 2005
Posts: 2
Blank page after adding code mods

I'm running version 1.8.7, and everything works fine, except for indexing PDF files. When I try to index them, this is what I get:

SITE : http://www.copyright.gov/
Exclude paths :
- @NONE@
1:http://www.copyright.gov/legislation/dmca.pdf
(time : 00:00:06)
No link in temporary table

--------------------------------------------------------------------------------

links found : 1
http://www.copyright.gov/legislation/dmca.pdf
Optimizing tables...
Indexing complete !

Then I tried adding the code mods found in this thread, and then I get a blank spider.php page when trying to index the same site.

The code mods are pretty easy, so I know I'm doing them right. I restored the original files and tried it again, and get the same results. Then I tried doing one mod at a time and trying to index the site to see if I could find out where the problem was, and it starts after I add this mod to robot_functions.php

PHP Code:
function phpdigTempFile($uri,$result_test,$prefix='temp/',$suffix1='1.tmp',$suffix2='2.tmp') { 

/*****/ 
echo "<br>Is result test an array: " is_array($result_test) . "<br>"
echo 
"What is result test status: " $result_test['status'] . "<br>"
echo 
"Use is executable is set to: " USE_IS_EXECUTABLE_COMMAND "<br>"
// in the next four lines change _PDF to either _MSWORD or _MSEXCEL for those binaries 
echo "Index the pdf is set to: " PHPDIG_INDEX_PDF "<br>"
echo 
"Parse the pdf is set to: " PHPDIG_PARSE_PDF "<br>"
echo 
"Does parse pdf exist: " file_exists(PHPDIG_PARSE_PDF) . "<br>"
echo 
"Is parse pdf executable: " is_executable(PHPDIG_PARSE_PDF) . "<br>"
/*****/ 

// $temp_filename = md5(time()+getmypid()).$suffix; 
Any suggestions?
Brewer is offline   Reply With Quote
Old 07-06-2005, 12:34 PM   #2
Brewer
Green Mole
 
Join Date: Jun 2005
Posts: 2
Never mind, I got it worked out, and indexing PDF files.
Brewer 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
Blank page olivier Script Installation 1 02-10-2005 02:17 PM
Adding a thumbnail to each page...help? huge_nerd How-to Forum 1 11-16-2004 09:54 AM
Adding search box to every page (cont'd) rogerh How-to Forum 1 10-11-2004 11:08 AM
Adding search box to every page Psycho1 How-to Forum 7 04-25-2004 08:04 AM
Adding the site URL in results page lighthouse How-to Forum 5 03-22-2004 12:37 PM


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


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