CodeIgniter Forums
white screen file upload [resloved] - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: white screen file upload [resloved] (/thread-9323.html)

white screen file upload [resloved] - El Forum - 06-21-2008

Hi Chaps.

I really hope you can help with this.

Im developing another CI site and still failry new but its getting better.

I am trying to do a very simple file upload which I have working fine on another site but I have no idea every time on this application on submitting the form all I get is the white screen of death.

This only happens after running the $this->upload->do_upload() ie

if ( ! $this->upload->do_upload()):
    $file_error = array('error' => $this->upload->display_errors());
  $file_data = array('upload_data' => $this->upload->data());

Its not uploading the file. All i am getting is a white screen like I say after submitting the form.

If I comment out the upload check the form works perfect.

I have set my error logs to 2 and also set php_flag display_errors 1 in my .htaccess file.

But I am getting no errors.

Ive been at this now for about 4 hours and its just not happening.

I really hope someone can advise so I can bottom this out.

Thank you in advance.

white screen file upload [resloved] - El Forum - 06-22-2008

It was my fault !

white screen file upload [resloved] - El Forum - 06-23-2008

Could you please give just a short explanation for the record? Thanks.

white screen file upload [resloved] - El Forum - 06-23-2008

I had made a slight adjustement in the mimes.php file which caused the error.