Comment to 'Upload limit for profile pics'
  • can you share your dashboard site audit?

    Mine looks like,

    PHP:

    • version = 7.4.3-4ubuntu2.18 - OK
    • allow_url_fopen = On - OK
    • allow_url_include = Off - OK
    • magic_quotes_gpc = Off - OK
    • memory_limit = 1 GB - OK
    • post_max_size = 20 MB - OK
    • upload_max_filesize = 20 MB - OK
    • register_globals = Off - OK
    • safe_mode = Off - OK
    • disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, - OK
    • php module: curl = curl - OK
    • php module: gd = gd - OK
    • php module: mbstring = mbstring - OK
    • php module: json = json - OK
    • php module: fileinfo = fileinfo - OK
    • php module: zip = zip - OK
    • php module: openssl = openssl - OK
    • php module: exif = exif - OK

    Site optimization

    PHP:

    • PHP accelerator = APC - OK
    • PHP setup = fpm-fcgi - OK

    MySQL:

    • key_buffer_size = 384 MB - OK
    • max_heap_table_size = 16 MB - OK
    • tmp_table_size = 16 MB - OK
    • thread_cache_size = 8 - OK
    • Hello @Nurf !

      You may try to run the following query in your UNA database:

      UPDATE `sys_objects_storage` SET `max_file_size`='new size in bytes' WHERE `object`='bx_persons_pictures';

      (the size in Bytes is equal to the [N*1024*1024] value, where N is the up limit in Megabytes)

      • would this affect profile picture upload size? I've noticed even this website (una.io) doesn't have that limit either. (I would never actually press upload, but everything seems reproduceable here.) I want users to be able to post up to 25mb per file, but profile pics to 1.5mb. if you know which file I'd need to modify for that, it would be pretty cool.

        what you sent looks like it would affect everyone and everything(?)

        • Yes, updated my post. Thnx for notice!