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

Schema upgrade fails in 3.2.1 when using SQL Server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.1
    • Fix Version/s: 3.2.2-RC1
    • Component/s: Update system
    • Labels:
    • Environment:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: