Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-8074

Global search doesn't work

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.7.1
    • 1.8.7, 1.9.3, 2.0
    • Global search
    • None
    • Win2k3, Apache, mysql 5.0.18, php 5.1.1
    • MySQL
    • MOODLE_17_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      After enbling in admin > miscellaneous > experimental, global search does not function, saying that there are no results for any query. Clicking on statistics gives this:

      Search statistics
      Data directory C:\MoodleWindowsInstaller-latest-16\moodle\moodledata/search
      Files in index directory 2
      Total size 24 bytes
      Created on -
      Errors
      db ... Database table is not present, or contains no index records.
      index ... Indexing was not successfully completed, please restart it.
      Solutions
      Check DB Check your database for any problems.
      Run indexer test tests/index.php
      Run indexer indexersplash.php

      Database search_documents
      Documents in index 0
      Deletions in index 0
      Documents in database 0

      Clicking on 'Run indexer test' gives:

      Server Time: Thu, 04 Jan 2007 13:59:29 +0000
      Testing global search capabilities:

      Success: PHP 5.0.0 or later is installed (5.1.1).

      Clicking on 'Run indexer' gives:

      Server Time: Thu, 04 Jan 2007 14:00:16 +0000

      Warning: Indexing was not successfully completed last time, restarting.

      Using C:\MoodleWindowsInstaller-latest-16\moodle\moodledata/search as data directory.
      Database error. Please check settings/files.

      Attachments

        Issue Links

          Activity

            People

              vf Valery Fremaux
              mattgibson Matt Gibson
              Nobody Nobody
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Laurent David, Sara Arjona (@sarjona)
              Votes:
              21 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                15/Oct/08