Upload library - file not uploading - Need help debugging |
Hi guys
I'm having some trouble with the uploading class My config/upload.php Code: $config['upload_path'] = '/home/kike/www/servijus/_files/'; And I'm "debugging" with these lines in my Excelupload controller Code: $this->load->library('upload'); I guess that If upload->data() is called and the values show fine, file upload was correct, right? My problem is that I don't see the file in the "_files" folder, which has chmod 777. Also, disabling "detect_mime" config does not work PS: sometimes I get the The filetype you are attempting to upload is not allowed. message but I have this in config/upload.php Code: $config['allowed_types'] = 'xls|xlsx|csv|ods'; Update: Seems an error related to file_type => "application/cdfv2-corrupt" error that can be seen in the image above. I've created a new excel file from scratch, uploaded, and worked Just wonder how to solve that application/cdfv2-corrupt thing, because the other xls files can be opened correctly
Enrique
https://beza.com.ar |
Messages In This Thread |
Upload library - file not uploading - Need help debugging - by kabeza - 04-13-2015, 08:52 AM
RE: Upload library - file not uploading - Need help debugging - by mwhitney - 04-14-2015, 12:04 PM
RE: Upload library - file not uploading - Need help debugging - by kabeza - 04-14-2015, 12:17 PM
RE: Upload library - file not uploading - Need help debugging - by gadelat - 04-14-2015, 11:35 PM
|