Fixing CodeIgniter's Blank Screen of Death

Fixing CodeIgniter

I ran into a problem with CodeIgniter today where I was getting a white screen,  No output; nothing, and I soon found out it has been nicknamed "The White Screen of Death" on some other sites.   After looking over a number of forums I found a bunch of different reasons that could be causing this issue.   However, to my dismay none of them worked!  Finally I ended up reverting to a backed up model I had and it worked.  However I still wasn't certain what was causing this problem until now.

The Solutions

  1. Make sure you do not have duplicate class & function names in your models and controllers.
  2. Make sure you didn't accidentally type a variable without a dollar sign.

There Maybe More

I will update this article in the future if I run into another reason this could be happening.  But in the mean time make sure error reporting is on.  For me that didn't help much...



Add New Comment

No Comments Posted.