• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
white screen file upload [resloved]

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.

It was my fault !

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

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.