[Mediawiki-l] Solved Broken search engine

FxParlant f-x.p at laposte.net
Wed Apr 12 18:24:50 UTC 2006


Hi

Symptom:
The search engine works for title search but gives no result for any
text search. The words of the query appears correctly in the "For query"
 at the top and in the form textarea after the namespaces boxes.

Environnment:
 # MediaWiki: 1.6alpha
 # PHP: 4.4.2 (cgi)
 # MySQL: 4.0.26

Explanation:
During install or upgrade, the value of the DBtype variable was not set
correctly.

Solution:
Edit the LocalSettings.php file
Find the $wgDBtype = "";
Type between the hyphens the type of your database:
example: $wgDBtype = "mysql";

Hope this helps.
Thank you to Brion for (re)giving the steps of debugging :-)

François

___________________________
The FAQ:
 http://meta.wikimedia.org/wiki/FAQ
The newsgroups:
 http://blog.gmane.org/gmane.org.wikimedia.mediawiki
The archive:
 http://search.gmane.org/?group=gmane.org.wikimedia.mediawiki
User Guide:
 http://meta.wikimedia.org/wiki/MediaWiki_User's_Guide:_Installation
CVS:
 http://cvs.sourceforge.net/viewcvs.py/wikipedia/




More information about the MediaWiki-l mailing list