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

SQL error in MCP moderation queue

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • 3.1.0-a1
    • 3.1.0-dev
    • None
    • None
    • PostgreSQL

      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.

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

              Created:
              Updated:
              Resolved: