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

Unable to create data backup using the mssqlnative DBAL

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Labels:
      None
    • Environment:

      Description

      Attempting to create backup of database using "ACP" -> "Maintenance" -> "Database" -> "Backup" appears to complete, but generated script contains phpBB Debug notices in stead of table data.
      Dumping tables only, appears to work, but dumping data ("Full" or "Data only") inserts the following notices into the script in stead of table data:

      <b>[phpBB Debug] PHP Notice</b>: in file <b>/includes/acp/acp_database.php</b> on line <b>1632</b>: <b>sqlsrv_field_metadata() expects parameter 1 to be resource, null given</b><br />
      <b>[phpBB Debug] PHP Notice</b>: in file <b>/includes/acp/acp_database.php</b> on line <b>1633</b>: <b>sqlsrv_num_fields() expects parameter 1 to be resource, null given</b><br />

        Activity

        Hide
        naderman Nils Adermann added a comment -

        Alright this is working for me now, please give the patch a try and let me know if that fixes the problem for you too.

        Show
        naderman Nils Adermann added a comment - Alright this is working for me now, please give the patch a try and let me know if that fixes the problem for you too.

          People

          • Assignee:
            naderman Nils Adermann
            Reporter:
            kolthor kolthor
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development