Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-11032

Better error reporting for sphinx

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.0-dev
    • 3.1.0-a1
    • Search
    • None

    Description

      If searchd is not running or cannot be connected to due to misconfiguration, searching for anything produces a "no search results" message indistinguishable from searching for keywords which do not occur anywhere.

      I suggest the following:

      1. Keep track of any errors retrieved from sphinx.
      2. Log errors to error log.
      3. If the user is logged in and has admin privileges, show them the actual error instead of "no search results".
      4. If user is not an admin tell them there was a problem searching and more information was written to the error log.

      Attachments

        Issue Links

          Activity

            People

              bantu Andreas Fischer [X] (Inactive)
              Oleg Oleg [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: