PDA

View Full Version : How to increase the attachment size


FReeSTER
04-03-2010, 02:59 PM
Hello all, I have a problem at my site that when I try to upload an attachment to any thread it tells me attachment is too big.

I have edit the Usergroup options to meet my needs but I still get the same error.

Do i need to increase it from some where else

my need is 5mb

thanks

Lynne
04-03-2010, 03:12 PM
You need to change the size in the Attachment Manager. And, depending on your server setup, you may need to tweak some settings in php.ini and my.cnf.

FReeSTER
04-03-2010, 05:01 PM
Hi lynne, thanks for the reply.

I did it in the Admin menu you specified above but Im only allow to upload 4294967295bits and I dont know where to find those other options in the FTP

Lynne
04-04-2010, 03:14 PM
That's .5 GB, so you should be fine there.

What exactly do you have for settings in your attachment manager? And how about in your config.php file? And what is the exact error message? Is there an error in the error_logs also?

FReeSTER
04-05-2010, 11:27 AM
Hi Lynne, thank you for all the help. I dont get any errors but a warning is showing. The settings in the attachment manager for rar and zip are the same like you will see in the attachment here below.

I did increase the size for rar and zip but when i save it those are the maximum size the forum allow

Check the attachment popup please

Videx
04-05-2010, 11:29 PM
Maybe it's just an error in your attachments, but the config on the left is for .rar files, and the error on the right is for .zip files. Anyway, have you checked under Attachment>Permissions also?

FReeSTER
04-05-2010, 11:46 PM
Maybe it's just an error in your attachments, but the config on the left is for .rar files, and the error on the right is for .zip files. Anyway, have you checked under Attachment>Permissions also?

the settings for rar and zip are the same, now that you mention the permisions i check to see any abnormality lol and is fine just like the settings above.

Videx
04-06-2010, 12:46 AM
I don't have any more ideas then. Maybe there's a bug somewhere. When we have to upload really large files we don't attach them anyway, we just upload them somewhere and link to them.

Looking at mine just now I see the largest I have allowed is 100k. In fact, they're all 100k except for Admin/pdfs which are 200k.

Edit: But, as Lynne pointed out, on my Admin main page it tells me "PHP Maximum Upload Size 2.00 MB". This is a server setting and on a shared server it's unlikely I'll ever get it to be larger.

Lynne
04-06-2010, 02:03 AM
It could be a mysql or php setting then.

These settings may also effect your attachments:

PHP Settings:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
max_input_time

MySQL Settings:
max_allowed_packet
max_packet_size
wait_timeout

FReeSTER
04-06-2010, 02:35 AM
ok will check and let you know