CodeIgniter Forums
Multiple Image Upload Problems - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Multiple Image Upload Problems (/showthread.php?tid=22709)



Multiple Image Upload Problems - El Forum - 09-18-2009

[eluser]dennismonsewicz[/eluser]
I did a google search on a CodeIgniter plugin that uses jQuery and does multi image uploading and I found one here: http://www.mitesdesign.com/blog/open-source/multi-upload-jquery-code-igniter

I followed the instructions he has, but I cannot get any errors to dump out

Code:
$config['upload_path'] = '/path/to/dir/';
            $config['allowed_types'] = 'mp3|m4a';
            $this->load->library('upload', $config);
            $this->load->library('Multi_upload');
        
            if($this->upload->display_errors()) {
                $this->session->set_flashdata('audio_error', $this->upload->display_errors());
                redirect('/profile/main');
            } else {
                $this->multi_upload->go_upload();
                $this->session->set_flashdata('audio_success', 'Files uploaded successfully!');
                redirect('/profile/main');
            }

I have tried everything and cannot get errors to occur... Any help is GREATLY appreciated! Thanks!


Multiple Image Upload Problems - El Forum - 09-18-2009

[eluser]dennismonsewicz[/eluser]
bump