Get KoolPHP UI with 30% OFF!

[Solved] Filies larger tha 1mb never upload!!

Abraham
as i said during my insert or edit phase i have to upload pictures and if the picture is larger than 1mb i wont upload, the file column uploader hangs for ever!!!
my php.ini is configured as
Upload_max_filesize = 64M
post_max_size = 64M
my file colum is like:
/**
* 
* @ columna del file uploader;
* 
*/
$kul = new KoolUploader('');
$kul->width=100;
$kul->maxFileSize = 1024*1024*20; //20M
echo $kul->RegisterScript(false);
$column1 = new GridFileColumn();
$column1->DataField = "attachedfiles";
$column1->HeaderText = "Attached files";
$column1->KoolUploaderFolder = $KoolControlsFolder . "/KoolUploader/";
$column1->AllowedExtension = "jpg";
$column1->BaseDirectory = '.';
$column1->TableName = 'tbl_item_fotos';
$column1->IdColumn = 'id';
$column1->MultipleUpload = true;
$column1->AllowDelete = true;
$column1->AllowEdit = true;
$grid->MasterTable->AddColumn($column1);
$kulhandle = new KoolUploadHandler();
$kulhandle->allowedExtension = "jpg";
$kulhandle->allowDelete = true;
$kulhandle->allowEdit = true;
echo $kulhandle->handleUpload();
Posted Apr 4, 2017 , edited Jul 7, 2017 Kool
Anthony Amolochitis
What is the error message reported?
Did you write an upload handle to handle the server side uploading as well?
Posted Apr 10, 2017 Kool
Abraham
well i got the error 413 so i did lots of researches and then conluded to solve this issue by editing http part of
/etc/nginx/nginx.conf
and adde the line:
http {
      client_max_body_size 64M;         
}
Posted Apr 11, 2017 Kool