MANTIS file upload
Moderators: Developer, Contributor
-
- Posts: 3
- Joined: 02 Nov 2007, 14:48
MANTIS file upload
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 ??
Files are stored in the database?
Want more plugins to customize Mantis?
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
=> http://deboutv.free.fr/mantis/
Mantis: 1.1.0, 1.1.0a2
PHP: 5.0.4
SQL: MySQL 5.0.19
OS: Linux
Re: MANTIS file upload
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
The default value is 1M, you can set it with 16M.
Yann
Re: MANTIS file upload
What is upload method you are using to store your files?
DATABASE, FTP, or DISK?
DATABASE, FTP, or DISK?
Best Regards,
ZakMan
ZakMan
-
- Posts: 3
- Joined: 02 Nov 2007, 14:48
Re: MANTIS file upload
hello. I tried the upload to database and to disk.
Re: MANTIS file upload
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
# Maximum file size that can be uploaded
# Also check your PHP settings (default is usually 2MBs)
$g_max_file_size = 5000000; # 5 MB
Best Regards,
ZakMan
ZakMan
-
- Posts: 3
- Joined: 02 Nov 2007, 14:48
Re: MANTIS file upload
sorry, but this entry doesn´t change anything, the upload doesn´t work
Re: MANTIS file upload
Go to http://www.yourmantissite.com/admin/check.php and report what is in the file uploading section.