Forum for discussing general topics related to Couch.
3 posts Page 1 of 1
is there a limit to the sizes of files you can upload (by default)...seems anything over 2mb isn't allowed.

thanks
aman2187 wrote: is there a limit to the sizes of files you can upload (by default)...seems anything over 2mb isn't allowed.

thanks



Are you using Data bound for upload files? Now I'm not 100% sure about this, but if you use Data bound for upload, I quess you can go into Addons ->Data-bound-form (Maps)

and select the file called "securefile.php" and there can you change size of the file, search for: // validate file size and there can you see they writed $file_size/1024; they are using KB so 1000 = 1MB, so try to change that too 3000 - 4000KB.

But I'm not sure if it's correct, if someone else can answer would be great.
Hi @aman,

@Xtriz3D already mentioned the method to increase the upload limit for 'securefile'.

For normal images and files, you need to tweak the following setting in
couch/includes/fileuploader/config.php (line 97)
Code: Select all
// Maximum permissible size
$Config['k_max_upload_size'] = '2'; //Size in MB. Set to '0' to allow any size.

The bulk-uploader of 'gallery' will require the following setting in
couch/includes/plupload/upload.php (line 109)
Code: Select all
max_file_size : '2mb',

Hope it helps.
3 posts Page 1 of 1
cron