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' ";
}