Hi Iam having problems with the search function. It looks like any words i type into the search box is just ignored. When i enter for example 'Special:Version' it shows me a search-result without results (not even "0 results found" or something like that) just blank... :-/ In the url it works fine http://www.dystopie.de/wiki/Spezial:Version Same with any other article or special site. You can try search for Searchtest - nothing and here it is... http://www.dystopie.de/wiki/Searchtest
* MediaWiki: 1.5.3 * PHP: 4.3.10 (apache2handler) (SafeMode is Off) * MySQL: 4.1.10a
I have no excessive customisation, its nearly the default settings after the install. DebugLogging gives me the following when searching
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Start request GET /wiki/Spezial:Search?search=Searchtest&go=Los Host: www.dystopie.de User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8) Gecko/20051111 Firefox/1.5 Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5 Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Referer: http://www.dystopie.de/wiki/Hauptseite Cookie: wiki_dbUserName=WikiAdmin; wiki_db_mw_session=864e9b5ce8b526639f443d112c8d111c; wiki_dbLoggedOut=20051221211351; wiki_dbUserID=1
Main cache: fakememcachedclient Message cache: mediawikibagostuff Parser cache: mediawikibagostuff User::loadFromSession() unable to load from memcached Using reader #0: localhost... User::loadFromSession() successfully saved user
** private caching; ** Request ended normally ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// The table Searchindex exists btw.
Thx in advance for any help :) -robert
(The Wiki is in german, but i think nearly everything is synonymic.Shouldn't be a problem)
Robert Pfau wrote:
Hi Iam having problems with the search function. It looks like any words i type into the search box is just ignored. When i enter for example 'Special:Version' it shows me a search-result without results (not even "0 results found" or something like that) just blank... :-/
Your rewrite rules are broken, and overwrite the query string. Use the QSA (query string append) option in the rule.
-- brion vibber (brion @ pobox.com)
it worked RewriteRule ^wiki/(.*)$ /w/index.php?title=$1 [QSA,L]
did the job ;)
BIG thanks ;) robert
mediawiki-l@lists.wikimedia.org