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

Search areas admin page ugly error when no search engine is selected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 3.2
    • 3.2
    • Global search
    • MOODLE_32_STABLE
    • MOODLE_32_STABLE
    • MDL-55287_master
    • Hide
      1. Unset CFG->searchengine (to hack the DB + purge caches may be the fastest choice)
      2. Go to admin/searchareas.php
      3. You should see a warning stating "You have not selected any search engine"
      4. Go to admin/settings.php?section=manageglobalsearch
      5. Save changes so solr is stored as CFG->searchengine value
      6. (only if you have php solr extension enabled) Disable your solr extension and restart apache
      7. Go to admin/searchareas.php
      8. You should see a warning stating "Engine solr is not installed"
      Show
      Unset CFG->searchengine (to hack the DB + purge caches may be the fastest choice) Go to admin/searchareas.php You should see a warning stating "You have not selected any search engine" Go to admin/settings.php?section=manageglobalsearch Save changes so solr is stored as CFG->searchengine value (only if you have php solr extension enabled) Disable your solr extension and restart apache Go to admin/searchareas.php You should see a warning stating "Engine solr is not installed"

    Description

      I've accessed admin/searchareas.php before selecting any search engine and I've seen the following error:

      {$a} not installed.
      

      We should not show any error if no search engine is selected just disable the index/delete buttons.

      Attachments

        Issue Links

          Activity

            People

              dmonllao David Monllaó
              dmonllao David Monllaó
              Jun Pataleta Jun Pataleta
              Dan Poltawski Dan Poltawski
              Rajesh Taneja Rajesh Taneja
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Clockify

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.