PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Not Indexing Site (http://www.phpdig.net/forum/showthread.php?t=2830)

Lord_Goran 11-09-2007 06:58 AM

Not Indexing Site
 
I've installed PhpDig several times on several websites all without any problems. However on this latest install, it simply isn't indexing anything.

The cron functions as it should and the results I get are as follows:
Spidering in progress...
-----------------------------
SITE : http://www.mysite.com/ (I removed my actual URL)
Exclude paths :
- @NONE@
No link in temporary table
links found : 0
...Was recently indexed
Optimizing tables...
Indexing complete !

I've tried replacing pages from sites where I have working examples only nothing seems to be working.
Safe_mode is off and magic_quotes_runtime are off and magic_quotes_gpc are on. Also allow_url_fopen is on and I've tried everything I could think of.

Any ideas?

PHP Version 4.4.7
MySQL Version 4.1.22
Apache 1.3.37

Lord_Goran 11-09-2007 07:10 AM

I sent out several calls for help and one of my friends suggested the following:

In the robot_functions.php page change the following from:
settype($pu['path'],'string');
settype($pu['query'],'string');
settype($pu['user'],'string');
settype($pu['pass'],'string');
settype($pu['port'],'integer');
if ($pu['port'] == 0 || $pu['port'] == 80) {
$pu['port'] = 0;
}

To this:

settype($pu['path'],'string');
settype($pu['query'],'string');
settype($pu['user'],'string');
settype($pu['pass'],'string');
settype($pu['port'],'integer');
if ($pu['port'] == '0' || $pu['port'] == '80') {
$pu['port'] = '0';
}

Wrapping the numeric values for the port with a single quote seems to have fixed the problem. It's now indexing and working just fine.


All times are GMT -8. The time now is 02:14 AM.

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