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

DB_TEST: Special chars are not supported.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.12, 3.1.0-b2
    • 3.0.13-RC1, 3.1.0-RC3
    • Other
    • None
    • 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

            nickvergessen Joas Schilling [X] (Inactive)
            Skouat Skouat
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: