Moodle

Typo3 library loading failure

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor 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.

Activity

Hide
Martin Dougiamas added a comment -

Thanks, Valery! FIxed in 1.7, 1.8 and 1.9.

Show
Martin Dougiamas added a comment - Thanks, Valery! FIxed in 1.7, 1.8 and 1.9.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: