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

Deleting marked log entries leads to MySQL Error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-RC1
    • 3.1.0-dev
    • ACP
    • None
    • PHP Version 5.4.19, MySQL 5.5.32

      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)

            bantu Andreas Fischer [X] (Inactive)
            Crizzo Crizzo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: