CodeIgniter Forums
Cant get this uploader plugin to work - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: Cant get this uploader plugin to work (/showthread.php?tid=61618)



Cant get this uploader plugin to work - alexandervj - 04-30-2015

I'm building a small database application with some jquery plugins and cant get the uploader tool to work. The page can be seen here...
http://apps.trilumina-temp.com/dev_database/part_details_edit/1/1/1

and the plugin page is here...
http://blueimp.github.io/jQuery-File-Upload/

do_upload is being passed the file.  The response, however is some HTML, not some JSON.


I think that means theres a  bug in the codeigniter program program.

I was following these instructions on getting the plugin to work with codeigniter, ...
https://github.com/blueimp/jQuery-File-Upload/wiki/jQuery-File-Upload-9.5-with-CodeIgniter-2.1.4

and it worked as in instructions but I took the do_upload function and put it in a different controller and the content from the upload view and put it in the part_details_edit view and now it keeps giving me errors. Any help you can give is much appreciated