Moodle

links on environment check page during installation do not work

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Fixed
  • Affects Version/s: 1.8.2
  • Fix Version/s: 2.0
  • Component/s: Installation
  • Labels:
    None
  • Affected Branches:
    MOODLE_18_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

When doing a clean install of Moodle 1.8 stable the links in the "Report" column on the environment check page take the form http://localhost/en/admin/environment/unicode which should be http://docs.moodle.org/en/admin/environment/unicode etc.

This is because at that early stage of installation the variable $CFG->docroot is not set. A possible fix would be to add the lines
if (empty($CFG->docroot)) {
$CFG->docroot = 'http://docs.moodle.org';
}
near the start of doc_link() in weblib.php

Activity

Hide
Petr Škoda (skodak) added a comment -

not an issue any more in new 2.0 installer, thanks

Show
Petr Škoda (skodak) added a comment - not an issue any more in new 2.0 installer, thanks

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: