Problems, need help? Have a tip or advice? Post it here.
5 posts Page 1 of 1
Hi

Where are the settings I need to change if I want to allow a higher maximum size for uploads to a gallery? These days, 2MB is far too small to be useful.

I've changed the settings in couch/includes/fileuploader/config.php and in couch/includes/plupload/upload.php, but that hasn't made any difference.

TIA
David
Hi :)
Try to use this:

includes/fileuploader/config.php - Line 50
Code:
Code: Select all
$Config['k_max_upload_size'] = '2'; //Size in MB. Set to '0' to allow any size

includes/plupload/upload.php - Line 164
Code:
Code: Select all
max_file_size : '20mb',

includes/timthumb.php - Line 49
Code:
Code: Select all
ini_set('memory_limit', "256M");
Thanks, but the limit is still there. :(
@dmore54,

I double checked by making the three changes suggested by @trendoman on a fresh Couch install and could increase the upload limit from 2 to 12 MB.

Can't see any reason why the changes are not working for you.

Are you getting any kind of error message?
How big are the images you are trying to upload?
Perhaps your installation of PHP is running out of memory trying to handle the size.

I suggest you change the size to somewhere like 10MB (with the value in 'includes/timthumb.php' to '512') and then try uploading images of this size.

Gradually up the values till you reach a breaking point.
You'll be able to pinpoint the problem this way.

Hope it helps.
OK, I'll give it another try.

I was getting an error message that mentioned memory allocation, but I'll need to repeat the testing to look at it more closely.

Thanks for the help.
5 posts Page 1 of 1