![]() |
Error when try to upload empty file - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: Error when try to upload empty file (/showthread.php?tid=86839) |
Error when try to upload empty file - ngatcharius - 02-20-2023 Hi family this error since yesterday trying to upload empty file inside my form I think the problem is here inside the controller. Need help please. Code: $img = $this->request->getFile('userfile'); PHP Code: // Validation Inside the controller PHP Code: $img = $this->request->getFile('userfile'); Inside the view PHP Code: <?php $attributes = array('class' => 'uk-form uk-form-stacked uk-grid-small', 'uk-grid' => TRUE); ?> Here is the error I have after submit form. I have data in my database but still have this message ![]() RE: Error when try to upload empty file - mylastof - 03-29-2023 no option "permit_empty" for files validation RE: Error when try to upload empty file - kenjis - 03-30-2023 It is a bug in Kint. Upgrade CodeIgniter. |