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

Cannot install Moodle 2.0 on non-standard ports

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Not a bug
    • Affects Version/s: 2.0
    • Fix Version/s: 2.0
    • Component/s: Installation
    • Labels:
      None
    • Environment:
      Occurs under:
      Ubuntu server 9.04, PHP 5.2.10, Lighttpd 1.4.22

      Database is MySQL 5.0.51 on separate Ubuntu 8.04 server
    • Database:
      MySQL
    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_20_STABLE

      Description

      It is impossible to install Moodle 2.0 Preview 3 or 4 on a non-standard port. I am attempting to forward external port 2200 onto port 80 on a VM, where Moodle is installed. (This works correctly with Moodle 1.5 through 1.9, also on this sandbox VM)

      On the first page of installation, where the web address, root, etc are detected, the port number is not detected, and the user is not able to edit the web root if it appears incorrectly. Editing the value in Firebug does not affect the value within the installer, so it appears this textbox is simply for display.

      If the user allows the installer to create the config file, and then manually corrects it, attempting to regain access to the Moodle installer results in a strange error page. The installer includes a large number of style and JS files - 78 in all - before eventually displaying the message:

      Incorrect access detected, this server may be accessed only through "<correct address>" address, sorry.
      Please notify server administrator.

      The page then refreshes and continues to display this message. Creating a new browser session does not help.

        Attachments

          Activity

            People

            Assignee:
            skodak Petr Skoda
            Reporter:
            tanthalas Greg J Preece
            Tester:
            Nobody
            Participants:
            Component watchers:
            Matteo Scaramuccia, Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              24/Nov/10