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

Typo3 library loading failure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.7, 1.7.1, 1.7.2, 1.8, 1.8.1
    • Fix Version/s: 1.7.3, 1.8.2, 1.9
    • Component/s: General
    • Labels:
      None
    • Environment:
      Apache 2.0, Mysql 5.0, php 4.3.1 under WinXP Pro
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE

      Description

      When switching from two distinct moodles on the same server, bad loading relative root reference in server scratches some include_once(...) calls. First symptom is on some typo3 libs as mentionned in thread http://moodle.org/mod/forum/discuss.php?d=71190#318911

      This can be fixed in lib/textlib.class.php at §27 as

      /// Required files
      require_once($CFG->dirroot.'/lib/typo3/class.t3lib_cs.php');
      require_once($CFG->dirroot.'/lib/typo3/class.t3lib_div.php');

      There may be others...such relative links.

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            vf Valery Fremaux
            Tester:
            Nobody
            Participants:
            Component watchers:
            Adrian Greeve, Jake Dallimore, Mathew May, Mihail Geshoski, Peter Dias
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              8/Jul/07