Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Duplicate
-
Affects Version/s: 1.8
-
Fix Version/s: 1.9
-
Component/s: Administration
-
Labels:None
-
Environment:WinXP SP2, XAMPP 1.60a
-
Database:MySQL
-
Affected Branches:MOODLE_18_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
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!
Issue Links
| This issue will be resolved by: | ||||
| MDL-11845 | Fix various components that don't respect http proxy settings |
|
|
|
To make it a little bit more clear: I was able to find a function "proxy_url" in admin/langimport.php, but I was unable to find something like that in the class where the component_installer is defined...