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 :
error_reporting = E_ALL | E_STRICT
display_errors = On
When we place CodeIgniter as subfolder in localhost environment, it will have some problem with URL rewrite. For example, i have http://localhost/codeigniter. So, if we using default tutorial on CodeIgniter without carefully then it will throw us into “blank page” and without any error.
Configuring Codeigniter for subfolder is easy. Here the steps :
1. Create .htaccess at root instalation folder
Combine Zend Framework with Codeigniter will give great result and cutting development time. Intergrating Zend Framework into CodeIgniter 2.0 is very easy. First, you download new Zend Framework here . After downloading, unpack it package and get Zend folder. Put this Zend folder into app/libraries in CodeIgniter.
Then, we create Zend libraries :
When page load, WordPress will doing cron stuff. This meaning, every page load by visitors, WordPress always checking what task in cron queque. If you curios how cron is working on WordPress, see this :
-contains the action hook to the function wp_cron()
-contains functions that perform cron related tasks, including the wp_cron() function
-above functions make http request to wp-cron.php
-actually does the schedule checking and executes anything as needed.
So, to disable cron in WordPress, you should define DISABLE_WP_CRON in wp-config.php.
Disabling comments in WordPress 3.2 is not different as old wordpress version before. But for new guy at WordPress, it’s confusing. Actually, new WordPress hiding several option like revision, author and discussion which have disable comments feature.
So, before we can disable comments, we should show this menu in our editing Post or Page. Go to top right corner ( When you editing Post or Page ) and click “Screen Options”. There will be several options there. Click on “Discussion”. Then, scroll on bottom page and you will see option for enable / disable comments & trackbacks.
You can also switch on another Screen options like Author, slug, revisions , Excerpts and else.