Uploaded image for project: 'CMS CONTENIDO'
  1. CMS CONTENIDO
  2. CON-1962

Problem with byte-by-byte post_max_size value

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: CONTENIDO 4.9.4
    • Fix Version/s: CONTENIDO 4.9.5
    • Component/s: Core Code
    • Labels:
      None

      Description

      If user configured his php.ini variable post_max_size with an byte value (i. e. 64242880) instead of a string (i. e. 8M), machineReadableSize() function at functions.general.php deleted the last number. For this example user can only upload files at filemanager with 6.13 mbytes instead of configured 61.3 mbytes. Perhaps we have to change the call of machineReadableSize() because the function works.

      See also related topic on CONTENIDO forum:
      http://forum.contenido.org/viewtopic.php?f=92&t=35327

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                frederic.schneider Frederic Schneider
                Reporter:
                frederic.schneider Frederic Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: