Page 1 of 1
MANTIS file upload
Posted: 02 Nov 2007, 14:57
by failed_1903
I have trouble with the uploading of attachments while creating a new issue in the mantis-database. small files work, but files >1MB are not uploaded and sometimes the browser shows an error-page and sometimes there is only a blanc window. Can anybody tell me what I can do to correct the problem ??

Posted: 02 Nov 2007, 16:37
by deboutv
Files are stored in the database?
Re: MANTIS file upload
Posted: 04 Nov 2007, 08:38
by yanual
If you store your file in Mysql Database you must to increase max_allowed_packet in the mysql file configuration.
The default value is 1M, you can set it with 16M.
Yann
Re: MANTIS file upload
Posted: 05 Nov 2007, 10:49
by zakman
What is upload method you are using to store your files?
DATABASE, FTP, or DISK?
Re: MANTIS file upload
Posted: 05 Nov 2007, 11:53
by failed_1903
hello. I tried the upload to database and to disk.
Re: MANTIS file upload
Posted: 05 Nov 2007, 12:06
by zakman
Ok, Try to set $g_max_file_size in your config_inc.php file
# Maximum file size that can be uploaded
# Also check your PHP settings (default is usually 2MBs)
$g_max_file_size = 5000000; # 5 MB
Re: MANTIS file upload
Posted: 05 Nov 2007, 12:27
by failed_1903
sorry, but this entry doesn´t change anything, the upload doesn´t work

Re: MANTIS file upload
Posted: 05 Nov 2007, 17:22
by Tinjaw
Go to
http://www.yourmantissite.com/admin/check.php and report what is in the file uploading section.