⚠ 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

file upload abort msg



Christophe Conduché
  • profile picture
  • Member

Posted 19 April 2013 - 15:38 PM

hello ! what to check when getting the "abort" message ?


 



    $this->grocery_crud->set_field_upload('fichier','assets/uploads/files');

 

 

I get an abort message. I have changed the config first obviously as i need to upload csv

 

 

    $config['grocery_crud_file_upload_allow_file_types']         = 'csv';

 

My folders are there and writable (I had been able to upload pdf files from a sample). Now I try to upload the csv file I need to process with a function that will be in the after_upload callback, but first I have to get the file on the server, and I get this "abort" message not easy to debug.

 

What should be the type of the database field ?  I have Varchar 500 for the field "fichier" is it ok ?

 

 

 


Christophe Conduché
  • profile picture
  • Member

Posted 19 April 2013 - 15:57 PM

for info, topic solved...

 

the assets folder and its subfloders even if having 777 rights was not own by the webserver, but by me as a linux user.

chown -R www-data assets fixed this...