|
01-24-2006, 07:18 AM | #1 |
Green Mole
Join Date: Jan 2006
Posts: 3
|
Local install just not spidering
I've been going through this forum over the past two days looking for a solution to my problem. So far I haven't found it. Here's my situation:
I have installed phpdig in a WAMP set up : Apache running on a Win 2K box with php and MySQL of course. Installation was without incident. Spidering... well that never works. Regardless of URI entered I get the same immdiate results Spidering in progress... [Stop spider] Optimizing tables... Indexing complete ! Nothing except an entry in the tempspider table. I get the same results if the URI is http://localhost/some/uri, and if it is some external URI, http://www.somewhere.com. I figured this can't be so hard, right? and so I uploaded the phpdig to my domain.... and it works fine with the same exact configuration. Spiders like crazy, search results are as expected. So at least I know I am not completely losing it. Anyway... is there something really basic that I am missing with my local configuration? I am at a loss to explain why it works remotely but not locally (and I really need to use it locally). |
01-24-2006, 08:47 AM | #2 |
Green Mole
Join Date: Jan 2006
Posts: 3
|
oops - I forgot to add :
Apache 2.0.55, php 5.0.5, MySQL 5.0.15 and phpDig 1.8.8. |
01-25-2006, 09:25 AM | #3 | |
Green Mole
Join Date: Jan 2006
Posts: 3
|
First some more clarification:
The remote system where everything was working: php 4.3.11 MySQL 4.1.14 Now as to the source of the problem : admin/robot_functions.php, function phpdigGetSiteFromUrl Code:
if ($pu['port'] == 0 || $pu['port'] == 80) { $pu['port'] = ''; } else { settype($pu['port'],'integer'); } Code:
$query = "INSERT INTO ".PHPDIG_DB_PREFIX."sites SET site_url='$url',upddate=NOW(),username='".$pu['user']."',password='".$pu['pass']."',port='".$pu['port']."'"; Quote:
Code:
if ($pu['port'] == 0 || $pu['port'] == 80) { $pu['port'] = 0; } else { settype($pu['port'],'integer'); } |
|
02-03-2006, 04:06 AM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Good spot.
Haven't had a chance to test PhpDig on MySQL 5, thread stuck.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
02-04-2006, 08:33 AM | #5 |
Awaiting Email
Join Date: Aug 2005
Location: a
Posts: 4
|
Thank you for sorting this bug out. Your fix did the trick for me!
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Local Index Not working | BiJae | Troubleshooting | 1 | 11-13-2006 01:30 PM |
Local install just not spidering | zuzu | Troubleshooting | 0 | 02-28-2006 03:53 AM |
Local MacOSX permissions | yoyopoc | Script Installation | 1 | 07-18-2005 05:07 PM |
local index | xorex | How-to Forum | 3 | 07-25-2004 06:46 PM |
On a local network | guy | Mod Requests | 1 | 04-20-2004 02:07 PM |