View Full Version : php site searching enigne for the searching within a website
wufoxuan
10-14-2010, 08:33 AM
i am the php website user, i would like to add an searching engine in my website, is there any freeware of such searching engine can found online?
thanks.
bobdog
10-14-2010, 04:08 PM
Try using sphider. It is free and works great.
wireweb
04-02-2011, 11:33 AM
I have downloaded and installed Sphider 1.3.5. However, it seems to be incompatible with MySQL 5.5. I got it to work by going through Sphider's code and adding an "i" to commands such as mysqli_query (instead of mysql_query). Two parameters for the tables were also unrecognized: time timestamp(14) and elapsed float(2). I went into the tables.sql file and removed the numbers and then it worked.
However, now I try to run admin.php to index my website, and while I get a message saying that the database connection has been established, I also get this message: ERROR: Database contains no tables. I can see, using the command prompt, that there certainly are tables there.
I'm trying all of this on localhost (Apache). I don't want to load everything on bluehost until I'm sure I have it right. Any ideas on how to proceed? Should I spend the money and purchase Sphider-plus? (Does bluehost allow "full write permission (chmod777)" which is what Sphider-plus demands.) I posted my question on the Sphider forum a week ago and no one is answering there.
djmatt
04-04-2011, 08:21 PM
There is an entropy search engine in your CGI Center of your cPanel, FYI.
wireweb
04-05-2011, 08:06 AM
Thank you! Thank you ever so much, jdmatt, for the advice. I had no idea...all the hours I've spent trying to do this and Bluehost had it right there. Now, a word to our sponsor: I searched and searched the "help" area for anything on "Search engine" "search my website" "search" "site search" "search box" -- and never did this "CGI Center" show up in the results (or if it did, it was too far down the list to catch my eye.)
This is such an important feature on websites these days, I think it should be highlighted more, featured in some way. Maybe list it under "Getting Started" or under tutorials. I even looked on the cPanel page to see if there was a "search engine" listed, but I clearly didn't see this. So, I dunno, if anyone is tracking this from Bluehost, maybe you could make this more obvious?
Now I just have to hope it's easy to set up and won't require me to spend another 20 hours trying to get it to work. Wish me luck! And thanks again for the tip.
wireweb
04-10-2011, 07:15 AM
The CGI search engine that Bluehost has on the cPanel looks great...but two big problems.
First, the search engine includes all the websites in our account. I have a site that is my personal site which is an add-on site on my Bluehost account. I also have a site that is commercial, which is the one I want the search for. However, the search grabs everything, so even my personal site shows up in the business site's search. How do I stop that?
Also, the descriptions for the search results are all the first line of my html: "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" for example. This is of course not good. Does anyone know what meta tag might fix this?
I opened a support ticket at Bluehost, and they were very little help. They write, "this is not in the scope of our support". So where do I go to get support for CGI on cPanel? Why would Bluehost offer a service that only works for clients with only a single website hosted at Bluehost, when they support add-on sites? Must I get a separate account (and pay double?) Should I look for another host????
Thanks for any help. I'm really hoping CGI will be the solution to my problem, because otherwise it seems easy to use.
Powered by vBulletin® Version 4.1.11 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.