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

Schema upgrade fails in 3.2.1 when using SQL Server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 3.2.2-RC1
    • 3.2.1
    • Update system
    • PHP 7.1.6 X64, MSSQL 2012 R2, Windows Server 2012 R2

      When running the current 3.2 code on SQL Server, and attempting to do schema upgrades during an update, the upgrade process fails silently with no error message - it just stops.

      Investigating error logs, I found in /phpbb/db/tools/mssql.php two references that are incorrect, and cause schema changes to fail. 

      Lines 524 and 544 contain this code:

      if ($this->is_sql_server_2000())

      The code should be:

      if ($this->mssql_is_sql_server_2000())

            Marc Marc
            gsmaclean gsmaclean
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: