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

component_installer (file_get_contents) not proxy aware

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • 1.9
    • 1.8
    • Administration
    • None
    • WinXP SP2, XAMPP 1.60a
    • MySQL
    • MOODLE_18_STABLE
    • MOODLE_19_STABLE

      Moodle 1.8 Beta + (2007021401)
      When trying to use /admin/langimport.php, there happened nothing, first. Then I remembered adding our proxy, and now displaying the language selection boxes works fine. When selecting a language and clicking "<- Install selected language pack", nothing happens for a long time. With Debugging set to "DEVELOPER" I get the following output after 60 seconds of wait:

      "
      XML-Verarbeitungsfehler: Kein Element gefunden
      Adresse: http://localhost/moodle/admin/langimport.php?mode=2
      Zeile Nr. 258, Spalte 1:
      ^
      "

      Translated something like:
      "
      XML-processing error: no element found
      address: http://localhost/moodle/admin/langimport.php?mode=2
      line Nr. 258, column 1:
      ^
      "

      This error led me to the component_installer, and that seems to use "file_get_contents" to download the language-pack, but I was unable to find something like "proxy_url" in admin/langimport.php - I think the component_installer does not incorporate the proxy-rules.

      Any comments if I did something wrong? Any fast workaround for installing a langpack locally? Thanks for this great program!

            skodak Petr Skoda
            crion Christian Münscher (Inactive)
            Nobody Nobody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.