i try upload a file largen than 2MB and i can`t.. Reproducible: Always Steps to Reproduce: 1. change in php.ini to upload 20MB file: upload_max_filesize = 20M post_max_size = 20M 2. Change in config_inc.php in mantisbt max size upload file: $g_allow_file_upload = ON; $g_max_file_size = 20000000; # 20 MB 2. Try upload file largen than 2MB 3. Got APPLICATION ERROR #401 4. If i try upload file with 1 MB size - no problem working good!! Expected Results: Upload file largen than 2 MB with no problem
Could you be more specific about why this is a Gentoo bug and especially why is it critical? By the limited information you provided it looks more like of a configuration issue on your system rather than a bug in Gentoo. I'd suggest you check out mantisbt's own forums. This exact question has been answered there many, many times over the years for various file size limits and other combinations -- with apache/php running out of memory, mysql having too low max_packet_size, etc (none of which you mention having checked).
Oh, and it certainly isn't critical...
Sorry for criticial i don`t know how i select this. I think there is a problem with mantisbt because i can import a 10MB *.sql file to my phpmyadmin with no problem. So this is not problem with apache/php/mysql. Thanks
Please, increase mysqld max_allowed_packet parameter: http://dev.mysql.com/doc/refman/4.1/en/packet-too-large.html Also take a look here: http://www.futureware.biz/blog/index.php?p=112&more=1&c=1&tb=1&pb=1 And last note: some symbols (I don't have a list for symbols) seems to be escaped during upload. e.g. 0 will be \0 during upload that means that if you try to upload 10M file with 0 it'll became 20M packet during upload.
Interesting i got in my.cnf: max_allowed_packet = 5M max_allowed_packet = 5M and not working when i try upload 2 MB file. I increase to 64MB and working good: max_allowed_packet = 64M max_allowed_packet = 64M Sorry for that. Thanks