Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-12492

DB_TEST: Special chars are not supported.

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.12, 3.1.0-b2
    • Fix Version/s: 3.0.13-RC1, 3.1.0-RC3
    • Component/s: Other
    • Labels:
      None
    • Environment:
      PHP 5.3.23

      Description

      Hi all,

      During the DB test connection, if a DB connection occurs, all special chars are not supported.
      See screenshot

      FIX:
      Open /includes/functions_install.php
      Find

      		$error[] = $lang['INST_ERR_DB_CONNECT'] . '<br />' . (($db_error['message']) ? $db_error['message'] : $lang['INST_ERR_DB_NO_ERROR']);
      

      Replace with

      		$error[] = $lang['INST_ERR_DB_CONNECT'] . '<br />' . (($db_error['message']) ? utf8_convert_message($db_error['message']) : $lang['INST_ERR_DB_NO_ERROR']);
      

        Attachments

          Activity

            People

            • Assignee:
              nickvergessen Joas Schilling
              Reporter:
              Skouat Skouat
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: