Welcome Guest, Not a member yet? Register   Sign In
Blank Page After a File Upload


I just finished my development website.

Everything work like a charm.

But when I upload it online on a production server I realize that after a file upload CodeIgniter sent me a blank page.
Is that really weird.

- The directory exist

- The permissions are good

- No error returned

I saw that problem sometimes on Stack but no Solutions.
Any suggestions ?


you could provide more information ...

Turn on php error reporting or have a look at the php error logs.

(This post was last modified: 01-04-2017, 06:23 AM by Jurden.)

There is just a blank page.
I leave the development errors configuration on.

This is the line who lock my script :

PHP Code:
$this->upload->do_upload'picture' ); 

I try to change my permission with filazilla or with this line :

PHP Code:
chmod$path000 ); 

That make me an error :

PHP Code:
   [error] =>

The upload destination folder does not appear to be writable.

I replace it again to 777 (with filezilla) and there is a full blank page again.

PHP Code:
$config['log_threshold'] = 4

Do not generate nothing.


(This post was last modified: 01-05-2017, 02:56 AM by Jurden.)

Ok I just resolved it...
My client don't give me the right php server version and it running below PHP 5.3.7.

The explanation of my invisible problem was :

Upload.php Line 1223 the @ hide the error.


This function do not exist with this version.

If you are hurry uncomment line from 1222 to 1239 and check MIME type by yourself.
But the better way is to upgrade the server PHP version.

Sometimes i faced the similar issues after uploading file and it seems to be empty. Thanks for sharing the solution

Theme © iAndrew 2016 - Forum software by © MyBB