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

Validate maximum number of allowed recipients per PM value

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.8-RC1
    • 3.0.x
    • Other
    • None

      I just logged on to my ACP and tried to set a high value (99999999999999999999..) for

      Maximum number of allowed recipients per private message:
      The maximum number of allowed recipients in a private message. If 0 is entered, the board-wide setting is used.

      in User and Groups -> Groups -> Manage Groups -> Administrator

      It gave me this error =
      Warning: error_log() [function.error-log]: Filename cannot be empty in /home/xxxxx/public_html/includes/functions.php on line 3467

      --------------------

      General Error
      SQL ERROR [ mysqli ]

      Out of range value adjusted for column 'group_max_recipients' at row 1 [1264]

      SQL

      UPDATE nsbase_groups SET group_name = 'ADMINISTRATORS', group_desc = 'NS', group_desc_uid = '', group_desc_bitfield = '', group_type = 3, group_desc_options = 7, group_max_recipients = 9999999999 WHERE group_id = 5

      BACKTRACE

      FILE: includes/db/mysqli.php
      LINE: 163
      CALL: dbal->sql_error()

      FILE: includes/functions_user.php
      LINE: 2587
      CALL: dbal_mysqli->sql_query()

      FILE: includes/acp/acp_groups.php
      LINE: 433
      CALL: group_create()

      FILE: includes/functions_module.php
      LINE: 507
      CALL: acp_groups->main()

      FILE: adm/index.php
      LINE: 78
      CALL: p_master->load_active()

      ------------------

      Hope it will be fixed

            rxu rxu
            neonshares neonshares
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: