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

Global Search requires antiword and pdftotext to be inside the Moodle directory structure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9
    • Fix Version/s: 1.8.6, 1.9.1
    • Component/s: Global search
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_19_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      Looking at physical_doc.php and physical_pdf.php, it appears that $CFG->dirroot is applied to the file path, thus causing some real issues for those of use that already have antiword and pdftotext installed. I think that this should be defined in the block config, rather than hardcoded into the file.

      See http://moodle.org/mod/forum/discuss.php?d=92977 for details and a patch (with some corrections in the discussion).

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                vf Valery Fremaux
                Reporter:
                mcampbell Matt Campbell
                Tester:
                Mathieu Petit-Clair
                Participants:
                Component watchers:
                Amaia Anabitarte, Bas Brands, Carlos Escobedo, Sara Arjona (@sarjona), Víctor Déniz Falcón
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  15/May/08