MANTIS file upload

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
failed_1903
Posts: 3
Joined: 02 Nov 2007, 14:48

MANTIS file upload

Post 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 ?? :(
deboutv
Posts: 507
Joined: 15 Jan 2007, 14:31
Location: La Ciotat, FRANCE
Contact:

Post by deboutv »

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
yanual
Posts: 1
Joined: 13 Aug 2007, 12:55
Location: Near PARIS, FRANCE

Re: MANTIS file upload

Post 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
zakman
Posts: 18
Joined: 04 Mar 2007, 21:16
Location: Cairo, Egypt

Re: MANTIS file upload

Post by zakman »

What is upload method you are using to store your files?
DATABASE, FTP, or DISK?
Best Regards,
ZakMan
failed_1903
Posts: 3
Joined: 02 Nov 2007, 14:48

Re: MANTIS file upload

Post by failed_1903 »

hello. I tried the upload to database and to disk.
zakman
Posts: 18
Joined: 04 Mar 2007, 21:16
Location: Cairo, Egypt

Re: MANTIS file upload

Post 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
Best Regards,
ZakMan
failed_1903
Posts: 3
Joined: 02 Nov 2007, 14:48

Re: MANTIS file upload

Post by failed_1903 »

sorry, but this entry doesn´t change anything, the upload doesn´t work :(
Tinjaw
Posts: 24
Joined: 06 Oct 2005, 16:23
Location: Kansas City, MO
Contact:

Re: MANTIS file upload

Post by Tinjaw »

Go to http://www.yourmantissite.com/admin/check.php and report what is in the file uploading section.
Post Reply