Codeigniter Shows Blank Page PHP + MySQL + Apache + Windows 7

Recently, I started a new development on one of my laptop running Windows7. I install PHP 5.3.6, Apache 2.2, MySQL 5. I move all the source code that was previously developed based on CodeIgnitor 1.7.

Problem

It shows blank page when I load the site on my laptop's localhost. 

Solution

Well. The solution is farily easy. If Codeigniter can not detect the mod_mysql module in PHP when the page is loaded, it doesn't return any error message.
  • So you need to make sure you enable the mod_mysql in your PHP.ini file.
  • Also make sure your .htaccess file is redirect correctly, if you are using Search Engine Friendly URL. Make sure mod_rewrite module is enable in your Apache httpd.conf file.

It's just that easy! A simple check will save you lots time. 

Blank Page With URL Parameter fb_xd_fragment

I am still not sure why it causes the page to display blank content when someone hit the site with the Facebook social plugin and URL parameter fb_xd_fragment.

Here is the temporary fix to display the content, however, it will disable the Facebook widget.

Problem:
I found this occurring on one of my sites using AddThis - and it affects ALL browsers, not just Internet Explorer. Haven't figured out exactly how or why it happens but the Facebook frame manages to set the parent's element to display: none.
Solution:

Add the following lines to your main style file.

html { 
    display: block !important;
}
Read the original post!