⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

multiple file upload



Peter
  • profile picture
  • Member

Posted 27 July 2014 - 09:19 AM

Dear all, I  have  started to use latest version of GC from last week , I had gone through many examples available on site, I found it very handy and user friendly.... now I would like to know how to enable multiple file uploading  I tried like this, at present I can upload only one file.. :(

 

This is what I have tried so far

$crud->set_field_upload('link','assets/uploads/files');

Though its uploading file to folder but it does not appear when I click view button after successful upload, and didn't find documentation regarding multiple file upload

 

Please guys help...

 

I tried code in this post also /topic/1912-updated-30072013-multiple-uploading/

 

 

1. created empty file in application/controllers/uploade.php, and copied code posted by victor

2. created table for schema given

3.  changed this variable value  to

 protected $path_to_uploade_function = 'application/controllers'; 

4.  modified 

assets/grocery_crud/themes/flesxigrid/js/flexigrid-add.js

5. fixed string related syntax error in victors code, line number 125 and 132 it was just quoting issue...

 

6. finally i could see table rendered but it was not uploading anything

 

if anyone is having working copy please share


Peter
  • profile picture
  • Member

Posted 03 August 2014 - 07:43 AM

Please someone help me 


victor
  • profile picture
  • Member

Posted 04 August 2014 - 11:45 AM

Which errors do you get when you trying to upload a file? 


Peter
  • profile picture
  • Member

Posted 04 August 2014 - 15:59 PM

I am not getting any error, its not showing what is uploaded in view, and its not even uploaded to upload directory in assets


victor
  • profile picture
  • Member

Posted 05 August 2014 - 16:54 PM

learn how to debug php application before


Peter
  • profile picture
  • Member

Posted 14 August 2014 - 11:09 AM

I have uploaded uplode.php in my first post please look into it


Peter
  • profile picture
  • Member

Posted 15 August 2014 - 07:48 AM

Please someone help me... I came to this forum with lots of hopes but no luck none is helping me....


victor
  • profile picture
  • Member

Posted 15 August 2014 - 23:22 PM

Which error do you get while file uploading?