PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Troubleshooting

Reply
 
Thread Tools
Old 01-13-2004, 05:32 PM   #16
MonoNexo
Green Mole
 
Join Date: Jan 2004
Posts: 15
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.)
Attached Files
File Type: txt search_function.txt (20.8 KB, 16 views)
MonoNexo is offline   Reply With Quote
Old 01-18-2004, 02:42 PM   #17
MonoNexo
Green Mole
 
Join Date: Jan 2004
Posts: 15
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
MonoNexo is offline   Reply With Quote
Old 01-19-2004, 06:54 AM   #18
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
>> 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...

__________________
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.
Charter is offline   Reply With Quote
Old 01-19-2004, 07:04 AM   #19
MonoNexo
Green Mole
 
Join Date: Jan 2004
Posts: 15
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 .
MonoNexo is offline   Reply With Quote
Old 01-19-2004, 07:11 AM   #20
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Hi. Okay, thanks. Glad it's working now.
__________________
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.
Charter is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Blank results & Speed Dave A Troubleshooting 0 06-30-2007 02:05 AM
config of search tool/blank results page jag7720 Troubleshooting 1 06-26-2006 09:22 AM
Search results returns blank page Anton Troubleshooting 1 02-11-2006 10:20 PM
Search results returns blank page Anton Troubleshooting 0 01-05-2006 08:56 PM
First 5 results are blank? huge_nerd Troubleshooting 8 01-04-2005 10:18 AM


All times are GMT -8. The time now is 12:03 PM.


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