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

sql_config_count() artificially limits number scope to 4byte-integer on PostgreSQL and Firebird

    Details

      Description

      I get an error

      Value '6185080811' is out of range type integer.

      Problem is here in functions.php funktion set_config_count
      line 182.

      int4 for postgresql are only up to 2147483647. If the sum of the uploaded files(size) is over these limit, i get the described error.
      No problem if im under 2 GB as filesize in summary, but im already arround 6 GB

      I fixed it with changing int4 to int8

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bantu Andreas Fischer
                Reporter:
                ithierack ithierack
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: