PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 04-01-2006, 05:31 PM   #1
paullind
Orange Mole
 
Join Date: Jan 2004
Posts: 30
Cannot spider some pages and ABSOLUTE_SCRIPT_PATH and /usr/local/bin/

Hi. I recently re-installed php dig on another machine:
PhpDig v.1.8.8/apache_1.3.34/Php 4.4.2/MySQL 4.1.18/winXP

I have had limited success with spidering and searching for the spiderd page. Some pages have worked perfectly for spidering and then searching for them.

Most sites I attempt to spider give these errors after I hit the Dig button:
1] pop up error 'PHP Script Interpreter Error'...needs to close..Send error Mesage button and 2] 500 Internal Server Error from spider.php and then 3] the site appears in my list but cannot be searched for, no pages found when clicking update button for the site.

I am not certain if this value is correct or has anything to do with the error:
define('ABSOLUTE_SCRIPT_PATH','/phpdig');
The 'phpdig' folder is in my root webserver folder (C:/Web/)
(I also see many references to 'usr/bin...' where is that located?)

Here's a couple sample pages that do not work for me:
http://www.allgoods.ca
http://www.hotlistrookies.com
http://arizona.diamondbacks.mlb.com

here's a page that worked
http://www.cdncc.com

Your assistance is appreciated,

Paul L

Last edited by paullind; 04-01-2006 at 05:33 PM. Reason: forgot something
paullind is offline   Reply With Quote
Old 04-02-2006, 12:34 PM   #2
paullind
Orange Mole
 
Join Date: Jan 2004
Posts: 30
how to determine ABSOLUTE_SCRIPT_PATH ?

I see another post on troubleshooting how to set this variable, it uses this code:

<?php
echo $_SERVER['DOCUMENT_ROOT']."<br>";
echo $_SERVER['SCRIPT_FILENAME']."<br>";
echo $_SERVER['PATH_TRANSLATED']."<br>";
?>

My output is:
c:/web
c:/php/php.exe
c:\web\phpdig\includes\test.php

Can someone tell me if one of these 3 values are what my ABSOLUTE_SCRIPT_PATH should be?

thx
paullind is offline   Reply With Quote
Old 04-03-2006, 08:06 AM   #3
paullind
Orange Mole
 
Join Date: Jan 2004
Posts: 30
Cannot spider redirects

My spidering problem seems to largely involve redirect/re-direct pages. Like http://hawkeyesports.cstv.com/ , http://arizona.diamondbacks.mlb.com

Here is some info I found from the forums to troubleshoot this from Charter:
Charter sample forum entry:
$url = "http://somewhere.com/path1/path1/file1.php?someid,1,1,1";
print_r(parse_url($url));
Charters output:
Array ( [scheme] => http [host] => somewhere.com [path] => /path1/path1/file1.php [query] => someid,1,1,1 )

My attempt:
$url = "http://houston.astros.mlb.com";
print_r(parse_url($url));
My output:
Array ( [scheme] => http [host] => houston.astros.mlb.com )
another sample:
Array ( [scheme] => hhttp [host] => hawkeyesports.cstv.com )

The path and query are not reading the pages that it should be re-directed to in mine. Any suggestions for failed redirects?

thx
paullind 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
Index some, but spider all pages griemer Troubleshooting 0 01-16-2007 05:30 AM
Upload mySql tables to server , spider on local computer paullind Troubleshooting 0 03-22-2006 05:27 AM
Problem with setting the ABSOLUTE_SCRIPT_PATH wshobe Script Installation 2 07-18-2005 04:11 PM
command line and ABSOLUTE_SCRIPT_PATH drywall Troubleshooting 30 02-10-2005 09:34 AM
Using a dictionnary to spider pages Edomondo How-to Forum 0 11-23-2004 07:36 AM


All times are GMT -8. The time now is 08:40 AM.


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