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). |
oops - I forgot to add :
Apache 2.0.55, php 5.0.5, MySQL 5.0.15 and phpDig 1.8.8. |
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) { 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) { |
Good spot. :)
Haven't had a chance to test PhpDig on MySQL 5, thread stuck. |
Thank you for sorting this bug out. Your fix did the trick for me!
|
All times are GMT -8. The time now is 02:48 AM. |
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 2001 - 2005, ThinkDing LLC. All Rights Reserved.