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

SQL error in MCP moderation queue

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Blocker
    • Resolution: Duplicate
    • 3.1.0-dev
    • 3.1.0-a1
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: