View Full Version : Increase limit size of attachmets
chris_psycho
09-10-2008, 10:59 AM
I would like to increase the limit size of attachments from 19.5 kb to higher (eg. 2 mb). May you help me.
Thank you!
Princeton
09-10-2008, 11:16 AM
have you tried: AdminCP / Attachment Manager
NOTE:
2 mb is the default size for most server
if you are on a shared hosting environment - I doubt it will be changed.
if you run your own server - you will need to look into the following
PHP:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
MySQL:
max_allowed_packet
max_packet_size
wait_timeout
You can see your PHP settings in your:
Admin CP / Maintenance / View PHP info
chris_psycho
09-10-2008, 11:30 AM
have you tried: AdminCP / Attachments / Extensions and Sizes
i cannot find this option in Attachments!
Princeton
09-10-2008, 11:34 AM
sorry
1)__ Edit Attachment Type
2)__ Edit "Max Filesize"
chris_psycho
09-10-2008, 11:58 AM
thank u very much...but how can i increase the total limit of all the files uploaded?
Lynne
09-10-2008, 02:28 PM
thank u very much...but how can i increase the total limit of all the files uploaded?
Do you mean the total that user may upload? Usergroup Manager > select the usergroup to edit > Attachment Permissions > Space (in bytes) that a user.... if you set that to 0, then there is no limit.
chris_psycho
09-11-2008, 05:29 AM
Do you mean the total that user may upload? Usergroup Manager > select the usergroup to edit > Attachment Permissions > Space (in bytes) that a user.... if you set that to 0, then there is no limit.
It's zero, but there is a limit! :(
--------------- Added 1221147075 at 1221147075 ---------------
Any help??
Lynne
09-11-2008, 02:35 PM
What limit are you saying there is? A limit of space per user? Or the limit of the size of the attachment? I'm not following what you are saying. (Did you change any of the settings Princeton mentioned?)
chris_psycho
09-11-2008, 02:42 PM
Yes...a limit of space per user! I did what Lynne said, but there is a limit at about 1,5 mb.
Thanks
Lynne
09-11-2008, 02:56 PM
Are the users in any secondary usergroups?
chris_psycho
09-11-2008, 03:06 PM
Yes they are...but administrator,also, cannot upload more than 1,5 mb!
Lynne
09-11-2008, 03:07 PM
Check the limits on the secondary usergroups. If they have a value in that spot other than "0", then that will be the limit.
chris_psycho
09-11-2008, 03:10 PM
No it's 0 too! :(
Lynne
09-11-2008, 03:30 PM
Again I'll ask, did you change the settings Princeton mentioned? If you have a php/mysql setting set to limit the attachment size, then no matter what you do in vbulletin, you won't be able to increase the size limit.
chris_psycho
09-11-2008, 03:58 PM
have you tried: AdminCP / Attachment Manager
NOTE:
2 mb is the default size for most server
if you are on a shared hosting environment - I doubt it will be changed.
if you run your own server - you will need to look into the following
PHP:
max_execution_time
memory_limit
post_max_size
upload_max_filesize
MySQL:
max_allowed_packet
max_packet_size
wait_timeout
You can see your PHP settings in your:
Admin CP / Maintenance / View PHP info
I don't think that these settings are related. These settings influence only how big is the file that a user can upload (eg. no more than 2 mb.), not how much is the total limit of all the files that a user can upload ever.
Lynne
09-11-2008, 05:02 PM
OK, check all these:
vboptions > Message Attachment Options
Attachments > Attachment Manager > check each type to see the size allowed
Attachments > Attachment Permissions > check to see if any of those are edited from default (in red)
Usergroups > Usergroup Manager > select usergroup > Attachment Permissions (check for *every* usergroup)
Those are the only places I can see, besides the php/mysql settings, that would limit the size/amount of the attachments.
Also, note this about the size:
Enter a byte value.
1024 bytes = 1 kilobyte
1048576 bytes = 1 megabyte
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.