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

Deleting marked log entries leads to MySQL Error

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-RC1
    • Component/s: ACP
    • Labels:
      None
    • Environment:
      PHP Version 5.4.19, MySQL 5.5.32

      Description

      Version: phpBB 3.1.0b5 Built #1524

      Going to:
      ACP --> maintenance --> Admin log --> mark one or more log entries --> delete marked (see attachment1)

      Leads to an MySQL Error:

      General Error
      SQL ERROR [ mysqli ]
       
      Unknown column 'Array' in 'where clause' [1054]
       
      SQL
       
      DELETE FROM phpbb_log WHERE log_type = 0 AND log_id = Array AND log_type = 0
       
      BACKTRACE
       
      FILE: (not given by php)
      LINE: (not given by php)
      CALL: msg_handler()
       
      FILE: [ROOT]/phpbb/db/driver/driver.php
      LINE: 748
      CALL: trigger_error()
       
      FILE: [ROOT]/phpbb/db/driver/mysqli.php
      LINE: 176
      CALL: phpbb\db\driver\driver->sql_error()
       
      FILE: [ROOT]/phpbb/log/log.php
      LINE: 421
      CALL: phpbb\db\driver\mysqli->sql_query()
       
      FILE: [ROOT]/includes/acp/acp_logs.php
      LINE: 84
      CALL: phpbb\log\log->delete()
       
      FILE: [ROOT]/includes/functions_module.php
      LINE: 652
      CALL: acp_logs->main()
       
      FILE: [ROOT]/adm/index.php
      LINE: 81
      CALL: p_master->load_active()
      

      (see attachment 2)

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            bantu Andreas Fischer
            Reporter:
            Crizzo Crizzo
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development