PHP Classes

htdir_search.php does not work

Recommend this page to a friend!

      Htdig site indexing and searching interface  >  All threads  >  htdir_search.php does not work  >  (Un) Subscribe thread alerts  
Subject:htdir_search.php does not work
Summary:After setting htdig and downloading the package it does not work
Messages:13
Author:Mario Bittencourt
Date:2005-01-31 22:02:22
Update:2006-07-28 19:32:14
 
  1 - 10   11 - 13  

  11. Re: htdir_search.php does not work   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-07-27 23:37:44 - In reply to message 10 from miggy
Yes, but if you are using the htdig_search.php example script, the paths are set in the configuration.php file.

  12. Re: htdir_search.php does not work   Reply   Report abuse  
Picture of miggy miggy - 2006-07-28 10:59:48 - In reply to message 11 from Manuel Lemos
Here is my configuration.php file:

configuration.php
[code]
$htdig_path="/usr/local/htdig/bin";
$htsearch_path="/usr/local/htdig/bin";
$htdig_configuration_file="/usr/local/htdig/conf/htdig.conf";
$htdig_database_directory="/usr/local/htdig/var/htdig";
$site_url="http://www.mysite.com/";
[/code]

htdig.php
[code]
var $htdig_path="/usr/local/htdig/bin";
var $htsearch_path="/usr/local/htdig/bin";
var $configuration="/usr/local/htdig/conf/htdig.conf";
var $database_directory="/usr/local/htdig/var/htdig";
var $version="";
var $secure_search=0;
[/code]

and when i begin to search a word it sais:
"Error: the htsearch program executable could not be found at /usr/local/htdig/bin/htsearch."

  13. Re: htdir_search.php does not work   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2006-07-28 19:32:14 - In reply to message 12 from miggy
If it says that is because the file /usr/local/htdig/bin/htsearch does not exist. Are you sure it is really there?

 
  1 - 10   11 - 13