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

SQL error in MCP moderation queue

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Duplicate
    • Affects Version/s: 3.1.0-dev
    • Fix Version/s: 3.1.0-a1
    • Component/s: None
    • Labels:
      None
    • Environment:
      PostgreSQL

      Description

      Going to MCP moderation queue on postgres I get:

      General Error
      SQL ERROR [ postgres ]
       
      ERROR: invalid input syntax for integer: "2, 4" LINE 3: WHERE forum_id = '2, 4' ^ []
       
      SQL
       
      SELECT SUM(forum_topics) as sum_forum_topics FROM phpbb_forums WHERE forum_id = '2, 4'
       
      BACKTRACE
       
      FILE: [ROOT]/includes/db/postgres.php
      LINE: 211
      CALL: dbal->sql_error()
       
      FILE: [ROOT]/includes/mcp/mcp_queue.php
      LINE: 277
      CALL: dbal_postgres->sql_query()
       
      FILE: [ROOT]/includes/functions_module.php
      LINE: 522
      CALL: mcp_queue->main()
       
      FILE: [ROOT]/mcp.php
      LINE: 237
      CALL: p_master->load_active()
      

      I have two forums and I think I granted administrators (full) moderation permissions on each. (The first one was installed by QI, and I assume it did that, the second forum I did myself.)

      3.0 looks OK.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: