Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-6663

$_REQUEST["change_lang"] variable is unspecified in ucp.php in register mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 3.0.1
    • 3.0.0
    • None
    • PHP Environment: 5.2.3
      Database: MySQL 5.0.45

      Action;

      When you have more than one language installed, you are able to switch it on registration page. After selecting another language than board default, registration steps are starting from beginning, in selected language.

      Issue;

      You will have to click "I agree to these terms" button two times. It wants "change_lang=xx" in the URL, which appears only after clicking first time.

      Solution;

      Either to add "&change_lang=xx" to URL on page load after switching language, or remove check for $_REQUEST["change_lan"] variable. Since I don't know if language is stored in cookies or by this variable, I can't say that second solution is right thing to do. You should know better.

      Board version;

      I have experienced this issue on 3.0.RC7, 3.0.RC8 and 3.0.0, not tested on any older versions. By the way; please add latest 3.0.0 to version drop down box.

      Thank you.

            Kellanved Kellanved [X] (Inactive)
            hundrambit hundrambit
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: