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

Unknown column 'topic_logs' in 'where clause' when deleting topic log in MCP

    XMLWordPrintable

Details

    Description

      When I deleted some messages
      I went to the moderators control and after viewing the logs of deleted messages I use the delete function on the logs and received this error

      General Error
      SQL ERROR [ mysql4 ]

      Unknown column 'topic_logs' in 'where clause' [1054]

      SQL

      DELETE FROM phpbb_log WHERE log_type = 1 AND forum_id = 89 AND topic_logs = 861

      BACKTRACE

      FILE: (not given by php)
      LINE: (not given by php)
      CALL: msg_handler()

      FILE: [ROOT]/phpbb/db/driver/driver.php
      LINE: 855
      CALL: trigger_error()

      FILE: [ROOT]/phpbb/db/driver/mysql.php
      LINE: 181
      CALL: phpbb\db\driver\driver->sql_error()

      FILE: [ROOT]/phpbb/db/driver/factory.php
      LINE: 329
      CALL: phpbb\db\driver\mysql->sql_query()

      FILE: [ROOT]/phpbb/log/log.php
      LINE: 407
      CALL: phpbb\db\driver\factory->sql_query()

      FILE: [ROOT]/includes/mcp/mcp_logs.php
      LINE: 143
      CALL: phpbb\log\log->delete()

      FILE: [ROOT]/includes/functions_module.php
      LINE: 674
      CALL: mcp_logs->main()

      FILE: [ROOT]/mcp.php
      LINE: 288
      CALL: p_master->load_active()

      Attachments

        Issue Links

          Activity

            People

              prototech prototech [X] (Inactive)
              wkuzma wkuzma
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: