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

DB_TEST: Special chars are not supported.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.0.13-RC1, 3.1.0-RC3
    • 3.0.12, 3.1.0-b2
    • Other
    • None
    • PHP 5.3.23

      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']);
      

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

              Created:
              Updated:
              Resolved: