PhpDig.net

PhpDig.net (http://www.phpdig.net/forum/index.php)
-   Troubleshooting (http://www.phpdig.net/forum/forumdisplay.php?f=22)
-   -   Blank results are being returned (http://www.phpdig.net/forum/showthread.php?t=359)

MonoNexo 01-13-2004 05:32 PM

1 Attachment(s)
As far as I recall, the only changes I made were to add the code:

PHP Code:

If(eregi("ship"$query_string)) {
if(
$query_string == "ship") {
Header('Location: [url]http://www.aodojo.com/athen_ships.php[/url]');
}
$directhit .= "<br>Did you intend the page <a href='http://www.aodojo.com/athen_ships.php'>Ships</a>?";
}
If(
eregi("archive"$query_string)) {
if(
$query_string == "archive") {
Header('Location: [url]http://www.aodojo.com/lore_archives.php[/url]');
}
$directhit .= "<br>Did you intend the page <a href='http://www.aodojo.com/lore_archives.php'>Alyria Online Archives</a>?";
}
If(
eregi("race"$query_string)) {
if(
$query_string == "race") {
Header('Location: [url]http://www.aodojo.com/fund_races.php[/url]');
}
$directhit .= "<br>Did you intend the page <a href='http://www.aodojo.com/fund_races.php'>Races</a>?";
}

$result_message $result_message $directhit

(Yes, I know there are better ways to code that, but it gets the job done.)

MonoNexo 01-18-2004 02:42 PM

Hmm. I fixed it. There were 5 page url's under Spider in the db. I deleted these, 1 by 1 and refreshed the search results. Every page I deleted removed one of the 5 blank results. I deleted all 5, and they all went away.


Too bad I unistalled the entire thing, and purged the db... especially when I had to manually make the db :(

Charter 01-19-2004 06:54 AM

>> There were 5 page url's under Spider in the db.

Hi. Do you happen to know how they were left there? They should have been deleted from the spider table when delete site was clicked in the admin panel. Were they all for subdomains?

>> Too bad I unistalled the entire thing, and purged the db...

:(

MonoNexo 01-19-2004 07:04 AM

They were part of the subdomain tracker.aodojo.com which was the first site I deleted when I was trying to track the problem.

I have a hunch that they were left when I had to cancel the crawling of that page. I had forgotten that there were 5 r****m links placed on the bottom of every page :O. These links linked to pages that also have 5 r****m links (all the links linked to one of 12k player profiles.... i don't think I'll ever crawl that page again :O). Oops :o.

Charter 01-19-2004 07:11 AM

Hi. Okay, thanks. Glad it's working now. :)


All times are GMT -8. The time now is 04:28 PM.

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