PhpDig.net

Go Back   PhpDig.net > PhpDig Forums > Bug Tracker

Reply
 
Thread Tools
Old 05-23-2005, 01:23 PM   #1
mixle
Green Mole
 
Join Date: Mar 2005
Posts: 3
Limit search to this path returns no results

Congrats on this wonderful application. It took quite a bit of work to get it fully configured, and working with external binaries to scan other doc types, but it is a dream once it is working properly.

In testing the search capabilities, I came across this 'bug'. It appears there is a problem with spaces in an address. The function works for most of the links, but paths with spaces in them return 0 results. Considering I am clicking on an actual results, you would think at least it would be returned.

This returns 0 results:

"limit search to this path : www/training/docs/training/Module 21 ver2.0/"

http://www.domain.com/www/search.php...0&option=start

This returns results:

"limit search to this path : docs/implementation/Security/"

http://www.domain.com/www/search.php...0&option=start


Regards,
Mixle
mixle is offline   Reply With Quote
Old 05-26-2005, 10:23 AM   #2
Charter
Head Mole
 
Charter's Avatar
 
Join Date: May 2003
Posts: 2,539
Try the following and let me know if it worked...

In search_function.php find:
Code:
     if (($path) && (strlen($path) > 0)) {
          $wherepath = "AND spider.path like '$my_path' ";
     }
And replace with:
Code:
     if (($path) && (strlen($path) > 0)) {
          $my_path = str_replace(" ","\%20",$my_path);
          $wherepath = "AND spider.path like '$my_path' ";
     }
__________________
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 05-30-2005, 11:24 PM   #3
mixle
Green Mole
 
Join Date: Mar 2005
Posts: 3
That seemed to do the trick.

Thank you for that.
mixle 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
Search returns comments...how to prevent csabot Troubleshooting 0 06-07-2006 12:47 PM
Search results returns blank page Anton Troubleshooting 1 02-11-2006 11:20 PM
Search results returns blank page Anton Troubleshooting 0 01-05-2006 09:56 PM
Spidering returns no results toddvirgil Troubleshooting 1 11-30-2005 04:38 PM
Spidering returns very few keyword results e_talis Troubleshooting 8 07-22-2004 08:53 AM


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


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