Issue uploading image file |
(11-28-2019, 04:53 AM)InsiteFX Wrote: Check your php.ini settings. I did that and it didn't work as well. I changed the path to './Adverts/'. My troubleshooting shows that it is not working cos when i commented out the do_upload with the conditional statement, the data was inserted in the database. See the HTML form <form id="ajax_form" enctype='multipart/form-data' name="ajax_form" class="form-horizontal" method="post" action="<?php echo base_url(); ?>advert/create"> The Controller $this->load->helper(array('html','form','url')); $this->load->library('form_validation'); $this->load->library('pagination'); $this->load->library('session'); I dont know why it is not uploading the image file to the destination folder. Hope my .htaccess is not preventing that? Cos in my code, it is showing that it is not uploading the image file. That is where it fails. Thank you in advance for providing help. |
Messages In This Thread |
Issue uploading image file - by olammieconcept - 11-27-2019, 09:06 PM
RE: Issue uploading image file - by ciadmin - 11-27-2019, 10:55 PM
RE: Issue uploading image file - by olammieconcept - 11-28-2019, 12:18 AM
RE: Issue uploading image file - by InsiteFX - 11-28-2019, 04:53 AM
RE: Issue uploading image file - by olammieconcept - 11-28-2019, 02:07 PM
|