How to fix Codeigniter blank / white page error


Sometimes when we developing our Codeigniter application, suddenly it gave us White of Screen or blank page error. To solve this problem, we need to configure our PHP.ini to show error. So, if you using Ubuntu, go to /etc/php5/apache2/php.ini and edit :

1
2
error_reporting = E_ALL | E_STRICT
display_errors = On


If you still facing blank screen then you should check error.log in apache2 by “tail -f /var/log/apache2/error.log”.

Now you should know what makes Codeigniter have a blank screen page.


Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.