Bug ReportThe security page (
http://localhost/security/index.php) cannot be displayed with italian localization. It produces a white screen of death.
Reason for this is that the language is not mentioned in the listing of the allowed languages in the file \xampp\security\htdocs\lang.php
Reproducible Testcasechange the language to Italiano and click on the Link with the name "Sicurezz"
Affected XAMPP versionsdefinitely since XAMPP 1.8.2-4 / 1.8.3-3, maybe even earlier.
(XAMPP 1.8.0 was correct in its behavior)
SolutionThere is a language "sl" in the listing which never gets used, so the recommend way is to replace sl with it:
- Open in your editor the file \xampp\security\htdocs\lang.php
- Search for the following line
- Code: Select all
if (($lang == "de") || ($lang == "en") || ($lang == "es") || ($lang == "fr") || ($lang == "jp") || ($lang == "nl") || ($lang == "no") || ($lang == "pl") || ($lang == "pt") || ($lang == "pt_br") || ($lang == "sl") || ($lang == "zh")) {
- change this line to
- Code: Select all
if (($lang == "de") || ($lang == "en") || ($lang == "es") || ($lang == "fr") || ($lang == "jp") || ($lang == "nl") || ($lang == "no") || ($lang == "pl") || ($lang == "pt") || ($lang == "pt_br") || ($lang == "it") || ($lang == "zh")) {
- save the file