PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Spidering problem (http://www.phpdig.net/forum/showthread.php?t=2803)

mark40 08-28-2007 12:53 AM

Spidering problem
 
Hi,

I have set PhpDig up on one of our servers and it works fine when I spider any site no residing on this server. When I try to spider any site that sites on the same server as PhpDig then all it returns is the following:

Spidering in progress... [Stop spider]
Optimizing tables...
Indexing complete !
--------------------------------------------------------------------------------
[Back] to admin interface.

The server has the following and is pretty much identical to one of our other servers and I can spider sites on this.

Fedora Core 6
Kernel v2.6.16.33
Apache 4.2.2.4
PHP 5.1.6
MySQL 5.0.27

The site I am trying to spider is:
http://www.emiall.com/

Has anyone come acroos a similar problems before or know if the best way to debug this? There is nothing in the log files on this server so I'm struggling to find the problem.

Thanks

mark40 08-28-2007 04:06 AM

I have been investigating this problem all morning and found that when the phpdigTestUrl function tries to open the socket connection:

line 337: $fp = @fsockopen($host,$port);

This returns false so the status is set to NOHOST. When I tested the socket connection locally for the same domain it worked fine so the problem seems to be when trying the initiate a socket connection for the same domain PhpDig is on. Has anyone else come across this problem and found a solution?

Thanks


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

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