MindTouch Developer Center > Deki > FAQ > Troubleshooting > How do I...Troubleshoot 'Search is disabled'?

How do I...Troubleshoot 'Search is disabled'?

Table of contents
No headers

 

  • Notice: This document contains out-dated information and is only here for archival purposes.

DekiWiki tries to connect to the mwLucene search engine, which is basically a web server that runs on port 8123 by default, to get search results.  It makes this connection by using php's allow_url_fopen feature.  If you get the "search is disabled" message, and you haven't disabled search on purpose, it means that DekiWiki has failed to connect to the mwLucene search engine.

To debug, first look in the DekiWiki log to see a line like "Fetching search data from http://127.0.0.1:8123/search/dekiwiki/...".  Try hitting that URL from lynx or w3m, and verify that you're getting a response.  If you aren't, get mwLucene running.  If you are getting a response, then the problem has to do with the allow_url_fopen option.  Most likely, you're not allowing it in your global php.ini.  Set "allow_url_fopen = On" in your php.ini.

Tag page
Viewing 1 of 1 comments: view all
Which specific log file should we be looking in for the "Fetching search data" line?
Posted 17:17, 1 Nov 2007
Viewing 1 of 1 comments: view all
You must login to post a comment.
Powered by MindTouch Deki v.8.08.2