Upload File Size

Get help from other users here.

Moderators: Developer, Contributor

Upload File Size

Postby boastingjay » Apr 05, 2012 4:48 pm

Hello,
Just encounted an error when I try to upload a file. I want to increase the file size to for uploads to attach to issues. This works fine up to the supported amount of about 5meg. I tried to edit the php.ini to increase the file size. Also changed the settings in the mantis config defaults from 5000 to 10000. File uplaods work, but still only up to the original size. When I try to upload a larger file size, upon completion it goes to bug_report.php server error. :| Any ideas?
boastingjay
 
Posts: 2
Joined: Apr 05, 2012 4:38 pm

Re: Upload File Size

Postby boastingjay » Apr 06, 2012 9:00 am

I was able to fix this by changing the $g_file_upload_method from DATABASE to DISK. It seems my database settings were limiting the upload file size. I tried FTP as well, but I kept getting the error message that I was unable to connect to FTP even after making the changes in the default config file. I thought I read disk was the same as FTP, so that worked for me. :mrgreen:
boastingjay
 
Posts: 2
Joined: Apr 05, 2012 4:38 pm

Re: Upload File Size

Postby atrol » Apr 07, 2012 8:29 am

For other users with similar problems:
If you want to use database with large attachments you have to increase parameter max_allowed_packet of MySQL.
Please use Search before posting and read the Manual
Use Mantis2Go to try MantisBT on Windows or to reproduce issues
atrol
 
Posts: 3731
Joined: Mar 26, 2008 4:37 pm
Location: Germany


Return to Help

Who is online

Users browsing this forum: Bing [Bot] and 2 guests

cron