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

Schema upgrade fails in 3.2.1 when using SQL Server

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.2.1
    • 3.2.2-RC1
    • Update system
    • PHP 7.1.6 X64, MSSQL 2012 R2, Windows Server 2012 R2

    Description

      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())

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: