Mantis upload file greater than 300k issue

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
vlad_chakh
Posts: 2
Joined: 13 Jan 2010, 19:19

Mantis upload file greater than 300k issue

Post by vlad_chakh »

Suddenly attachment > 300k stopped working. It is returning UI error:
APPLICATION ERROR #500
File upload failed. This is likely because the filesize was larger than is currently allowed by this PHP installation.

It works fine for attachments around 300K and less
Unresolved attached files went through Apache and are stored in the var/tmp

PHP 4.3.9
Web Apache 2.0.54
Mantis 1.1.6

Thank you,
Vlad
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis upload file greater than 300k issue

Post by atrol »

Suddenly?
This worked before and no one changed anything?
If yes, try a reboot.
If no:
check $g_max_file_size in config_default_inc.php and config_inc.php
check upload_max_filesize and post_max_size in your php.ini
Please use Search before posting and read the Manual
vlad_chakh
Posts: 2
Joined: 13 Jan 2010, 19:19

Re: Mantis upload file greater than 300k issue

Post by vlad_chakh »

1. I changed Mantis setting to point 'uploaded attachments' to file system. It works fine.
2. Problem was that mysql account has been deleted. I fixed it. Attachment works.

Thank you,
Vlad
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis upload file greater than 300k issue

Post by atrol »

Thanks for reporting the real reason for the problem.
Seems that some error messages of MantisBT could be better than they are ;-)
Please use Search before posting and read the Manual
Post Reply